How to setup network connection for initramfs running in QEMU?

Douglas Su at
Thu May 25 22:49:47 EDT 2017

Thanks to this mail list, I have already successfully set up a simple initramfs and booted it in QEMU with busybox tools.

However, there is no network connection for the initramfs, that makes me hard to exchange files between qemu and the host.

Command `ip link show` tells there exists only one 'lo' interface, and I can't ping successfully.

So how to boot initramfs in qemu with full network support?

Best regards.
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Kernelnewbies mailing list