Red Hat Bugzilla – Bug 65099
Initial boot after install hangs with error 6 mounting ext2, No init found. Try passing init= to kernel
Last modified: 2007-04-18 12:42:38 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)
Description of problem:
Installing 7.3 on VA Linux hardware with hardware RAID5 array (DAC 960 from
Mylex). Boot proceeds normally until the following:
Creating root device
Mounting root filesystem
mount: error 6 mounting ext2
pivotroot: pivot_root (/sysroot, /sysroot/initrd) failed: 2
Freeing unused kernel memory: 304K freed
Kernel panic: No init found. Try passing init= option to kernel
I have tried with both ext3 and ext2 and both fail.
System hangs and is unusable.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Actual Results: System hangs and is unusable.
Expected Results: System should have booted.
Several things to try:
#1: Boot the machine into rescue mode off the 7.3 cd and look for the /initrd
directory in the mounted disk partition. If it is not present, create it and
reboot. (references: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=64883
#2: If it is present (or even if it isn't), look at the /etc/modules.conf file
in the mounted disk partition. It should have the line(or very similar to):
alias scsi_hostadapter DAC960
If it does not, add it. Regardless, it might also be a good idea to rebuild the
initial ram disk image file.
mkinitrd -f /boot/initrd-2.4.18-3.img 2.4.18-3
(if this machine is an SMP box, substitute 2.4.18-3smp for 2.4.18-3 in both
places in the mkinitrd line)
Then reboot, and see if it makes a difference.
My gut suspicion is that this is a dupe of
Take a look at that and see.
My system is SMP. I confirm that the following is true (from message by
1. /initrd exists and is empty
2. /etc/modules.conf contains
alias scsi_hostadapter aic7xxx
alias scsi_hostadapter1 DAC960
alias scsi_hostadapter2 DAC960
3. I have rebuilt initial ramdisk file as per instructions
Problem continues. System will not reboot, hangs. Problem seems identical to
Booting messages on screen are very similar, only differences are the hardware
found in my system is different.
I do not understand how to modify initrd is indicated in message
In addition to adding the devices to initrd.img as you
stated you did, modify the linuxrc in the initrd.img to
mount your root device instead of /dev/root. For example:
my new linuxrc:
mount --ro -t ext3 /dev/rd/c0d0p2 /sysroot
Can someone clarify?
*** This bug has been marked as a duplicate of 65207 ***
Is there a fix or patch for RH 7.2 besides using lilo?
Time tracking values updated
*** Bug 85614 has been marked as a duplicate of this bug. ***