Re: How to reinstall Grub after a win install ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2004-04-28 at 16:00, yavorsky gaetan wrote:
> Hi,
> 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 ?
> Regards
> Gaetan

# 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
grub.conf).

# exit   (gets you out of the chroot)
# exit   (should cause the machine to reboot)

-- 
Chris Kloiber




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux