Kernel panic: Attempted to kill init!

Lars Hallberg lah at micropp.se
Tue Mar 29 00:06:57 UTC 2005


Duncan Lithgow wrote:

>First here is the output I'm getting:
>
>=======================
>Starting Ubuntu...
>VFS: Can't find ext3 filesystem on dev hda5.
>modprobe: FATAL: Could not open
>'/lib/module/2.6.8.1-3-386/kernel/fs/nls/nls_cp437.ko': No such file or
>directory
>
>FAT: codepage cp437 not found
>cramfs: wrong magic
>modprobe: FATAL: Could not open
>'/lib/module/2.6.8.1-3-386/kernel/fs/nls/nls_cp437.ko': No such file or
>directory
>
>FAT: codepage cp437 not found
>pivot_root: No such file or directory
>/sbin/init:429 cannot open dev/console: No such file
>  
>
That is probably the critical line... Don't realy get it actuly... 
Thoght modern kernels created /dev/ on the fly. But this hapend to me 
after switching / to ext3 from rieserfs on my then warty system.

Had to create the device for hand. Basicly did:

Boot from live cd.

run 'man MAKEDEV' to find out what to do.
mount my ordinary /
cp /dev/MAKEDEV to my ordinary /dev
cd my ordinary /
chroot to my ordinary /
mount /proc
cd dev
MAKEDEV a couple of times with options I dont remember on top of my head.

Part of it is probably not needed... I was working quite in the dark :-/

But my system works!

HTH /LaH




More information about the ubuntu-users mailing list