There is an INITRD_SIZE parameter defined in the default /etc/kernels/settings file. This parameter is ignored in the 1.8 version of genkernel. The size is currently hard coded in the mke2fs command (look for -N5000). Reproducible: Always Steps to Reproduce: 1. 2. 3. Replace this line: mke2fs -F -q -N5000 ${TEMP}/initrd with this: mke2fs -F -q -N${INITRD_SIZE:-5000} ${TEMP}/initrd
Oops -- the suggested fix missed a needed change to the line before (the dd command). Here's the updated suggested fix: dd if=/dev/zero of=${TEMP}/initrd bs=1k count=${INITRD_SIZE:-5000} mke2fs -F -q -N${INITRD_SIZE:-5000} ${TEMP}/initrd
I did not write genkernel 1.x do not report bugs on genkernel 1.x it is obsolete use genkernel 3.0.1