NavigationUser loginSpam?See spam posts on this site? If so, please don't reply to the spam! Instead, just report the URL to the webmaster. |
Sarge_2.4.27-3__kernel_panicGreetings .... A few days ago I moved a hdd with a Sarge installation The Compaq box had a Cyrix processor and I had 2 working kernels 2.4.27-3-686 The HP box that the disk is in now has an AMD K6-2 processor I installed a K6 kernel and un-installed the 686 kernel sudo apt-get intall kernel-image-2.4.27-3-k6 sudo apt-get --purge remove kernel-image-2.4.27-3-686 Now I can't boot into either the newly installed K6 kernel pivot_root: no such file or directory /sbin/init: 432 cannot open dev/console no such file kernel panic: attempted to kill init ! I spent a fair amount of time Google-izing and found Most of these were either problems upgrading from 2.4 to 2.6 kernels The K6 kernel files all seem to be in place in the /boot dir Any clues as to how to repair this problem -- ----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==---- -- |
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.