Restore Grub Boot Loader in your Ubuntu Linux
November 3, 2007
There are many people that have Grub installed as Boot Loader.
Why this simple How-To?

Is possible that you have installed Windows XP in a second partition of your HardDisk and after reboot, your Grub Boot Loader don’t start and you can’t access in your linux box.
Is possible that you have backuped your Linux Ubuntu or Debian as quite Disk Image. Now, after restoring through a Linux Live CD and yours backup files, you have to reboot your system. What appened? No system found! No Boot Loader!! Where is Grub?
I’ve found a simple solution to restore your Grub Boot Loader:
1. Start your System with a Live CD (Ubuntu as well).
2. Open a Terminal Windows to send command in a Shell.
3. Type “grub”
4. Type “root (hd0,2)”, or whatever your HardDisk + BOOT partition numbers are (my /boot is at /dev/sda2, which translates to hd0,1 for grub).
5. Type “setup (hd0)”, ot whatever your HardDisk number is.
6. Quit grub by typing “quit”.
7. Reboot your System.
Your Boot Loader now will start up correctly! Have a fun with your Linux Box










it doesn’t work to my pc. There is a error somthing like “connot mount partition”. So what should i do.?