Originally Posted by
oldfred
You have to have removed any folder in efi partition.
Then use efibootmgr to remove extra entries in UEFI menu.
# from liveDVD or flash booted in UEFI mode and use efibootmgr
modprobe efivars
sudo efibootmgr -v
ls /sys/firmware/efi/vars
The "-v" option displays all the entries so you can confirm you're deleting the right one, and then you use the combination of "-b ####" (to specify the entry) and "-B" (to delete it). Examples #5 is delete:
http://linux.dell.com/cgi-bin/gitweb...README;hb=HEAD
http://software.intel.com/en-us/arti...and-scripting/
Thanks Oldfred.
Code:
xubuntu@xubuntu:~$ sudo efibootmgr -v
BootNext: 0004
BootCurrent: 0008
Timeout: 1 seconds
BootOrder: 0002,0001,0004,0008,0009
Boot0001* ubuntu HD(2,96800,32000,164d7e13-5a38-4ab7-a0c1-953381850faa)File(\EFI\ubuntu\shimx64.efi)
Boot0002* Windows Boot Manager HD(2,96800,32000,164d7e13-5a38-4ab7-a0c1-953381850faa)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.}....................
Boot0004* Network Card BIOS(6,0,00)IBA GE Slot 00C8 v1327.
Boot0008* INTERNAL EFI SHELL: USB Flash Memory ACPI(a0341d0,0)PCI(1d,7)USB(2,0)HD(1,3e,3ba6a6,0008250a)File(\EFI\BOOT\BOOTX64.EFI)
Boot0009* Hard Drive BIOS(2,0,00) USB Flash Memory1.00.
xubuntu@xubuntu:~$ efibootmgr -b 2 -B
efibootmgr: Boot entry 0002 not found
efibootmgr: Could not delete boot variable: Permission denied
xubuntu@xubuntu:~$ sudo -i
root@xubuntu:~# efibootmgr -b 2 -B
BootNext: 0004
BootCurrent: 0008
Timeout: 1 seconds
BootOrder: 0001,0004,0008,0009
Boot0001* ubuntu
Boot0004* Network Card
Boot0008* INTERNAL EFI SHELL: USB Flash Memory
Boot0009* Hard Drive
root@xubuntu:~# efibootmgr -b 1 -B
BootNext: 0004
BootCurrent: 0008
Timeout: 1 seconds
BootOrder: 0004,0008,0009
Boot0004* Network Card
Boot0008* INTERNAL EFI SHELL: USB Flash Memory
Boot0009* Hard Drive
root@xubuntu:~#
Just a reminder ... have to be in root for it to work.