LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   can't boot after upgrade to 2.4.24 (https://www.linuxquestions.org/questions/linux-general-1/cant-boot-after-upgrade-to-2-4-24-a-134024/)

gurdib 01-12-2004 11:44 AM

can't boot after upgrade to 2.4.24
 
Hi,

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.

Thank you,
G.

Hertattack 01-12-2004 11:54 AM

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

I hope this helps you,
Marcel

gurdib 01-12-2004 12:02 PM

Hi Marcel,

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.

G.

Hertattack 01-12-2004 12:10 PM

G,

Have you actually tried to replace the LABLE= with /dev/xx ?

I have found an interesting link:
http://groups.google.com/groups?q=%2...bofh.it&rnum=2

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>.

Perhaps this will help you further, good luck,

Marcel

gurdib 01-12-2004 12:34 PM

Hi Marcel,

yep, I tried replacing LABEL= with /dev/hd?? and it worked like a charm.

I think I will just stick to it.

Thanks,
G.


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