LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel won't boot.. error mounting ext3 (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-wont-boot-error-mounting-ext3-75303/)

SirRobbin 07-23-2003 04:05 PM

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!

DrOzz 07-23-2003 04:57 PM

look at my guide and scroll down to the part that says:
--------------------------------------------
Now Its Time To Install Your New Kernel~!
--------------------------------------------
and tell if you did them steps....i am thinking you missed at least one of them steps...

SirRobbin 07-24-2003 07:18 AM

I gave it a try.. didn't work. Still have the same error.

Any other ideas?


All times are GMT -5. The time now is 05:54 AM.