Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tutorials:tools:qemu_install_debian_armhf [2020/06/12 12:01] (current)
alanzheng created
Line 1: Line 1:
 +==== Qemu how to install debian armhf ====
  
 +  * crate a 20G qcow2 disk
 +
 +<​code>​
 +qemu-img create -f qcow2 hda.qcow2 20G
 +</​code>​
 +
 +  * Download debian armhf netboot vmlinuz and initrd.gz, I used debian 10 buster, rename them to installer-vmlinuz,​ installer-initrd.gz,​ boot and install debian using below command
 +
 +<​code>​
 +qemu-system-arm -M virt -m 2048 -kernel installer-vmlinuz -initrd installer-initrd.gz -drive if=none,​file=hda.qcow2,​format=qcow2,​id=hd -device virtio-blk-device,​drive=hd -netdev user,​id=mynet -device virtio-net-device,​netdev=mynet -nographic -no-reboot
 +</​code>​