I'm having an issue setting the boot order as I want it to be on my multi boot computer containing Windows 10 - Ubuntu 15.10 - Fedora 23.
Here is what I've done : I use to have only a dualboot with Windows 10 and Ubuntu 15.10 that was working as expected :
- I could configure it, and for example set up a theme.
- I could easily boot on an USBLive.
As I was wanting to try other linux distributions, I've installed Fedora 23.
It occured that Fedora take the power upon the boot. I've first needed to change Fedora boot config, remplacing linux and initrd by linuxefi and initrdefi in order to boot on Ubuntu, as explained here.
I can then access to all of the OS installed on my computer. But I want to give back the boot power to Ubuntu.
So I've first try boot-repair launched from Ubuntu, but it is not efficient.
I've then try to use efibootmgr :
$ sudo efibootmgr
Mot de passe [sudo] pour xavier :
BootCurrent: 0004
Timeout: 2 seconds
BootOrder: 0004,0006,0000,0007,0001,0002,0003
Boot0000* Windows Boot Manager
Boot0001* ubuntu
Boot0002 UEFI: IP4 Qualcomm Atheros PCIe Network Controller
Boot0003 UEFI: IP6 Qualcomm Atheros PCIe Network Controller
Boot0004* Fedora
Boot0006* grub
Boot0007* ubuntu
Then I've tried on both Ubuntu and Fedora to change the order :
$ sudo efibootmgr --bootorder 0006,0004,0000,0001,0007,0002,0003
BootCurrent: 0004
Timeout: 2 seconds
BootOrder: 0006,0004,0000,0001,0007,0002,0003
Boot0000* Windows Boot Manager
Boot0001* ubuntu
Boot0002 UEFI: IP4 Qualcomm Atheros PCIe Network Controller
Boot0003 UEFI: IP6 Qualcomm Atheros PCIe Network Controller
Boot0004* Fedora
Boot0006* grub
Boot0007* ubuntu
But on reboot, the change I've made with efibootmgr don't apply, and if I ask again efibootmgr for the bootorder, it will give me the one with Fedora...
I think the issue may come from differents parameters that I don't really understand such as :
- What is the difference between efi boot, grub and grub2
- What is the impact of the secureboot ?
- What is the legacy boot ?
Thank to anyone that can give me some help to obtain a clean set-up.
EDIT : Rod Smith's answer make me realise that I can obtain more information with the -v argument :
$ sudo efibootmgr -v
BootCurrent: 0004
Timeout: 2 seconds
BootOrder: 0004,0006,0000,0007,0001,0002,0003
Boot0000* Windows Boot Manager HD(2,GPT,e0e2d47c-9086-47d6-b1e5-0ec248d9d6f0,0x12c800,0x96000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...3................
Boot0001* ubuntu HD(2,GPT,e0e2d47c-9086-47d6-b1e5-0ec248d9d6f0,0x12c800,0x96000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0002 UEFI: IP4 Qualcomm Atheros PCIe Network Controller PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(448a5b4783b6,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)..BO
Boot0003 UEFI: IP6 Qualcomm Atheros PCIe Network Controller PciRoot(0x0)/Pci(0x1c,0x3)/Pci(0x0,0x0)/MAC(448a5b4783b6,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0004* Fedora HD(2,GPT,e0e2d47c-9086-47d6-b1e5-0ec248d9d6f0,0x12c800,0x96000)/File(\EFI\FEDORA\SHIM.EFI)
Boot0006* grub HD(2,GPT,e0e2d47c-9086-47d6-b1e5-0ec248d9d6f0,0x12c800,0x96000)/File(\EFI\GRUB\SHIMX64.EFI)
Boot0007* ubuntu HD(2,GPT,e0e2d47c-9086-47d6-b1e5-0ec248d9d6f0,0x12c800,0x96000)/File(\EFI\UBUNTU\GRUBX64.EFI)
Thanks to this post from Rod Smith, I've understand the role of both ubuntu entries. But the grub one, seems to be unwanted as the file doesn't exist :
$ ls -a
. .. Boot fedora Microsoft MSI ubuntu
I should maybe erase it ?
I've then try an different order :
$ sudo efibootmgr --bootorder 0001,0004,0000,0006,0007,0002,0003
But sadly, the changes doesn't work.
Then if I well understand Rod Smith answer, the unique solution is to wipe fedora entry ? That would maybe cause some problems if one day I want to keep only fedora, but until that time, it would allow me to boot on USBLive ?
Thank again !
What really bother me with this actual configuration, is that I can't boot easily on a LiveUSB, and that it appear that I'm not really able to choose how it is configurate...
As you propose, I've use efibootmgr -v to obtain some more information. Therefore I've edited my question, and that would be very nice, if you could, once again, answer it.
– Xavier C. Apr 26 '16 at 16:32