23 February, 2010

Restore Ubuntu After Windows Installation

Do you have a Live cd with you…? Pick one and read the post…

While installing windows after the linux it will overwrite the grub boot loader , So You cannot access Linux partition after Windows Installation.
What u need to recover your system from this problem is Ubuntu LiveCD

First you have to boot your system with a ubuntu LIVECD

Then Open a terminal ( Applications –> Accessories –> Terminal)

Now you can start typing

$ sudo grub

this will give you a new prompt to edit the grub.

Type the command

> find /boot/grub/stage1

This will give you a output like (hd0,2). This will vary depends on your system

> root(hd0,2)

( use your hd number and there is no space between root and (hd0,2)

now type

> setup (hd0,2)

then

> quit

Now you can restart your system…. Ur grub will be ready…. to load ur Ubuntu and windows chain loader

0 comments:

Post a Comment

speak out... itz your time !!!

 

Terminal Diary | techblog Copyright © 2009 Gadget Blog is Designed by jintu jacob Powered by Blogger