Run debian arm64 on x86-64 host
qemu-img create -f qcow2 disk.qcow2 100G
curl -O http://ftp.us.debian.org/debian/dists/stable/main/installer-arm64/current/images/cdrom/initrd.gz
curl -O http://ftp.us.debian.org/debian/dists/stable/main/installer-arm64/current/images/cdrom/vmlinuz
curl -O -L https://cdimage.debian.org/debian-cd/current/arm64/iso-dvd/debian-12.8.0-arm64-DVD-1.iso
# After installation
./copy_out_vmlinuz_initrd.sh
- You should use
copy_out_vmlinuz_initrd.sh
script to copy out kernel and initrd after linux upgrade in debian guest. ping
command is not work when usingnet-dev user
. You shold usewget google.com
orcurl google.com
to test network. Refer to: https://wiki.qemu.org/Documentation/Networking
Press ctrl a
and release the keys then press x
press ctrl a
and release then press ctrl a
and release then press 1
or 2
or 3
or 4
to switch tab
https://www.willhaley.com/blog/debian-arm-qemu/
https://www.jamescoyle.net/how-to/1818-access-a-qcow2-virtual-disk-image-from-the-host