See this ubuntu appears in BIOS menu (UEFI)
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.
biosbootmenuuefi
See this ubuntu appears in BIOS menu (UEFI)
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.
Best Answer
You should be able to do this via a Live Ubuntu CD.
Install efibootmgr:
Then add to the kernel EFI support
Then run
sudo efibootmgr
to check your boot entries. It will return something like this:Then delete the option you don't 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)
Further details described here: http://linux.die.net/man/8/efibootmgr
Note: as for anything that changes your bootloader, please ensure you have a good disk image that you can boot with.
Now you should also delete the
ubuntu
subdirectory in the EFI partition to prevent the UEFI firmware from restoring the entry into the BootOrder.To do that, first find your EFI partition. Run
sudo fdisk -l
to see the partitions on all attached drives. The EFI partition hasEFI Partition
under the Type column.Suppose your EFI partition was
/dev/sda2
, then mount it on an empty folder anywhere.Now we have to find the directory
Ubuntu
or any other distro's name in this partition. It is mostly underEFI/distro_name
.Remove that directory and its contents by (PLEASE MAKE SURE YOU ARE DELETING THE CORRECT DIRECTORY)
sudo rm -r ubuntu
.