After installing Xubuntu (I have done this several times with several releases: LTS 14.04 and LTS 16.04), all works great: I get GRUB with Xubuntu and Windows options. The problem comes when I boot to Windows. Next time i restart, Windows boots directly.
Grub bootloader is no longer available on UEFI menu and efibootmgr only shows Windows Boot Loader. I have tried plenty of solutions: disabling CSM, disable fast Startup, disabling secureboot, clean installs, installing windows first and then ubuntu, installing ubuntu then windows, using boot-repair, even removing CMOS battery, updating my UEFI, etc, etc, etc.
The only solution i don't want to use is bcdedit
. I did this once and worked, but i messed up ubuntu and ended loosing Windows Boot Loader and reinstalling Windows. I prefer sticking with a virtual machine rather than using bcdedit
.
My motherboard is an Asrock B75 Pro3, which supports UEFI. I'm installing both systems in an SSD (i have 2 HHD but i'm not using them for installation). I installed both systems from USB (using UEFI boot option).
What I have done last:
Fast startup disable (boot on UEFI and Windows), secureboot enable, CSM disable, UEFI boot from USB (both on Windows and Ubuntu), Ubuntu installed first using FAT32 partition with boot and ESP flags for installing GRUB.
Before boot-repair
:
xubuntu@xubuntu:~$ sudo efibootmgr -v
BootCurrent: 0005
Timeout: 1 seconds
BootOrder: 0002,0005
Boot0002* Windows Boot Manager HD(1,GPT,beaa7fdc-aa2d-45de-9ca4-97e5e193f466,0x800,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.}...h................
Boot0005* UEFI: JetFlashTranscend 8GB 1100 PciRoot(0x0)/Pci(0x1a,0x0)/USB(1,0)/USB(3,0)/HD(1,MBR,0x24,0x38,0xeb3fc8)AMBO
The boot-repair
summary is this.
After boot-repair
:
sudo efibootmgr -v
BootCurrent: 0005
Timeout: 1 seconds
BootOrder: 0000,0002,0005
Boot0002* Windows Boot Manager HD(1,GPT,beaa7fdc-aa2d-45de-9ca4-97e5e193f466,0x800,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.}...h................
Boot0005* UEFI: JetFlashTranscend 8GB 1100 PciRoot(0x0)/Pci(0x1a,0x0)/USB(1,0)/USB(3,0)/HD(1,MBR,0x24,0x38,0xeb3fc8)AMBO
After booting to Xubuntu:
sergio@SERGIOLINUXPC:~$ efibootmgr
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0005
Boot0000* ubuntu
Boot0005* UEFI: JetFlashTranscend 8GB 1100
Result: I still get GRUB.
After booting Windows:
BootCurrent: 0005
Timeout: 1 seconds
BootOrder: 0001,0005
Boot0001* Windows Boot Manager
Boot0005* UEFI: JetFlashTranscend 8GB 1100
Result: I lose GRUB.
I did a dual boot UEFI in another computer of mine and I had no problems.
One of the many solutions I tried is this.
I got the same problem than this post, but removing fast startup doesn't show Grub bootloader again, neither on UEFI, neither on efibootmgr.
Thanks for you time and sorry for my english
sudo efibootmgr -v
which will be part of Boot-Repair's summary report. Are you using any Asmedia ports, they cause problems. – oldfred May 22 '16 at 03:37find /boot -name '*.efi'
. – Andrea Lazzarotto May 22 '16 at 17:12