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

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.




Reply to: