Ubuntu 16 cannot boot after a clean install, although boot repair shows fixed - Ask Ubuntu


the boot repair log here. shows fixed successfully, next time when start pc,it's still same.

run sudo grub-install /dev/sda, shows grub-install: error: failed canonical path of /cow.

other info:

  • ubuntu operating system in computer.
  • for command fdisk -l, shows following.
  • sdb1 usb install ubuntu. seems boot installed on usb.

    device         start       end   sectors   size type /dev/sda1       2048    487423    485376   237m efi system /dev/sda2     487424  16488447  16001024   7.6g linux swap /dev/sda3   16488448  76488703  60000256  28.6g linux filesystem /dev/sda4   76488704 976771071 900282368 429.3g linux filesystem /dev/sda5  976771072 976773119      2048     1m bios boot  disk /dev/sdb: 3.7 gib, 4004511744 bytes, 7821312 sectors units: sectors of 1 * 512 = 512 bytes sector size (logical/physical): 512 bytes / 512 bytes i/o size (minimum/optimal): 512 bytes / 512 bytes disklabel type: dos disk identifier: 0x0053722e  device     boot start     end sectors  size id type /dev/sdb1  *     2048 7821311 7819264  3.7g  c w95 fat32 (lba) 

    anyone has ideas? many thanks.

hp not uefi boot friendly. violates uefi specification says not use description part of boot. , of course valid description "windows boot manager". there multiple work arounds.

most hp , dual booting can copy /efi/ubuntu/shimx64.efi /efi/boot , rename shimx64.efi bootx64.efi. should allow boot of fallback or hard drive boot entry. have add new entry uefi.

some hp have way change settings, buried pretty deep.

https://ubuntuforums.org/showthread.php?t=2332681&p=13527216#post13527216

boot-repair copies shimx64.efi bootx64.efi , backs existing bootx64.efi if check 'use standard efi file' in advanced options.

https://help.ubuntu.com/community/boot-repair

if windows operating system can use "windows boot manager" description specify that entry uses shimx64.efi boot.

if esp sda1, see man efibootmgr added parameters when esp not default sda1.

    sudo efibootmgr -c -l "windows boot manager" -l "\efi\ubuntu\shimx64.efi" 

Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User