Kernel won't boot.. error mounting ext3
I've recently built a kernel for 2.5.73 (I know it's not stable but it would be terrific if I can get it to work) and I ran into the following error message when trying to boot:
mount: error 19 mounting ext3
pivotroot: pivot_root (/sysroot,/sysroot/initrd) failed: 2
umount /initrd/proc failed: 2
kernel panic: no init found.. try passing init= option to kernel
After this it hangs. I've been trying to troubleshoot this all day and would really love some help. The vmlinuz file and initrd image for 2.5.73 are in /boot and the grub.conf file looks correct. Here is my fstab file:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
Here's my grub.conf:
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.5.73)
root (hd0,0)
kernel /vmlinuz-2.5.73 ro root=/dev/hda2 hdc=ide-scsi
initrd /initrd-2.5.73.img
title Red Hat Linux (2.4.21)
root (hd0,0)
kernel /vmlinuz-2.4.21 ro root=/dev/hda2 hdc=ide-scsi
initrd /initrd-2.4.21.img
title Red Hat Linux (2.4.18-14)
root (hd0,0)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.18-14.img
The other kernels boot correctly.
Thanks from a needy newbie!
|