1. Boot to the desktop of your Ubuntu Live CD, and open a Terminal window (Terminal is usually in Applications/Accessories).
2. First get to a GRUB prompt. Type:
sudo grub
3. GRUB extends beyond the very small MBR and has different Stages.
Find and note the location of GRUB's Stage 1. Type:
find /boot/grub/stage1
You will be shown the location of Stage1, like (hd0,4)
(if more than one Stage1 is located, you must choose which one to use).
4. Replace the following hd?,? with the location just found. Type:
root (hd?,?)
5. hd0 is the GRUB label for the first drive's MBR (that 0 is a zero). Type:
setup (hd0)
6. Type:
quit
exit
7. Open Partition Editor and right-click the partition where GRUB is setup - usually (hd0).
Select Manage Flags and make sure the Boot flag is ticked for this partition.
8. Exit GParted, and Restart. Remove the CD when it pops out.
Bookmarks