View Full Version : how do I re-establish GRUB
Hi
I have a dual-boot system with W2K and RH8.0
I need to re-install W2K, it will however overwrite MBR.
My question is:
How do I re-establish the GRUB bootloader.
/Michael
robbie_n
02-26-2003, 12:48 AM
Hi there,
If you grab the Red Hat Rescue Disk that you created at installation, then you can boot into RH 8.0 from this. Then, log in, open a Command Prompt and type:
su [enter]
[your root password] [enter]
/usr/sbin/grub-install /dev/hda [enter]
shutdown -r now [enter]
(and remove the Rescue Disk)
This will:
1. Reinstall GRUB
2. Reboot the system
Another suggestion would be for those who ignored the request to create a rescue disk :shock:
I keep a Knoppix CD. Boot off the Knoppix CD, which will load GNU/Linux and also mount the partitions for you. You can then edit to your hearts content.
qa1433
02-27-2003, 10:27 AM
Thanks guy's! This recently happened to me.
One question however, when installing grub will it still recognize the Windows partition as bootable? Or will I have to edit grub to get it to boot Windows also?
:roll:
vBulletin® v3.7.0 Beta 3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.