Re: Kernel panic No init found

From: Kent West (westk_at_acu.edu)
Date: 04/23/05

  • Next message: Clive Menzies: "Re: Samba update moved my shares (again)"
    Date: Sat, 23 Apr 2005 10:48:10 -0500
    To: Debian-User Mail List <debian-user@lists.debian.org>
    
    

    R. Earl Warren wrote:

    > We are unable to now boot, having some months ago successfully
    > installed GNU/Linux Woody Ver. 3.0r2. We have installed successfully
    > a number of programs using the apt utilities, including networking,
    > apache, mozilla, and samba. The last program we were working with was
    > WordPerfect 8 for Linux in late February. Since then we have been
    > unable to boot and instead get the error message "Kernel panic: No
    > init found."

    Perhaps you upgraded your kernel at some point to an initrd-flavored one?

    Perhaps you converted one of your partitions to a newer format, such as
    ext3 or ReiserFS, and don't have the appropriate support compiled into
    your kernel?

    If you can get booted up again (via floppy, CD, whatever), do an "ls -l
    /" and look for something like the following on the root:

    > lrwxrwxrwx 1 root root 27 Nov 30 07:28 initrd.img ->
    > /boot/initrd.img-2.6.9-1-k7
    > lrwxrwxrwx 1 root root 23 Nov 13 10:57 vmlinuz ->
    > boot/vmlinuz-2.6.9-1-k7

    The first line symlinks to the actual initrd.img file in /boot. You will
    need to make sure this file exists and is accessible during the boot
    process.

    The second line symlinks to the actual kernel fil in /boot. You will
    need to make sure this file exists and is accessible during the boot
    process.

    It's possible you don't have an initrd.img-based system; I'm kind of
    thinking Woody did not be default, particularly with the 2.2 kernel.

    It's possible you have the actual file(s) in root rather than symlinks;
    that should be okay.

    It's possible you're using grub instead of lilo, in which case the
    situation is considerably different, but with Woody, I suspect you're
    using lilo. Check your /etc/lilo.conf file to make sure it looks right;
    post it here if you're unsure. Re-run lilo to reinstall the boot code.

    You might want to provide us with more info, such as lilo vs grub; which
    kernel version you're using, and what fails (below) about booting off
    your rescure floppies/CDs. Being "unable to boot from our CDROM" is too
    generic.

    > Since then we have been working with our rescue floppy disks and
    > with our CD disks [debian GNU/Linux i386 - 'Woody' 3.0r2], which we
    > had purchased from www.AboutDebian.com. However, during this past
    > month we have been unable to boot from our CDROM. The drive is
    > connected by both the power & data cables and appears to operate
    > properly when the unit is powered-up [the green light flashes].

    Odd that you can't boot from CD. Do you have another machine from which
    you can test booting from CD? Has perhaps the BIOS setup changed so that
    the CD is not one of the first boot devices?

    If the problem turns out to be your CD/floppies, you can download a
    Knoppix/Kanotix/Mepis/etc CD to use as an emergency boot disk. Or
    better, just re-download the Woody rescue/install floppies or CD from
    www.debian.org.

    Off-topic: if your machine is a dedicated server that needs high
    uptimes, Woody is probably just what you want, but it sounds like it's
    more of a workstation (mozilla, WordPerfect), in which case you might
    consider upgrading to Testing (or even Unstable) in order to get newer
    software (although WordPerfect requires some older libraries, so unless
    you know how to keep those older libraries around, this may not be a
    good idea for you).

    -- 
    Kent
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Clive Menzies: "Re: Samba update moved my shares (again)"

    Relevant Pages

    • frustrating problem with networking encountered while installing "Woody"
      ... I'm trying to dual boot an old Pentium box with Debian ... "Woody" and win98. ... time at "configuring network interfaces......" ... do a net install with dhcp using the bf2.4 kernel. ...
      (Debian-User)
    • Does lilo still have a limit on its menu entries?
      ... All my Debian installs, Sarge, Etch, and Lenny, originally started off as ... Woody 3.0r2, and LiLo was, and still is the bootloader. ... The original kernel when I installed Woody 3.0r2 was a bf one. ... remove this original boot floppy kernel. ...
      (Debian-User)
    • Re: swapping master & slave HDs: what to change?
      ... >Otherwise, I might play with the BIOS boot prority, right? ... >>whereapon you must run lilo. ... >of install target partition and kernel address didn't match the kernel ... Grub is Grand. ...
      (Debian-User)
    • kdmgreet crash, apt update problem on debian/knoppix
      ... I have two systems to choose from during boot from lilo, ... kernel and one using a 2.6.? ... as this is the stable boot but there now the same error occurs. ... And then run "apt-get upgrade" but it only changed two packages and the ...
      (comp.os.linux.setup)
    • Re: messed up mbr- unable to boot
      ... > set root to my Woody partition. ... > grub, reset the MBR with the 'update-grub' command, and rebooted. ... Woody to Sarge and forgot to run lilo. ... right kernel etc. and run lilo as root. ...
      (Debian-User)