-   Linux - Newbie (
-   -   Can't get MDK 9.1 to boot w/GRUB (

snatale1 09-15-2003 05:38 PM

Can't get MDK 9.1 to boot w/GRUB
My main distro is RH9 I did the partitioning and also installed MDK 9.1 to check it out (gotta see what else it out there right)? anywayz I just basically cut and pasted my redhat section and changed the things that stuck out at me. When I select it a boot up it starts to load and then kernel panic. This is my grub.conf what did I do wrong?

title Red Hat Linux (2.4.20-20.9)
root (hd0,0)
kernel /vmlinuz-2.4.20-20.9 ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.20-20.9.img
title Mandrake Linux 9.1 (2.4.21-3)
root (hd0,4)
kernel /vmlinuz-2.4.21-0.13 ro root=/dev/hda4 hdd=ide-scsi
initrd /initrd-2.4.21-0.13mdk.img

This is my partition table did I not do this right maybee?

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 5198 41648512+ 83 Linux
/dev/hda3 9673 9729 457852+ 82 Linux swap
/dev/hda4 5199 9672 35937405 5 Extended
/dev/hda5 5199 5226 224878+ 83 Linux
/dev/hda6 5227 9672 35712463+ 83 Linux

aaa 09-15-2003 06:40 PM

root (hd0,4)=/dev/hda5 not /dev/hda4
The numbers start from 0
should be root (hd0,3)

TheOneAndOnlySM 09-15-2003 06:58 PM

ok, the big problem is that if u did a normal mandrake install, the kernel file will have an mdk at the end of the filename, so it should be named vmlinuz-2.4.21-0.13mdk, but you're going to have to check in your boot directory (also, did u install the boot directory in a separate partition, or is it just in your root partition?)

so your grub.conf should look like this:

# 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,3)
# kernel /vmlinuz-version ro root=/dev/hda6
# initrd /initrd-version.img
title Red Hat Linux (2.4.20-20.9)
root (hd0,3)
kernel /vmlinuz-2.4.20-20.9 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-20.9.img
title Red Hat Linux (2.4.20-19.9)
root (hd0,3)
kernel /vmlinuz-2.4.20-19.9 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-19.9.img
title Mandrake Linux 9.1
kernel /vmlinuz-2.4.21-0.25mdk root=/dev/hda7 devfs=mount hdc=ide-scsi acpi=off
initrd /initrd-2.4.21-0.25mdk.img

if u did install the /boot separately and in the same place as the redhat /boot, then u should not need a command root (0,4) as u can see in the above example; also note the name of the kernel and initrd file; also note the extra commands which u will definitely want to include in your mandrake section because mandrake needs those services to start up; other than that, play around with the root=/dev/hda# until it works, i don't know which

update:::: i think i see what u did, u have a second /boot partition not the same as redhat's, so try keeping in the root (0,4) and do root=/dev/hda6

All times are GMT -5. The time now is 12:51 PM.