Hi, Am 06.04.2012 10:16, schrieb Florian Fainelli:
You are supposed to set the kernel command-line to contain init=/etc/preinit for initramfs to work.
I tried init=/bin/sh as well as init=/sbin/init and it failed with PANIC: cannot mount root device. Though, looking through the code of linux 3.3 once again (init/main.c:302), I think I should have used rdinit=/sbin/init instead, as only this method will set ramdisk_execute_command which is checked on line init/main.c:827 with sys_access and thus triggers (or not) the kernel trying to mount root.
Thanks, M. Braun _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel