Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Okay, let's see if anybody can help me here. I'll try to be detailed about the issue I'm having. I have redhat 9 installed on my machine, but I just recently bought a nice large hard drive, and I want to give gentoo a spin on it. I added this hard drive to the machine, and went through the installation (we won't discuss the time it took).
Anyway, my new harddrive is ATA 100, so I had to reconfigure the boot order in my BIOS. I'm using grub .94 on my new gentoo hard drive, and I was hoping to add redhat as an option in my new drive's grub.conf. Here is what the original grub file had.
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hda=ide-scsi
initrd /initrd-2.4.20-8.img
But as I said, I changed the boot order in my BIOS, so this would now be hard drive would be hd1, correct? Beause it's not booting right to the redhat hard drive. I added this into my Gentoo drive grub.conf
#See if RedHat can also be booted
title Red Hat Linux (2.4.20-8)
root (hd1,0)
# kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hda=ide-scsi
# initrd /initrd-2.4.20-8.img
kernel /vmlinuz-2.4.20-8 ro root=/dev/hdc1
initrd /initrd-2.4.20-8.img
chainloader +1
I commented out the old information for reference. Well, needless to say, when I try to boot into redhat, grub crashes complaining about some unrecognized command. I've been editing this file in all kinds of different ways through grub, but I just can't seem to get it to work. One of the main questions I have, is this LABEL=/hda=ide-scsi. I'm not sure what to do here, because my gentoo installation mounts the redhat drive as /dev/hdc2 which is the redhat root directory. /dev/hdc1 is the old redhat 9 boot partition. Please help, because I'd love to keep redhat running on this machine as well.
Last edited by statmobile; 08-03-2004 at 09:36 PM.
Originally posted by statmobile I'm not sure what to do here, because my gentoo installation mounts the redhat drive as /dev/hdc2 which is the redhat root directory. /dev/hdc1 is the old redhat 9 boot partition.
So have you tried
title Red Hat 9
root (hd1,1)
kernel /boot/vmlinuz-2.4.20-8 root=/dev/hdc2
I would say the problem started when you changed the BIOS...........
change the BIOS back to what it was before you install gentoo.......and
see if the system boot and too which OS it boots to.........
No dice, I've tried changing the bios back, and that won't work either. I'm not quite sure where that problem comes from.
I also tried those commands in grub.conf, but it's still complaining about an unrecognized command. It looks like it finds the files, but can't seem to execute the code.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.