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

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.

 

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.

Comments

  1. 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

  2. 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!

  3. 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?

  4. 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.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.