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 running RedHat 9 on a box with 2.4.20 out of the box. I have downloaded and compiled the 2.4.24, did all the mkinitrd and installed the kernel just fine (I have been compiling my kernels since 1.2.13). However, I am not too much used to RedHat, usually run Debian. So, the problem is that now that I boot the box with 2.4.24, I get "special device LABEL=/home not found" and this also happens for /var and all LABEL=</name> in /etc/fstab. I know how to fix this by using /dev/hd?? instead of LABEL but I want to use LABELs in fstab as it is more of a dynamic solution. I tried google and irc and couldn't get an answer. I also verified all the labels with e2label and they are indeed inthere. 2.4.20 that comes with RedHat 9 out of the box boots up just fine so I must be doing something wrong...Please help.
I have just consulted the fstab manpage and it states that you can only use label with ext2 (and thus probably 3) and xfs.
Besides that i think you have an error in you use of labels, you should label your root disk Root and then use: LABEL=Root instead of /dev/hda1 and not LABEL=/.
So a correct line should be:
LABEL=Boot /boot ext2 noauto,noatime 1 1
the /etc/fstab is the same as for a working 2.4.20 kernel that comes stock with RedHat 9. I just downloaded and compiled 2.4.24. After booting into 2.4.24 I get a bunch of errors due to the fact that / gets mounted read-only and also /home, /var etc.
It describes the use of LABEL. It is handled in userspace and not by the kernel. Perhaps you can check the root setting of the new kernel vs the old kernel with rdev <kernel>.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.