LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 01-12-2004, 11:44 AM   #1
gurdib
Member
 
Registered: Jan 2004
Posts: 33

Rep: Reputation: 15
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.
 
Old 01-12-2004, 11:54 AM   #2
Hertattack
LQ Newbie
 
Registered: Jan 2004
Location: Netherlands
Distribution: Gentoo 1.4
Posts: 26

Rep: Reputation: 15
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
 
Old 01-12-2004, 12:02 PM   #3
gurdib
Member
 
Registered: Jan 2004
Posts: 33

Original Poster
Rep: Reputation: 15
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.
 
Old 01-12-2004, 12:10 PM   #4
Hertattack
LQ Newbie
 
Registered: Jan 2004
Location: Netherlands
Distribution: Gentoo 1.4
Posts: 26

Rep: Reputation: 15
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
 
Old 01-12-2004, 12:34 PM   #5
gurdib
Member
 
Registered: Jan 2004
Posts: 33

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CD will not boot upgrade for Suse 9.3 too 10.0 suse2166 SUSE / openSUSE 6 10-31-2005 07:17 AM
couldn't boot after upgrade kernel longnam Slackware 4 04-13-2005 02:07 AM
Upgrade 10.0 to 10.1 won't boot lshifman Mandriva 1 02-07-2005 03:05 PM
Upgrade to RH 9 cannot mount /boot BruceC Linux - Newbie 1 07-07-2004 05:24 PM
Cannot Boot after upgrade bugsbunny Slackware 4 04-16-2004 03:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration