安装qemu:
编译内核:
编译rootfs;
启动:
qemu-system-x86_64 -kernel ./linux-4.14.320/arch/x86_64/boot/bzImage -hda ./busybox-1.36.1/rootfs.img -append "root=/dev/sda console=ttyS0" -nographic
效果图:
安装qemu:
编译内核:
编译rootfs;
启动:
qemu-system-x86_64 -kernel ./linux-4.14.320/arch/x86_64/boot/bzImage -hda ./busybox-1.36.1/rootfs.img -append "root=/dev/sda console=ttyS0" -nographic
效果图: