我通过执行make menuconfig (然后是make )编译了一个Linux,现在我已经编译了最新版本的Linux。如何将内核加载到QEMU中?
发布于 2012-09-09 14:47:22
来自qemu的帮助:
Linux/Multiboot boot specific:
-kernel bzImage use 'bzImage' as kernel image
-append cmdline use 'cmdline' as kernel command line
-initrd file use 'file' as initial ram disk
-dtb file use 'file' as device tree image这里使用Arch的内核/initrd (qemu -kernel /boot/vmlinuz-linux -initrd /boot/initramfs-linux.img)进行了快速测试(因为我没有提供根设备,所以把我放到了恢复shell中)。
https://unix.stackexchange.com/questions/47619
复制相似问题