Ubuntu Boot Menu Missing After Installing Windows In Dual Boot | Fix Ubuntu Bootloader

by Rohit Khurana on July 17, 2009

Advertisement

Trouble:

Have you installed Windows and Ubuntu in dual boot? If yes, you might have installed Windows First and the Ubuntu, which is a good way of doing it.

In case you have already Installed Windows on your computer, then you have another good options to install Ubuntu inside windows without formatting hard disk using Wubi Installer.

 

But the problem is when you have Ubuntu installed already and then you install Windows on it. On installing Windows on top of Ubuntu, Windows removes the ubuntu boot-loader called grub and replaces it with windows boot loader. In this case, you will not be able to boot into Ubuntu.

 

To fix this issue, we will tell you how to install the ubuntu boot-loader called grub on top of windows boot-loader so that you can boot into windows or ubuntu whenever you like.

Fix:

For this you will need a Ubuntu live CD. Download the ubuntu live CD image from here and burn the CD. You can also order the ubuntu CDs by mail for free, but it will take a few weeks.

 

Follow the below steps :

1. Once you have the ununtu live CD ready, boot your computer with this CD.

 

2. On first menu, select the language > English.

 

3. Select the option called “Try Ubuntu without any change to your computer”. This will launch ubuntu in live mode.

 

Advertisement

4. Once it loads the Ubuntu desktop, go to Menu > Accessories > Terrminal. This will open a prompt window.

 

5. On this prompt window, type command “sudo grub” without the quotes and press enter key. This will show a grub prompt.

 

6. On grub prompt type “find  /boot/grub/stage1” without quotes and press enter key. This will show a output like this one “(hd1,4)” or something like that, note down the output you see on a piece of paper, its very important that u note it correctly else it will mess up the next steps. Lets assume you get something like “(hdx,y)”, where x is hard disk number and y is partition number which varied from computer to computer.

 

7. Now type “root (hdx,y)” without quotes and press enter.

 

8. Now type “setup (hdx)” without quotes and press enter.

 

9. After some processing you will see a message which says “Done”. After this, simply type “quit” and press enter.

 

10. Turn off the Ubuntu live session, remove the CD from CD tray, and your grub will be back. Now you can Run Windows Or Linux from the boot options.

grub bootloader

 

Hope you find it useful and simple.

If you like this article or this article helped you, you can +1 to recommend this article on google plus.

You can follow us on Twitter or join our Facebook Fan Page. If you have a question to ask us, submit your question at Answers By Trouble Fixers.

Looking for something else? Search here :

{ 9 comments… read them below or add one }

dar July 18, 2009 at 3:53 pm

Luvly stuff, Prof RK
-ManyThanks

vinod July 20, 2009 at 3:27 am

hi all,
i installed windows vista os in ‘c’ drive i assigned 20 gb to ‘c’ drive vista os takes around 14 gm now its is showing low disk space.. i need to add some more disk space “from other drives to ‘c’ drive” with out formatting the ‘c’ drives is there any possibility to do like that.

Thanks in advanced

thanks & regards
vinod kumar.p

anthony papa April 16, 2010 at 11:00 am

thanks man!

you solve may problem

Scott October 22, 2010 at 4:44 am

You are the man, thankyou!

joe November 11, 2010 at 10:58 pm

Awesome, that did the trick. Only thing is the old partition still says “Windows XP64 Professional” even though I installed Windows 7 over it. But who cares, I know what it is and things are squared away. Thanks a bunch!

arjun July 5, 2011 at 8:38 am

how to know partition number ? plzzz help me

Aneel October 2, 2011 at 9:28 pm

Okay, I first installed Windows 7 and then installed Ubuntu.
Now, what I want is to get rid of Ubuntu without having to lose Windows 7.
And want the partition used by Ubuntu to be converted into NTFS.
Can anyone be of any help? Please?

Rene March 8, 2012 at 1:30 pm

Typing “sudo grub” on the terminal yields an “unknown command” message thereby preventing me to continue the guide…
I am using Ubuntu 10.10 live CD
It appears the new versions of ubuntu have different commands.

Ibrahim June 21, 2012 at 6:52 pm

Thanks man, I was giving up on Ubuntu when I found your solution.

Leave a Comment

Previous post:

Next post:

© TroubleFixers – All about fixing computer troubles2007-2014 . All Rights Reserved.