Sarge_2.4.27-3__kernel_panic




Now I can't boot into either the newly installed K6 kernel
or the older 386 version and get the following messages
at boot time from either ....

pivot_root: no such file or directory

/sbin/init: 432 cannot open dev/console no such file

kernel panic: attempted to kill init !

The trick is to find out exactly why the 'root' partition cannot be found. Two common problems:
1. Someone moved the HD around (so it became hdb/hdc/hdd rather than hda)
2. The filesystem driver (for example, ext3) was not compiled into the kernel and for some strange reason when the initrd image was rebuilt, the driver was not set to load.

In the case of (1), you can get a Grub console and use the 'find' tool to help figure out what parameter to use for 'root', boot and then edit the grub menu.lst and fstab file.

In the case of (2) the easiest way is to use a Live CD to boot, then mount your root partition and switch to it using 'chroot', and then check the initrd tools configuration and update the images making sure that the necessary drivers are set to be loaded.



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



Relevant Pages

  • Re: XF86Config changes back to original.
    ... that before doing support while working at Linuxcare. ... There is no script changing XFree86Config at boot time. ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
    (Fedora)
  • RE: KDM and FreeBSD?
    ... >> I'm a huge nut of the CLI, ... > implement this so that kdm initalizes at boot so my gf can use my FreeBSD ... usaly has a "echo -n 'script name'" that print a message at boot time. ... To unsubscribe, ...
    (freebsd-questions)
  • Re: question about /etc/fstab
    ... The command 'man 5 fstab' will answer all these questions. ... > the /etc/fstab file so that it is mounted at boot time? ... smbmount will help. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Speeding up boot time
    ... Not all services/daemons are up, ... be seen by comparing the two bootchart graphs. ... The boot time is halfed ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: modprobe for module at boot time?
    ... On Tue, 29 Nov 2005, Leonid Grinberg wrote: ... > If you want modules to be loaded at boot time, ... MANGO - Zimbabwe's non-profit e-mail service ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)