Is there any update on this yet? It's been nearly two years, and still the bug persists. Today I had once again to simply comment-out the "exit 1" line in the modules test in /usr/sbin/mkinitramfs, and then re-run it.. prints the error about not having the directory, but otherwise runs absolutely fine. Specifically, it actually creates my init ramdisk, which the machine can boot from.
Perhaps you could just turn this error into a warning, and remove the exit 1 ? Something like this? --- /usr/sbin/mkinitramfs.orig 2009-05-07 19:58:24.000000000 +0100 +++ /usr/sbin/mkinitramfs 2009-05-07 19:58:42.000000000 +0100 @@ -142,8 +142,7 @@ MODULESDIR="/lib/modules/${version}" if [ ! -e "${MODULESDIR}" ]; then - echo "Cannot find ${MODULESDIR}" - exit 1 + echo "Warning - cannot find ${MODULESDIR}. If this is not a monolithic kernel then this will be unable to boot" fi if [ ! -e "${MODULESDIR}/modules.dep" ]; then depmod ${version} -- Paul "LeoNerd" Evans leon...@leonerd.org.uk ICQ# 4135350 | Registered Linux# 179460 http://www.leonerd.org.uk/
signature.asc
Description: Digital signature