LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   grub problem (https://www.linuxquestions.org/questions/linux-newbie-8/grub-problem-68700/)

jigs 06-28-2003 03:48 PM

grub problem
 
I installed linux on a second hard disk and then tried rebooting the system from that hard drive. The screen freezes and all I can see is GRUB prompt on the screen and can not enter any command. The partitions on my hard disks look like this

hda1 Win2000
hda2 (extended partition ) Win2000

hdb1 /boot 102 MB ext3
hdb2 / 8 GB
hdb3 /swap 1020 MB ext3

I installed grub on the first sector of the partition and not the MBR since I wanted dual boot. Changed the BIOS setup to boot from hard disk 1 (hdb) but the screen shows GRUB and I cant do anything. I read through the forum, inserted the first RH9 installation CD and started linux in rescue mode. That mounted /mnt/sysimage and then rebooted my system but still the same problem.

also my floppy drive is corrupted so I did not make a boot disketter. Is there any way I can boot RH9 without having to reinstall it ?

jailbait 06-28-2003 06:38 PM

Is there any way I can boot RH9 without having to reinstall it ?

The Red Hat install CD will create a boot floppy. Run next door and borrow a working floppy drive and make yourself a boot floppy.

grizzly 06-28-2003 07:35 PM

I am having the same problem, thinking maybe we can tag team this one. I have redhat 7.3 installed. I put grub onto the MBR. I do have two harddrives. I get the same thing we I boot up. The Bios does it's thing, then grub prints to the screen, and that is it. The only thing I can do is restart. I do have an bootup disk, and I have been using that to get it booted. I have been reading all over, and tried to rewrite the .conf file for Grub, and nothing. It just does the same thing. Could anyone help us out with this? Also, is this a redhat problem, or has anyone had problems with this with the other linux versions?

Mike

jailbait 06-28-2003 08:12 PM

"I have been reading all over, and tried to rewrite the .conf file for Grub, and nothing. It just does the same thing"

grizzly,

Have you been issuing grub-install after you change the config file? The config changes do not take effect until you do a grub-install.

http://www.tldp.org/HOWTO/mini/Multiboot-with-GRUB.html"

grizzly 06-28-2003 08:43 PM

I have not ran grub-install. I must have missed that. I am on a single boot system. The multiboot help seems to have more steps than I actually need. I was actually reading the grub manual at:
http://www.gnu.org/manual/grub-0.92/html_mono/grub.html Thank You for posting the link though. I was unaware that grub-install had to be ran. I will try it as soon as I get home.

Mike

grym 06-30-2003 10:12 PM

grub-install
 
grub-install is only neccessary on the initial installation of grub i multi-boot several linux distros and also constantly change grub since i do a lot of kernel testing. i edit grub.conf add new kernels and reboot, no problem. thats one of it's benefits you don't have to run the installer everytime unlike lilo.

please run info grub for more information

jigs 07-01-2003 07:11 PM

grym thanks a lot. But my initial problem is that I didnot install GRUB on master boot record since I didnt want to mess around with exisiting installation. But, I still havent been able to make GRUB load Linux from my second hard drive. I think I can load using a boot floppy but I want to be able to dual boot without using floppy all the time.

Thanks.

grym 09-18-2003 12:16 PM

look here:

http://jaeger.morpheus.net/linux/ntldr.php

You have to do a little adjusting for grub but basically the setup would be the same.

Sorry for the delayed response was going over old mail and just saw your reply


All times are GMT -5. The time now is 02:52 PM.