Filed under: ubuntu
I was having three operating system in my machine in two hard disks, 1. winXP, fc3 & ubuntu 6.06. while XP & fedora is in Secondary Master(hdc), ubuntu was installed in secondary slave(hdd).
The problem is that ubuntu installed its own GRUB loader in the MBR (of hdc). Since my fedora is crashing often, i decided to re-install it again with minimal set of programs (Desktop edition). During re-installation, it failed to recognize ubuntu GRUB loader, and i chose to install a new grub of fedora, hoping that grub would detect all OS.
But, contrary to my expectation, grub failed miserably. Grub error came on booting.
I again booted in win2000 cd, and restored the MBR using the follwowing command.
C:\WINNT> FIXMBR
it restored windows partition and i was able to use it.
Then I searched in the NET and got to know that i can restore my ubuntu grub by the grub commands.
1. Just boot from Live CD. (choose safe mode, if normal boot up doesnt happen)
2.After bootup, run the following commands in terminal.
for starting grub
#sudo grub
to search for any existing partitions.
#find /vmlinuz
set the root partition for the grub.
#root (hd0,1)
Setup the grub. Chose the same harddisk for grub install, which you have used during installation.
# setup (hd0)
I got back all my partitions back and successfully restored my sytem.
No Comments Yet so far
Leave a comment
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>