How to reinstall Grub after a win install ?
ckloiber at ckloiber.com
Wed Apr 28 08:08:33 UTC 2004
On Wed, 2004-04-28 at 16:00, yavorsky gaetan wrote:
> For a test I had to install a window$ on my server, on a separate drive
> ( but on the same ctl ).
> Of course, now, the boot loader is the BillGates'one.
> As I previously used the megaraid driver , I couldn't make a FC1 boot disk.
> Running the FC1 CD-1, I can go into rescue mode, and my "old" system is
> mounted on /mnt/sysimage.
> I can acces /mnt/sysimage/boot
> But now ?
# chroot /mnt/sysimage
(make sure /boot is mounted and you see the correct files there)
# grub-install --recheck /dev/hda
Recheck is optional, but I use it to see what grub is thinking.
/dev/hda is typical, but you really want it to be wherever you installed
grub to in the first place (anaconda puts this on the #boot= line in
# exit (gets you out of the chroot)
# exit (should cause the machine to reboot)
More information about the users