Linux - NewbieThis 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
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.