Re: Root Label Problem - Kernel Panic



On Fri, 22 Dec 2006 16:12:11 +0100, Simon wrote:

Hi,
I moved the RHEL4 from IDE to new SATA disk. I have labeled the new root
and swap partitions, but I cant get the system running. Just after
initrd load kernel panics:

mkrootdev: label /1 not found
Mounting root filesystem
mount: error 2 mouting ext3
switchroot: mount failed: 22
Kernel panic - not syncing: Attempted to kill init!

Are you sure the label should be "/1" and not just "/"? The labels seem to
get appended with a number any time you move them.

Boot to a rescue cd and either fix the label or put the actual partition
name in your fstab (/dev/whatever it is) instead of the label.
.



Relevant Pages

  • Re: AppArmor FAQ
    ... This would mean no fully functional root user anymore. ... control are much easier to fit in than label based access because they normally ... In "i don't care if it looks like Unix anymore" security setups like ...
    (Linux-Kernel)
  • [release] bootutils 0.0.4
    ... After looking over initramfs and fiddling for a number of ours I've ... BootUtils is a collection of utilities to facilitate booting of modern ... the root volume either by label or explicit label= on the kernel command ... drop to emergency shell if the root volume cannot be mounted. ...
    (Linux-Kernel)
  • Mapping Swap Partition Devices to Labels
    ... I maintain some scripts that detect hard drive setup ... I see that a fresh installation of FC3 will use a label to mount a ... However, if I have multiple swap partitions, scanning fstab ...
    (Fedora)
  • RE: Boot loader problem after addiing SCSI disk
    ... The root partition on sdb1 has a label as "/" in the grub.conf. ... I can see all the existing scsi disks as well as the new one - though ... somehow, the new one becomes sda, and the old sda becomes sdb, and the ...
    (RedHat)
  • Re: Linux (RedHat) version number question
    ... > title Red Hat Linux ... what's happening is Red Hat modifies the kernel source that adds in ... and configures partition label support which is not in the kernel.org ... and use the device/drive_partition where root resides instead. ...
    (linux.redhat)