I have a system with Ubuntu 15.04 and Windows 10 dual-boot. Everything worked fine with secure boot on. But now it suddenly stopped working and Ubuntu can't boot with secure boot turned on (through shimx64) and just redirects me to windows when I choose that option. I can however turn off secure boot and boot from my grubx64 boot option. There seems to be something wrong with shimx64 but I am not sure.
Here is my output from doing sudo efibootmgr -v
:
BootCurrent: 000D
Timeout: 0 seconds
BootOrder: 0002,0003,000C,000D,0000,0001
Boot0000* P0: ST1000DM003-1ER162 BIOS(11,0,00)
Boot0001* P4: PLDS DVD+/-RW DH-16AES BIOS(13,0,00)
Boot0002* ubuntu HD(1,800,fa000,2c4c3f52-0207-45e5-bd9b-cc48a2e27dcf)File(\EFI\ubuntu\shimx64.efi)
Boot0003* Windows Boot Manager HD(1,800,fa000,2c4c3f52-0207-45e5-bd9b-cc48a2e27dcf)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.}...1...............
Boot000C* UEFI OS HD(1,800,fa000,2c4c3f52-0207-45e5-bd9b-cc48a2e27dcf)File(\EFI\BOOT\BOOTX64.EFI)
Boot000D* ubuntu HD(1,800,fa000,2c4c3f52-0207-45e5-bd9b-cc48a2e27dcf)File(\EFI\Ubuntu\grubx64.efi)
I notice that one of them is \EFI\Ubuntu\grubx64.efi
and the other one is \EFI\ubuntu\shimx64.efi
so there is capital "Ubuntu" for grubx64.efi
and lower-case "ubuntu" for shimx64.efi
. I'm not sure if this might be causing a problem. So here is what I did:
$ cd /boot/efi/EFI/
$ ls
Boot Microsoft ubuntu
$ cd ubuntu
$ ls
grub.cfg grubx64.efi MokManager.efi shimx64.efi
So I saw that there was only one "ubuntu" directory and no "Ubuntu" directory. The "ubuntu" directory looks like it has shimx64.efi
and grubx64.efi
and everything else it needs to boot.
Finally I did sudo boot-repair
and chose "Create Boot Info Summary" and here is the link: http://paste.ubuntu.com/12300679/. I noticed that /EFI/ubuntu/shimx64.efi
was not listed under "Boot files" for sda1. I am not sure what caused it to stop working but it may have been because of an update. Any help is appreciated.