Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I have a Gigabyte motherboard. GA-Z77X-UD3H to be specific.

I recently installed Ubuntu and deleted it again, but it still shows up on the UEFI boot option even if I removed all hard drives connected to the motherboard.

So NO hard drives, even CD/DVDs, USB drives connected and I still see the Ubuntu boot option. Any ideas/suggestions?

share|improve this question

marked as duplicate by LiveWireBT, BuZZ-dEE, Eric Carvalho, Lucio, Avinash Raj Feb 16 '14 at 3:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 4 down vote accepted

Boot a Linux emergency disc in EFI mode (the Ubuntu installer in its "try before installing" mode should work). You can then use the efibootmgr utility to delete the unwanted entry. You'll use -v to view the list of options and then a combination of -b and -B to eliminate the ones you don't want:

$ sudo efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0001,0003
Boot0000* rEFInd Boot Manager   HD(1,28,96000,bc34b60c-6611-492f-99b0-d2c37bd77f48)File(\EFI\refind\shim.efi)
Boot0001* fedora    HD(1,28,96000,bc34b60c-6611-492f-99b0-d2c37bd77f48)File(\EFI\fedora\grubx64.efi)
Boot0003* ubuntu    HD(1,28,96000,bc34b60c-6611-492f-99b0-d2c37bd77f48)File(EFI\Ubuntu\grubx64.efi)
$ sudo efibootmgr -b 3 -B

Some EFIs provide the ability to do this in their own user interfaces, too, but details vary greatly from one to another.

share|improve this answer
Thank you very much! This worked perfectly. :) – gvcayetano Mar 6 '13 at 9:08

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