Hi Vincent,
I'd recently gone through similar issue that you're experiencing. The "Waiting for Removable Media" hang had been there for at least 7-8 years. A workaround was put in around 2013. See here:
https://patchwork.openembedded.org/patch/42291/ |
|
Add "debugshell=30" (30 is in second, for timeout, or any other reasonable value that you like) to the append
statement in your pxelinux.cfg/default file. Then you'd timeout when you "normally" hangs, break into a shell, where you could initiate udhcpc to configure networking, after which you could transfer your bootable image onto your RAM, and write out onto your HDD/SSD. It seems this kernel boot option of debugshell isn't documented officially in kernel-parameters.txt file. You could also look for init-live.sh on your yocto tree, and look for "Waiting for Removable Media", and see the surrounding code to get a fell how this debugshell thing works. Raymond |
|