This guide tells u how to recover ur Ubuntu OS if ur GRUB is lost by installing Windows aftr u install Ubuntu.
To be more explanative, this guide helps to solve u the following scenario.
To be more explanative, this guide helps to solve u the following scenario.
- you hav windows, u installed Ubuntu aftr tht, then u faced some problems with windows, so u re-installed windows. hmm in such a case, ur GRUB will be overwritten by the new windows boot-loader and u can only boot to windows.
OR ....
- you have ubuntu alredy installed, now u installed windows on ur system. in such a case also, u can only boot to windows, aftr completing the windows installation.
now u want to restore ur Ubuntu, so tht u can bring back ur dual-boot setup again.
Do dis,....
Boot frm ur Ubuntu CD. You will reach the Ubuntu desktop. Open terminal. Typ in the commands following the ">"
> sudo -i
> grub
> find /boot/grub/stage1
now NOTE wats coming as output. THIS IS IMPORTANT.
for me, it came as (hd0,3). so i am continuing with tht output. replace (hd0,3) with the output u got in ur system.
> root (hd0,3)
> setup (hd0) <------- HERE GIVE (hd0) no matter wat u got as output.
> quit
Restart... DONE !
2 comments:
You first need to mount the / partition and chroot in to it, before doing all these things...
no need 2 do it manually, cuz its automatically done when u boot up frm the Live cd...
so ONLY the above mentioned steps are necessary :)
Post a Comment