Red HatThis forum is for the discussion of Red Hat Linux.
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 use Red hat 9.0, and I just compiled 2.6.3. When i boot, i get an error while mounting root. It tells me the label Linux could not be found, so root could not be mounted. Because of this it also tells me that the initrd couldn't be found, and to try using a init= to pass the init into the kernel. Here is my grub.conf:
default=2
timeout=10
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.6.3)
root (hd0,4)
kernel /boot/vmlinuz-2.6.3 ro root=LABEL=Linux hdd=ide-scsi
initrd /boot/initrd-2.6.3.img
title Red Hat Linux (2.4.20-8)
root (hd0,4)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=Linux hdd=ide-scsi
initrd /boot/initrd-2.4.20-8.img
title Windows XP
rootnoverify (hd0,3)
chainloader +1
2.4.20-8 still works fine, and it uses the label Linux as well. I did compile ext2 and ext3 file systems into the kernel, but i can't figure out why it won't find root.
This happened even when i replaced root=LABEL=Linux with the partition number (/dev/hdad)...The problem shouldn't be the Label anyway, because my old kernel uses the same label and works fine. Any more help is appreciated, I'm going to look up the mount error code 6 and see what it is...
OK, with those added details, it sounds like you have compiled something as a module that you need at boot time. (Anything that is needed before the disks can be read can't be compiled as a module). You need to go back through your compile process and look for anything that you compiled as a module that might be needed early on in the boot process and change it to not be a module.
(One example, ext2 can't be compiled as a module since it is needed to read the disk and therefore you can't read the disk to load the module until it is loaded.....)
Well, it doesn't really matter to me anymore, I switched over to Slackware, as I've been wanting to try it for a while now, and I compiled and install 2.6.3 just fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.