Home > Linux / Unix, Tutorial > Restore GRUB in Ubuntu

Restore GRUB in Ubuntu

Restore GRUB quite simple in Ubuntu, instead going through all the “gain root access” and play with shell commands, you can use the Ubuntu installation CD to restore it without going through all kinds of hassles.

Here are the steps:

  1. Boot your computer up with Ubuntu CD
  2. Go through all the process until you reach “[!!!] Disk Partition”
  3. Select Manual Partition
  4. Mount your appropriate linux partions
    /
    /boot
    swap
  5. DO NOT FORMAT THEM.
  6. Finish the manual partition
  7. Say “Yes” when it asks you to save the changes
  8. It will give you errors saying that “the system couldn’t install …..” after that
  9. Ignore them, keep select “continue” until you get back to the Ubuntu installation menu
  10. Jump to “Install Grub ….”
  11. Once it is finished, just restart your computer

Another way to restore GRUB, for advance users.

  1. Pop in the Live CD, boot from it until you reach the desktop.
  2. Open a terminal window or switch to a tty.
  3. Type “grub”
  4. Type “root (hd0,6)”, or whatever your hard disk + boot partition numbers are (my /boot is at /dev/sda7, which translates to hd0,6 for grub).
  5. Type “setup (hd0)”, or whatever your hard disk number is.
  6. Quit grub by typing “quit”.
  7. Reboot.

Good luck!!!

Categories: Linux / Unix, Tutorial Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: