Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Hi guys,
I got a problem after I installed redhat 8.0.
After installation and the computer rebooted and chosen to load Linux, it gave me the error message:
mkrootdev: label / not found
Mounting root filesystem
mount: error 2 mounting ext3
pivotroot: pivot_root (/sysroot,/systroot/initrd) failed: 2
umount/ initrf/proc failed: 2
freeing unused kernel memory: 202k freed
kernel panic: no init found. Try passing init = option to kernel
Does anyone know how did it happen and how to solve it?
thanks alot,
mike
ps: I used the redhat auto partition
You can describe which disk partitions mount as what filesystems either by pointing to their /dev/??? names or a LABEL. /dev/sda1 is the first partition of the first SCSI disk for instance. I do not know a lot about this LABEL business but assume it writes a bit of data on the partition (some kind of disk header area maybe) so that the _name_ of that partition can be known on subsequent reboots. In your case it's trying to mount root by finding a disk partition with this name and isn't finding it on any available partition.
The only times I've had to mess with this at all is after doing low-level manual things with disks and partitions. I've blown away and re-created partitions for one reason or another before and had to change fstab. In one case it point to LABEL=/stuff and I changed it to be /dev/sdb3 for instance.
A probable advantage to this LABEL business is if you install new disks or remove some the specific location format of /dev/sdX would get broken whereas the LABEL= format wouldn't.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.