[CentOS] Compile a kernel
eero.volotinen at iki.fi
Wed Dec 9 12:53:21 UTC 2009
Quoting gilberto nunes <gilberto.nunes at selbetti.com.br>:
> Hi buddies
> I attempt to compile a kernel on CentOS 5.3.
> The kernel version is 220.127.116.11.
> 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 18.104.22.168 #2
> I don't know what is going on here!!
Something critical is missing from kernel? Proc fs support?
Can you paste your .config to mailinglist or pastebin.ca ..
More information about the CentOS