14 May, 2009

How To Reinstall grub in Ubuntu (upto Ubuntu 9.04)

1. Put the ubuntu installation disk in your drive and boot it with the live cd option.
2. Open gnome terminal and type the following commands...

$ sudo grub

~ find /boot/grub/stage1

then the terminal will show you the partitions with stage 1
for the time being let it be the following..

hd(0,5)

~ setup hd(0,5) or ~ install hd(0,5)

3. Exit terminal.

It's the time to restart your system and see the reloaded grub !!!

1 comments:

jiNtU jAcoB on Friday, April 29, 2011 said...

you must add the root (hd0,x) command before the setup command.

also use quit command to terminate the grub editor

Post a Comment

speak out... itz your time !!!

 

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