PDA

View Full Version : lost the grub loader for RedHat 9.0


balwantskerkar
02-21-2004, 03:44 AM
Hello Everybody!!

I have two OS's on my hard drive.Windows 2000 Pro and RedHat 9.0.Recently I reinstalled my Windows 2000 Pro since I had some problems.However I now find that I dont get the option of booting in Linux which I used to get prior to reinstalling Windows.Some of my friends have told me that I have to reinstall the grub loader.

Can someone please give me a systematic way to reinstall the grub.
Please specify the commands also.

Thank you.

With regards
Balwantskerkar

shanmuga
02-21-2004, 07:55 AM
That's normal. Windows overwrites the master boot record (MBR) with its own bootloader. You'll need to boot to Linux to restore GRUB.If you made a boot floppy during your Linux install, just boot off that. Log in as root after the system boots. Run "grub-install /dev/hda".

GRUB should be working again when the system reboots.

If you didn't make a boot floppy, boot off the first Red Hat installation CD, using "linux rescue" at the initial installation prompt.

http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-rescuemode-boot.html

balwantskerkar
02-21-2004, 08:21 AM
Thanks a lot Shanmuga,

I think you are the only one replying to my queries on the forum.I will try out your suggestions and reinstall the grub loader.I want to learn more about Linux operating system.Can you suggest some good websites where i can get some documentation about Linux.

Thank You

With regards

Balwantskerkar.

john5211
02-21-2004, 02:24 PM
The Linux Documentation Project (http://www.tldp.org/docs.html) is always a good place to start.

Good Luck,
John