How to remove Phantom Ubuntu OS option in boot menu
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to remove Phantom Ubuntu OS option in boot menu
Originaly I had Win7 and Ubuntu (Ub) set up OK in dual boot. The Ub was on a seperate drive in its own partition - then the darn drive failed. Without reinstalling Uu I still get it as an option in the dual boot menu. If I do reinstall Ub I end up with a 2nd Ub option. How can I get the boot menu to show Win7 only, so that I can re-install Ub with only 1 entry in the boot table?
I have tried using bootrec.exe from the command line in Win7 recovery mode but that does not fix things.
Not sure what you talk about. Which boot loader are you using? I presume a linux bootloader, ie. grub.
When you have Ubuntu setup you can easily updated the entries for grub in (something like: ) /boot/grub/grub.cfg or /boot/grub/menu.lst (this is for grub 1.) You can edit this file and use the configurations you like.
In this file you should see every bootable configuration for the system, ie. a common ubuntu boot option, windows 7, and (probably ) a failover conifg for ubuntu.
Use your Ubuntu install CD, load it and open a terminal and run the command: sudo fdisk -l (lower case Letter L) and post that partition information here.
I think what he is saying. He did the install inside windows and it wrote to the windows MBR. So when the drive failed windows is giving him the option to boot ubuntu. Thats the problem I have on my wifes computer anyways I neverr figured out how to get it to go away so I never do ubuntu installs inside windows again.
Just to add you might be able to remove it by booting with your windows cd and select windows recover. select windows and type your admin password in and then type fixmbr .
I haven't tested it yet so use it at your own risk. Be sure to back you windows files up
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.