LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-15-2003, 05:38 PM   #1
snatale1
Member
 
Registered: Aug 2003
Location: Richmond, Virginia, US
Distribution: Ubuntu 20.04 / Manjaro
Posts: 439

Rep: Reputation: 48
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?

default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
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
 
Old 09-15-2003, 06:40 PM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
root (hd0,4)=/dev/hda5 not /dev/hda4
The numbers start from 0
should be root (hd0,3)
 
Old 09-15-2003, 06:58 PM   #3
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
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
#boot=/dev/hda
default=4
timeout=10
splashimage=(hd0,3)/grub/splash.xpm.gz
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gentoo : grub: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 03:13 AM
Mdk 2006 - GRUB installation problems iklesteve Mandriva 15 11-21-2005 07:53 AM
need to access /boot/grub/menu.lst and /boot/grub/device.map neouto Linux - Newbie 8 09-04-2005 11:45 AM
MDK 10.2 GRUB - Windows killed MBR stunter Mandriva 7 03-21-2005 09:07 AM
Mdk 10.1 Grub booting problem. The_fuzzy_cow Mandriva 2 10-21-2004 09:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration