//burnz.blog

Restore GRUB in Ubuntu

November 23, 2007 · Leave a Comment

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
Tagged: , ,

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment