Here is the efibootmgr -v for your request. BootNext: 0007 BootCurrent: 0006 Timeout: 0 seconds BootOrder: 0006,0001,0000,0002,0003,0004 Boot0000* UEFI Internal Shell FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1) Boot0001* Enter Setup FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(462caa21-7614-4503-836e-8ab6f4662331) Boot0002 Boot Device List FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(eec25bdc-67f2-4d95-b1d5-f81b2039d11d) Boot0003* UEFI ATAPI iHAS124 E 3524665 228416501444 PciRoot(0x0)/Pci(0x1f,0x2)/Sata(2,0,0)N.....YM....R,Y. Boot0004* UEFI ST500DM002-1BD142 Z3THAL0R PciRoot(0x0)/Pci(0x1f,0x2)/Sata(3,0,0)N.....YM....R,Y. Boot0005* UEFI SanDisk Ultra 4C530001310121113460 PciRoot(0x0)/Pci(0x1d,0x0)/USB(0,0)/USB(4,0)N.....YM....R,Y. Boot0006* ubuntu HD(1,GPT,cae6aec2-f305-4006-95b0-8063f692a715,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi) Boot0007* Linux-Firmware-Updater \fwupx64.efi HD(1,GPT,cae6aec2-f305-4006-95b0-8063f692a715,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)\.f.w.u.p.x.6.4...e.f.i...
actually, this patch fixed the commit 3322257e611e2000f79726d295bb4845bbe449e7 for those which load option only have one string won't work. you can simple build a efi application, such as hello.efi, set the bootnext to it as Boot0008* test HD(1,GPT,cae6aec2-f305-4006-95b0-8063f692a715,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)\.h.e.l.l.o...e.f.i... then to check it the hello.efi be run on next boot. To make sure shim works properly or not. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1581299 Title: shim: set second stage not work To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1581299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs