Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

See this ubuntu appears in BIOS menu

I have this on my Lenovo s205 too.

Is there some way to remove "ubuntu" from the menu? I don't even have it installed anymore.

share|improve this question
you can try easyBCD app for windows. –  RonnieDroid Aug 15 at 17:31
@RonnieDroid EasyBCD is a tool for modifying the boot configuration data in Windows (aka, the Windows bootloader). BCD and UEFI are separate because BCD relies on Windows, while UEFI is OS-independent (still present without an OS installed). Modifying the BCD would be useless because, by default, the only option would be Windows, even if another OS is installed. –  Sil Aug 22 at 1:55

1 Answer 1

You should be able to do this via a Live Ubuntu CD.

Install efibootmgr:

sudo apt-get install efibootmgr

Then add to the kernel efi support

sudo modprobe efivars

Then run sudo efibootmgr to check your boot entries. It will return something like this:

BootCurrent: 0004
Timeout: 2 seconds
BootOrder: 2001,0003,0005,0006,0000
Boot0000* Lenovo Recovery System
Boot0001* EFI Network 0 for IPv6 (B8-88-E3-84-F3-EF)
Boot0002* EFI Network 0 for IPv4 (B8-88-E3-84-F3-EF)
Boot0003* Windows Boot Manager
Boot0004* EFI USB Device (SanDisk)
Boot0005* ubuntu
Boot2001* EFI USB Device

Then delete the option you dont want. In this example, Ubuntu is entry 5. the following could be called to delete entry 5 and remove it from the BootOrder.

(CAUTION: Before executing the following command make sure you enter the correct Boot entry number)

sudo efibootmgr -b 5 -B 

Further details described here:

Note: as for anything that changes your bootloader, please ensure you have a good disk image that you can boot with.

share|improve this answer
UEFI may reinstall entry if /EFI/ubuntu folder not deleted from the efi(ESP) partition on drive. Always best to fully backup efi partition before deleting any files or folders. –  oldfred Apr 6 at 16:47

protected by heemayl Aug 15 at 17:24

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.