How to restore the Ubuntu grub bootloader (9.04 and older)?
First of all, all credit for this part of the tutorial goes to catlet. I am simply rewriting his tutorial to have all three bootloaders in this tutorial.
So, lets begin. To restore the grub, you must boot off the ubuntu live cd. Any ubuntu live cd will do.
Once there, open a terminal (Applications>Accessories>Terminal) and type this:
Code:
sudo grub
Code:
find /boot/grub/stage1
Now you need to tell Grub where it is installed. Using the output of the last command, change this one and run it:
Replacing and with what you got back before. For example, if "find /boot/grub/stage1" gave me "(hd0,1)", you would run "root (hd0,1)"
Ok, so thats the configuration over and done with. Now we just need to run one command to install the Grub to your hard drive:
Code:
setup (hd0)
Code:
quit
Code:
sudo reboot
Make sure you have taken the live cd out of your disc tray. All going well, you should start back up and see the grub once again.
| < Prev |
|---|






