Restore grub after installing windows
So you've decided to reinstall windows after installing linux for some reason. Now windows (being the insecure (no pun intended) OS it is, wants complete power, so it automatically boots up to itself. You want to restore grub so you can choose whether to boot linux or windows. Here's a very easy and quick way to do it.
1. Pop in a restore cd that has grub on it (ubuntu has it, knoppix should)
2. Open a terminal
sudo grub
find /boot/grub/stage1
root (hd,?,?) [replace the ? with whatever find /boot/grub/stage1 gives you]
setup (hd0)
quit
3. Restart and grub will magically re-appear
1. Pop in a restore cd that has grub on it (ubuntu has it, knoppix should)
2. Open a terminal
sudo grub
find /boot/grub/stage1
root (hd,?,?) [replace the ? with whatever find /boot/grub/stage1 gives you]
setup (hd0)
quit
3. Restart and grub will magically re-appear
| Rating: | 94% positive, 19 total Votes |
| Categories: | grub linux windows ubuntu restore cd |
| Added: | on Mar 08, 2007 at 4:06 pm |
| Added By: | an anonymous user |


replace root (hd,?,?) with (hd?,?) Sorry for the typo