LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Grub - 'tri-al' boot xp / rh9.0 / mandrake 9.2 (https://www.linuxquestions.org/questions/linux-newbie-8/grub-tri-al-boot-xp-rh9-0-mandrake-9-2-a-129794/)

VincentB 12-29-2003 11:21 AM

Grub - 'tri-al' boot xp / rh9.0 / mandrake 9.2
 
Dear all,

I really need your help !!

On my computer, I had initially installed Windows XP. After that, I installed RED HAT 9.0 and decided to use GRUB.

Here is a copy of the grub.conf file created by RED HAT

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,6)
# kernel /vmlinuz-version ro root=/dev/hda10
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,6)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-24.9)
root (hd0,6)
kernel /vmlinuz-2.4.20-24.9 ro root=LABEL=/
initrd /initrd-2.4.20-24.9.img
title Red Hat 9.0 - NTFS (2.4.20-20.9)
root (hd0,6)
kernel /vmlinuz-2.4.20-20.9 ro root=LABEL=/
initrd /initrd-2.4.20-20.9.img
title Red Hat 9.0 - NTFS (2.4.20-19.9)
root (hd0,6)
kernel /vmlinuz-2.4.20-19.9 ro root=LABEL=/
initrd /initrd-2.4.20-19.9.img
title Red Hat 9.0 - NTFS (2.4.20-18.9)
root (hd0,6)
kernel /vmlinuz-2.4.20-18.9 ro root=LABEL=/
initrd /initrd-2.4.20-18.9.img
title Red Hat 9.0 (2.4.20-8)
root (hd0,6)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title Windows XP Pro
rootnoverify (hd0,0)
chainloader +1


For different reasons I decided to install Mandrake 9.2. I had in mind to use Grub to choose between the 3 Operating Systems installed on my computer.

But unfortunately, the installation of Mandrake detected well the Windows partition but not the Red Hat one. Here is a copy of the menu.lst file generated during the Mandrake installation :

timeout 10
color black/cyan yellow/cyan
i18n (hd1,4)/boot/grub/messages
keytable (hd1,4)/boot/be2-latin1.klt
altconfigfile (hd1,4)/boot/grub/menu.once
default 0

title Linux Mandrake 9.2
kernel (hd1,4)/boot/vmlinuz root=/dev/hdb5 devfs=mount hdc=ide-scsi acpi=ht resume=/dev/hda8 splash=silent vga=788
initrd (hd1,4)/boot/initrd.img

title Linux Red Hat 9.0 - NTFS (2.4.20-20.9)
root (hd0,6)
kernel /vmlinuz-2.4.20-20.9 ro root=LABEL=/
initrd /initrd-2.4.20-24.9.img


title linux-nonfb
kernel (hd1,4)/boot/vmlinuz root=/dev/hdb5 devfs=mount hdc=ide-scsi acpi=ht resume=/dev/hda8
initrd (hd1,4)/boot/initrd.img

title failsafe
kernel (hd1,4)/boot/vmlinuz root=/dev/hdb5 failsafe devfs=nomount hdc=ide-scsi acpi=ht resume=/dev/hda8
initrd (hd1,4)/boot/initrd.img

title Windows XP Pro
root (hd0,0)
chainloader +1

title floppy
root (fd0)
chainloader +1


As you can see it, I have manually added lines (bold) in order to be able to start RH 9.0 but I get a ... kernel panic error when I choose that option.

How do I have to update this last file in order to be able to boot Windows, Red Hat 9.0 or Mandrake 9.2 ?

Thanks a lot for your help and happy new year 2004.

Vincent

ash4stuff 12-29-2003 03:19 PM

hi! just a couple of questions first... can you boot any of the operating systems? can you boot the mandrake system? can you mount the filesistem where redhat is?

have you changed anything in the partition order of any of the disks?
please print out how your hd are partitioned.

:D

aaa 12-29-2003 03:39 PM

What exactly happens at the 'Kernel panic"? Try changing the root=LABEL=/ to root=[your RH rootdev].


All times are GMT -5. The time now is 03:50 AM.