[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Kernel panic: No init found

From: grenoml
Subject: Kernel panic: No init found
Date: Fri, 28 Feb 2003 16:03:55 -0800 (PST)

  Well hi again!  Hey Dave Balazic thanks for your comments on my 'GRUB
hangs' post.  Got a little bit better grip on GRUB now.
  I been making attempts at getting one of my Linux machines to boot
from a /boot partition rather than from a boot directory on /.  I have
two hard drives: hdc (set as BIOS boot device) and hde (my / is here). 
I made and configured a /boot partition on hdc and it has all the boot
files.  I have my /boot/grub/grub.conf configured as follows:

# grub.conf generated by anaconda
title Red Hat Linux (2.4.18-14)
        root (hd0,1)
        kernel /vmlinuz-2.4.18-14 ro root=/dev/hde1
        initrd /initrd-2.4.18-14.img
title DOS
        rootnoverify (hd0,0)
        chainloader +1

I did a grub-install /dev/hdc and rebooted.  Good thing is that I get
the GRUB splash menu.  The bad thing is that I'm getting a kernel panic
on mounting the root filesystem.  Here are the boot messages:

Mounting /proc
(all the LVM stuff gets activated successfully - / is not under LVM
Mounting root filesystem
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
umount /initrd/proc failed: 2
Freeing unused kernel memory: 212K freed
Kernel panic: No init found.  Try passing init= option to kernel

  Tried passing init=/bin/sh to see if / was really there somehow - no
dice.  It looks as though it may have mounted the filesystem but then
pivotroot doesn't succeed for some reason.  I've been working with this
for a while without any luck so I thought I would post what I'm seeing
in hopes that maybe someone might have some pointers for me. :-)

Gerry Reno

Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more

reply via email to

[Prev in Thread] Current Thread [Next in Thread]