Re: Kernel panic: No init found



centers <stevecenters@xxxxxxxxx> did eloquently scribble:
I have looked through the Kernal panic listings but didn't find
anything simular to my problem.

I have a system that was working fine until the power went out
unexpectedly.
Now when it boots I get the following.

Red Hat nash version 3.4.42 starting
Loading jbd.o module
Journalled Block Device driver loaded
Loading ext3.0 module
Mounting /proc filesystem
Creating block devices
Creating root device
mkrootdev: label / not found
Mounting root filesystem
mount: error 2 mounting ext3
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
unmount /initrd/proc failed: 2
Freeing unused kernal memory: 116k freed
Kernal panic: No init found. Try passing init= option to kernal

Then it just hangs here and the lights on the keybaord blink, but I
can't type anything in using the keyboard.
If you have any ideas or can direct me to a Kernel panic topic that
would address this I would appreciate it.

Looks like you need a bootable rescue disk (something like knoppix)
The powerfailure could've screwed up your boot loader's MBR or the initrd
file so it can't find the "/" filesystem anymore.

Another thing to try is... during the initial grub boot sequence (you ARE
using grub I take it?)

you can drop to a console type environment and edit lines in the grub boot
parameters... check that lines such as root=/dev/hda2 are in there.
(or add one). Looking at the log it can't find "label /", specifying the
filesystem name directly rather than using a label might fix it.

I don't know what filesystem your "/" partition is on, but chances are it's
/dev/hda1, /dev/hda2, /dev/sda1 or /dev/sda2
(depending on whether you're on an IDE, SATA or SCSI system)
--
______________________________________________________________________________
| spike1@xxxxxxxxxxxxx | "I'm alive!!! I can touch! I can taste! |
|Andrew Halliwell BSc(hons)| I can SMELL!!! KRYTEN!!! Unpack Rachel and |
| in | get out the puncture repair kit!" |
| Computer Science | Arnold Judas Rimmer- Red Dwarf |
------------------------------------------------------------------------------
.



Relevant Pages

  • Re: Arrgh! Compaq kernel panic after install
    ... > However, on the first boot, the kernel panics when ... > VFS: Mounted root (ext2 filesystem). ... > Loading ext3.ko module ...
    (Fedora)
  • Re: fsckd
    ... filesystem errors on boot, with the "hit control-D to continue or give root ... to fix the errors with fsck. ... filesystem and inability to reboot. ...
    (Debian-User)
  • Re: fsckd - FIXED
    ... filesystem errors on boot, with the "hit control-D to continue or give root ... to fix the errors with fsck. ... filesystem and inability to reboot. ...
    (Debian-User)
  • Strange case of root filesystem corruption
    ... Yesterday GRUB would suddenly not display the boot menu anymore. ... Looking at filesystems on the disk with the free ufs2tools program, ... Subfolders of / on the same filesystem are affected as well. ... sectors/track: 63 ...
    (freebsd-questions)
  • Re: Cant run WINCE from a flash drive on my AMD M/B
    ... SECTION/END HIVE BOOT SECTION in your registry, ... bootable filesystem, so it won't boot. ... Initializing Memory Mapped File Support ... FS: Creating signal event SYSTEM/DevMgrApiSetReady ...
    (microsoft.public.windowsce.embedded)