I have a boot problem on my laptop (HP ProBook 450 G2) since I tried to replace the pre-installed Windows 7 by Xubuntu 14.04. The BIOS uses the UEFI boot mode (but trying the "Legacy" boot mode does not make things any better).
Whatever I try, I cannot manage to make it find by itself the way to the root partition. It just says :
"BootDevice Not Found Please install an operating system on your hard disk. Hard Disk - (3F0)"...
My Xubuntu root is however correctly installed since I can manage to boot on it if I each time (on boot) navigate myself correctly through BIOS boot options :
I choose "Boot From EFI File", then
"Acpi(PNP0A03,0)/Pci(1F|2)/Sata(Port 0)/HD(Part1,Sig81D20AD3-C00E-47C2-ACEC-BC1F51"
,
then "EFI"
,"ubuntu"
, and "grubx64.efi"
, and then it manages to reach grub, and finally succeeds booting Xubuntu.
Choosing shimx also leads to boot on my xubuntu root partition.
But rebooting and letting it do by itself fails with the above message.
I heard about the "secure boot"
option having to be disabled, and it seems to be the case.
My partitions are organized as follows :
/dev/sda1 fat32 121MB boot
/dev/sda2 ext4 465GB root
/dev/sda3 linux-swap 7MB
I tried to re-install grub with boot-repair utility, but it did not change anything.
By the way, here is a boot info summary from boot-repair : http://paste.ubuntu.com/9595800/
Boot-repair always ends up saying "Please do not forget to make your BIOS boot on sda1/EFI/ubuntu/shimx64.efi file!"
, but I don't know what to do else to make it boot on it.
I thought my MBR was maybe corrupted so I erased it with the following dd command :
dd if=/dev/zero of=/dev/sda bs=446 count=1
and then tried to repair the boot again with boot-repair, but still the same result...
I even tried to modify the EFI file and also create a new boot entry, but it did not help. Afterward, here was the status with efibootmgr :
~$ sudo efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000
Boot0000* Notebook Hard Drive BIOS(2,0,00).......................................................................
Boot0001* Notebook Hard Drive BIOS(2,0,00).......................................................................
So I tried again to create a new boot entry in the EFI file :
~$ sudo efibootmgr -v -c -w -L ubuntu_14_04 -l \EFI\ubuntu\shimx64.efi
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0002,0000
Boot0000* Notebook Hard Drive BIOS(2,0,00).......................................................................
Boot0001* Notebook Hard Drive BIOS(2,0,00).......................................................................
Boot0002* ubuntu_14_04 HD(1,800,100000,81d20ad3-c00e-47c2-acec-bc1f51dd12d1)File(EFIubuntushimx64.efi)
...and change the boot order, to boot on the new entry I had just created :
~$ sudo efibootmgr -v -o 2,1,0
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0002,0001,0000
Boot0000* Notebook Hard Drive BIOS(2,0,00).......................................................................
Boot0001* Notebook Hard Drive BIOS(2,0,00).......................................................................
Boot0002* ubuntu_14_04 HD(1,800,100000,81d20ad3-c00e-47c2-acec-bc1f51dd12d1)File(EFIubuntushimx64.efi)
But after a reboot (of course, still navigating through EFI boot options to make it work) :
~$ sudo efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000
Boot0000* Notebook Hard Drive BIOS(2,0,00).......................................................................
Boot0001* Notebook Hard Drive BIOS(2,0,00).......................................................................
Boot0002* ubuntu_14_04 HD(1,800,100000,81d20ad3-c00e-47c2-acec-bc1f51dd12d1)File(EFIubuntushimx64.efi)
It's just like if I had lost the order I had set up.
Any one any idea ?