Red Hat Bugzilla – Bug 121866
new-kernel-pkg doesn't check that kernel supports large enough initrd
Last modified: 2007-11-30 17:10:41 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Description of problem:
When installing a linus kernel, 'make install' runs
/sbin/installkernel which then runs /sbin/new-kernel-pkg
/sbin/new-kernel-pkg should check that the .config for the current
kernel contains CONFIG_BLK_DEV_INITRD=y and that
CONFIG_BLK_DEV_RAM_SIZE is set to be >= the size of the uncompressed
initrd that mkinitrd creates.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install a linus kernel from kernel.org
2. use the default ram disk size
There are a lot of hits on this topic if you google for "VFS: Cannot
open root device "LABEL=/" or unknown-block(0,0)", but not too many
correct answers. It would be nice if Fedora told people not intimate
with kernel configuration that they had made a mistake.
With 2.6 kernels and mkinitrd 4.x, we'll instead create an initramfs
which doesn't have this requirement.