Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

For reasons too long to explain, I reluctantly removed Ubuntu from my computer. After completely removing it and deleting the partition that it was installed onto, I discovered that I still had two Ubuntu entries in the boot order in my BIOS menu. I deleted them by following the instructions in this answer:

http://askubuntu.com/a/63613/54934

As I was doing it, everything appeared to go smoothly. However, upon reboot one of them came back. What's going on here? How do I delete it permanently?

Here is my boot-info URL: http://paste.ubuntu.com/1372806/

I'll gladly provide any other information that may be needed to diagnose the problem.

Thanks.

share|improve this question
    
Please indicate your Boot-Info URL. –  LovinBuntu Nov 21 '12 at 11:05
    
@LovinBuntu I've edited it into the question. –  jimirings Nov 21 '12 at 14:52

2 Answers 2

up vote 0 down vote accepted
  1. Boot on a Ubuntu64bit disk, choose Try Ubuntu
  2. Open a terminal and type the following commands:

sudo mount /dev/sda2 /mnt

then

sudo rm -r /mnt/EFI/ubuntu

then

sudo efibootmgr

This should display your boot entries, each with a number. Eg, if your Ubuntu(/Shim) entries are number 0002 and 0003, you can remove them by typing:

sudo efibootmgr -b 2 -B

then

sudo efibootmgr -b 3 -B

share|improve this answer

What sort of motherboard do you have? (Brand and model, firmware brand?) I've got an ASUS P8H77-I motherboard that has a similar problem -- after I installed Ubuntu, I got two entries in its firmware list, and any attempt to delete either of them resulted in it reappearing after a reboot. I finally cleared the problem by removing all of the firmware's boot entries and then re-creating only the ones that I wanted. It could be that a similar procedure would work for you.

share|improve this answer
    
I'm not sure... How would I go about finding that out? And I'm not sure I'd be entirely comfortable removing all of the boot entries without specific instructions on how to add new ones back in... –  jimirings Nov 20 '12 at 23:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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