PE 2850 Cant boot with RHEL4 kernel 2.6.9-42.ELsmp "switchroot: mount failed: 22"

Mike Hanby mhanby at uab.edu
Wed Dec 5 13:26:19 CST 2007


Stephen, you nailed it.

 

The tech who updated the kernel made a typo in the grub.conf file:

 

root=LABEL=/

 

should have been

 

root=LABEL=/1

 

Last time I let another person update kernels on these systems. The sda
and sdb cache messages were unrelated, obviously.

 

Thanks for the tip,

 

Mike

 

________________________________

From: Stephen Anderson [mailto:anderson.stephen at gmail.com] 
Sent: Wednesday, December 05, 2007 12:32
To: Mike Hanby
Cc: linux-poweredge at dell.com
Subject: Re: PE 2850 Cant boot with RHEL4 kernel 2.6.9-42.ELsmp
"switchroot: mount failed: 22"

 

On 12/5/07, Stephen Anderson <anderson.stephen at gmail.com> wrote: 

On 12/4/07, Mike Hanby <mhanby at uab.edu > wrote: 

Sorry, yes, installed (rpm -ivh) so the previous kernel is still there
and I can successfully boot using it. 

The external storage is direct attach scsi.

According to rpm -ql, the kernel installed into /boot and /lib, both of
which are directories on /dev/sda1 (which is located on the internal
scsi mirror).

I'll try reinstalling it with the external storage disconnected and see
what happens.

Thanks, Mike

 

"mkrootdev: label / not found " error seems to imply that the
"root=LABEL=/" line in your new kernel is bad. 

What is the "root=" line in your working kernel?

swa
 


I am referring to the "root=" line for your working kernel in the file
/boot/grub/grub.conf. Compare that to the entry for your new kernel.

 

swa

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20071205/649dc022/attachment.htm 


More information about the Linux-PowerEdge mailing list