Debian 6.0 - custom kernel compile Kernel panic - not syncing: VFS: Unable to mount
When I upgraded Debian from 5.0 to 6.0 my custom kernel doesn't want to boot I get this error: "Kernel panic - not syncing: VFS: Unable to mount root fs on unkown-block(0,0)"
Only kernel that it boots is the one supplied with debian so I went ahead to compile again custom kernel.
My device where system drive is connected to:
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02)
partition type: /dev/sda1 on / type ext3 (rw,errors=remount-ro)
So when I try to boot new kernel I get this error: "Kernel panic - not syncing: VFS: Unable to mount root fs on unkown-block(0,0)" even though I have compiled drivers into kernel and I have compiled EXT2, 3 and 4 support.
Next I tried to make initrd but mkinitrd doesn't supprt new kernels in my case 22.214.171.124 I get this error msg: "/usr/sbin/mkinitrd: Cannot determine SCSI module"
Can you please recommend me tool with which I can make initrd boot image or why I'm getting this message when partition is compiled into kernel and as you can see in the picture kernel sees all the drives.
My grub line looks like this:
title Debian GNU/Linux, kernel 126.96.36.199
kernel /boot/vmlinuz-188.8.131.52 root=UUID=88823d52-a192-44b6-8459-18207f2303f5 ro
Initrd is hashed because I cannot make initrd image.
Partition which are compiled into kernel:
How did you compile the Kernel?
This is not my first compile I'm compiling kernels for 10 years, that's why I'm now asking because I don't know what I did wrong.
When using Debian, it's recommended to do things the Debian way. Have you read this; http://www.debian.org/releases/stabl...h08s06.html.en
EDIT: If anyone else will search how to make initrd, it can be done with "mkinitramfs" I just created image and tomorrow I will see if it can boot properly.
If anyone is interested with mkinitramfs kernel compile is working fine.
184.108.40.206 #2 SMP
|All times are GMT -5. The time now is 06:09 PM.|