[CentOS] Compile a kernel

gilberto nunes

gilberto.nunes at selbetti.com.br
Wed Dec 9 12:50:47 UTC 2009


Hi buddies

I attempt to compile a kernel on CentOS 5.3.
The kernel version is 2.6.31.6.

All make procedure is running ok.
I can generate initrd image with no problem too.
But, when I try booting this kernel, I get Kernel panic:

Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
[    1.732772] init used greatest stack depth: 5168 bytes left
[    1.733029] Kernel panic - not syncing: Attempted to kill init!
[    1.733291] Pid: 1, comm: init Not tainted 2.6.31.6 #2


I don't know what is going on here!!

Thanks if somebody will be able to help me!




-- 
*Gilberto Nunes Ferreira*
*TI*
*Selbetti Gestão de Documentos*
*Telefone: +55 (47) 3441-6004*
*Celular: +55 (47) 8861-6672*



/"Bendita a nação cujo Deus é o SENHOR!"/
*99* <><




More information about the CentOS mailing list