LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   grub freezes at booting! help! (https://www.linuxquestions.org/questions/linux-newbie-8/grub-freezes-at-booting-help-61022/)

econfan 05-21-2003 02:05 PM

grub freezes at booting! help!
 
I am new to linux. I just installed redhat9 on a seperate disk of 30gb. Windows xp is on disk C (NTFS) (IDE) with 60gb. The installation is ok. I installed GRUB on MBR. Then reboot, only GRUB shows and freezes right there. Have to ctrl-alt-del to restart and grub freezes again and again. I reinstalled redhat, this time GRUB on the first section, instead of MBR. Still the same thing. Fortunately I have a boot disk, everytime I can use linux, but not windows. I tried to revise grub.conf under /boot/grub/, but still, the same thing happens.

Please help me!

Thank you!

manthram 05-21-2003 02:22 PM

read through the link in this thread which rshaw has pointed out and see if everthing is right accordingly

econfan 05-21-2003 03:03 PM

thanks
 
Thanks,

I'll take a look and report what happens.

econfan 05-25-2003 05:02 PM

problem updated
 
I tried many times, still not working.

My system: Dell 8250 2.4G, hda: 60gb, with windows xp, hdb: 30gb with linux.

First I tried intalling Mandrake 9.1 instead of redhat. Then I chose lilo instead of grub. Now when it boots, just several lines of 7 7 7's showing up, then freezes there.

I can use my grub floppy disk to boot windows xp by:
rootnoverify (hd0,1)
makeactive
chainloader +1
boot

Also when I use this grub floppy disk, when I type:
root (hd1,0)
or root (hd1,1)
It shows that there does not exist such a disk.

And I can use my mandrake floppy boot disk to boot into linux. However, what I really want is a menu from which I can choose which system to boot into, from some hard drive.

Then I downloaded grub, and tried to install it bymyself. Unfortunately, I cannot install it. I am new to linux. ./configure does not work, saying "X11 libraries or header files could not be found. Please make sure the X11 development package is installed on your system.
If it is definitely installed, try setting the include and library
paths with the --x-include and --x-libraries options of configure.
Fvwm can not be compiled without the X11 development environment

Aborting."

Frustrated, please help. Thanks.

aherm 05-25-2003 10:46 PM

If you have rescue CD (I like SuSE linux live-eval CD 8.2) boot from this cd and edit your /boot/grub/menu.lst

Or:
Switch the harddrive: master = linux, windows = slave
Edit /boot/grub/menu.lst

title windows
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1


Have fun :-)

econfan 05-29-2003 08:03 PM

Thanks, I switched the two drives, now linux in /dev/hda, windows in /dev/hdb.

Now linux can boot fine, but not windows. I tried to input by command line grub. But it does not recognize the second hard drive , which has windows on it. It keeps return "Selected disk does not exist". But when I log in linux, I saw hdb right there. device.map has it too.

Please help. Thanks.


All times are GMT -5. The time now is 07:34 PM.