LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Grub Crashes! (https://www.linuxquestions.org/questions/linux-newbie-8/grub-crashes-89336/)

euwingtham 09-04-2003 05:17 PM

Grub Crashes!
 
You heard me right! It crashes. When I start my computer, it usually loads up Grub, with a selection where I can choose my OS. Just this morning, Grub wouldn't show any splashscreen but just displays, "Grub " in a DOS-kind environment and my motherboard's speaker keeps beeping. I can't do anything but CTRL+ALT+DEL.

I know I'll most probably have to boot my RH9 from the CDs and run Rescue or something, but what is the exact steps? I haven't try it yet cause I dont have the CDs... will get them in 6 hours or so, and I hope someone can give me a reply by then.

Thanks.

euwingtham 09-04-2003 05:21 PM

Just so you know, here are my the details of my HDDs :

HDD1 : Windows XP
HDD2 : Windows XP/RH9

My computer boots Windows XP and only boots RH9 with Grub if I disconnect my HDD1 (or change the boot sequence in BIOS from HDD1 to HDD2 first).

TheOneAndOnlySM 09-04-2003 06:10 PM

ok, pop in your redhat cd 1 (make sure u can boot from cd) and at the boot prompt, type linux rescue

go through the config steps, say continue when it asks to mount your hdd, and at the new prompt (which will have your redhat distro mounted) do the command chroot /mnt/sysimage

now u have full access of redhat
if u haven't modified your grub.conf file, u should have no problem reinstalling grub: use the command
grub-install /dev/hda (or /sbin/grub-install /dev/hda)

from the sounds of it, u installed grub on hdb originally, go ahead and install to hda if u don't want to unplug your hardrives all the time or want to continuously change bios settings

euwingtham 09-04-2003 09:59 PM

Thanks! I managed to fix Grub like how you said... However I still can't get Windows XP to run from Grub. It gives me an error :

Unable to run invalid executable format

Or something like that. My current grub.conf is as follows :

title Windows XP
root (hd0,0)
map (0x81) (0x80)
map (0x80) (0x81)

makeactive
chainloader +1

My Red Hat is on (hd0,1) for some reason. Also just so you know, my Windows XP is in hdb1 and my RH is in hdd1.


All times are GMT -5. The time now is 02:18 AM.