Post

How To Restore Grub In Ubuntu

If you install a dual boot of Windows or Mac OSX on your Ubuntu machine, you may find that your Grub bootloader are wiped out and you can’t boot into any of your OS. If this is the case, the only way is to restore Grub back in your Ubuntu system.

Restoration of Grub is very easy. All you need is the Ubuntu Live CD (you should already have it if you install Ubuntu).

Boot up your live CD
In the desktop, open terminal (Applications -> Accessories -> Terminal).

sudo grub

This will set it to grub mode

find /boot/grub/stage1

This will locate your boot partition. If you already know the location, you can ignore this step.

root (hd0,0)

Replace the (hd0,0) by your boot partition number. If your Ubuntu is installed in the second partition, then change it to (hd0,1)

setup (hd0)
quit

Reboot your system. You should be able to access the Grub bootloader now.

For more technology news, tips and tricks, subscribe to Make Tech Easier today.

Popularity: 8% [?]

 

2 Comments Received

 
meka4996
June 20th, 2008 @2:57 am  

Super Grub Disk rocks! Multi Linux!!
repair restore recover [reinstall] linux GRUB bootloader/menu,
or multi OS/distro multi disks/partitions MBR!
It works on my ubuntu 7.04 in 1 minute!
see their wiki for
“SGD Quick Menu”
“Multi Distribution Boot Howto”
“Boot Problems”
“Howto Fix Grub”

September 27th, 2008 @9:08 am  

[...] How To Restore Grub In Ubuntu [...]

Leave A Reply

Please Note: Comments maybe under moderation after you submit your comments so there is no need to resubmit your comment again