Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
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.
I am now using old RH9 , i downloaded new vanilla kernel 2.4.32 and build it,I used same
.config for it which is contributed with default RH9 kernel sources (2.4.20), everything looks fine but when i try to boot it with grub i get
,,Kernel panic unable to mount root device"
_________________________________________
title Red Hat Linux (2.4.32)
root (hd0,4)
kernel /vmlinuz-2.4.32 ro root=LABEL=/
initrd /initrd-2.4.32.img
__________________________________________
How can I check where is my Root device , i mean ,,/" (partition where are all my programs)?
How can i boot this kernel ?
Maybe it have something to do with my hardware, because I have Silicon Image SATA controller Sil3112A .I checked .config and in it is to build Silicon Image controller directly
to kernel (not as module)
Got to be careful not to give you a bad idea here, but in Gentoo and SUSE the root option (where you have root=LABEL=/ ) is supposed to point to your real root device i.e. root=/dev/sda or whatever it is.
I only point this out, as I don't see yours pointing anywhere, but then again I don't quite know what the LABEL option does - perhaps it is the actual label of the device?
The only other thing I'd check is just ensure the initrd is there - I've only ever seen this problem when it can't find the initrd
No , I'm sure it can read initrd , for example if i make change
title Red Hat Linux (2.4.32)
root (hd0,4)
kernel /vmlinuz-2.4.32 ro root=LABEL=/
initrd /initrd-abrakadabra.img
grub stops ,and print something like ,,could not find file initrd-abrakadabra.img"
Just Kernel cant see my root directory. I think Label meant to set root partition to that one with label name ,,/"
On mandrake i see something like this
kernel /vmlinuz-2.4.32 ro root=0307 - root is hdc7
Maybe initrd is not good ... i really don't know where is problem
You will find the actual cause of the problem in the messages which precede the actual kernel-panic message.
Some of the possibilities include:
The location of the root directory, which should be specified by the root= kernel-parameter at boot, was not specified or not specified correctly.
I've found that specification by means of labels, vs. an actual device-spec like root=/dev/hda3, doesn't work for me.
It's easy to specify the wrong device/partition! Make sure that you're not pointing to the boot-directory or to a swap-partition by mistake. Linux counts partitions starting at #1; Grub counts them from #0. Often the first partition is /boot; the second is swap; and the third (/dev/hda3) is the root. If you are booting from a slave drive, then it might be /dev/hdbx, and /dev/hda might contain (ick!) Windows.
The kernel might not have support for the disk device and/or the filesystem being used. (I make it a point to put all of these into the kernel.)
The wrong filesystem types, or locations, can be specified in /etc/fstab.
There might be something actually wrong with the contents of the disk... such that a LiveCD can't mount the drive either.
Last edited by sundialsvcs; 11-27-2005 at 10:22 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.