Re: Possible to delay boot process to boot from USB subsystem?

From: Paulo Marques
Date: Tue May 04 2004 - 13:58:58 EST


Bill Catlan wrote:

Randy,

Thanks for the patch, but it does not work for 2.4.26. The kernel panic I get
("Kernel panic: No init found. Try passing init= option to kernel.") is
generated by the init() function in init/main.c. Willy's patch applies to
init/main.c, perhaps yours should now as well (i.e., in later kernels)? (I have
not tested Willy's patch, but he claims success with a 2.4.23 kernel.)


This is a completely different error from "VFS: Cannot open root device" or "unable to mount root".

Are you sure you have a "/sbin" directory with an *executable* "init" file on the usb harddrive?

Does your init file depend on libraries that you do not have under "/lib"? (you can check with "ldd init")

If your init is a script, does it specify a complete path to the interpreter, and do you have an *executable* interpreter there? Does the interpreter require libraries or is it static?

I hope this helps,

--
Paulo Marques - www.grupopie.com
"In a world without walls and fences who needs windows and gates?"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/