7,166
edits
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
<syntaxhighlight lang="bash" enclose="div"> | <syntaxhighlight lang="bash" enclose="div"> | ||
qemu-system-i386 -M pc -echr 0x1c \ | |||
-device ide-hd,drive=drv0 \ | -device ide-hd,drive=drv0 \ | ||
-drive file=openwrt-x86-legacy-generic-ext4-rootfs.img,format=raw,id=drv0,if=none \ | -drive file=openwrt-x86-legacy-generic-ext4-rootfs.img,format=raw,id=drv0,if=none \ | ||
-kernel | -kernel openwrt-x86-legacy-generic-kernel.bin \ | ||
-nographic -m | -nographic -m 256 -append "root=/dev/sda console=ttyS0 rootwait earlyprintk=ttyS0" | ||
</syntaxhighlight> | </syntaxhighlight> |