To run the Debian 13 (trixie) ARM64 cloud image in Virtual Machine Manager (virt-manager) on a Debian 13 GNOME x86-64 host, you need to use QEMU/KVM with full emulation for ARM64, as your host is x86-64 and cannot natively run ARM64 binaries. Here’s how to do it step-by-step:
Ensure QEMU, libvirt, and virt-manager are installed:
bashsudo apt update sudo apt install qemu-system-arm qemu-utils libvirt-daemon-system libvirt-clients bridge-utils virt-manager
qemu-system-arm provides the ARM emulator.virt-manager is the GUI for managing VMs.You already have the URL: debian-13-nocloud-arm64.raw
Download it:
bashwget https://cloud.debian.org/images/cloud/trixie/latest/debian-13-nocloud-arm64.raw -O ~/debian-13-arm64.raw
The default cloud image is small. Resize it to, e.g., 10GB:
bashqemu-img resize ~/debian-13-arm64.raw 10G
bashvirt-manager
~/debian-13-arm64.raw.The image uses cloud-init for initial setup. To customize (e.g., set a password, SSH key, or hostname), create a user-data file:
user-data file:yaml#cloud-config password: yourpassword chpasswd: { expire: False } ssh_pwauth: True hostname: debian-arm64
bashsudo apt install cloud-image-utils echo '#cloud-config\npassword: yourpassword\nchpasswd: { expire: False }\nssh_pwauth: True\nhostname: debian-arm64' > user-data genisoimage -output init.iso -volid cidata -joliet -rock user-data
init.iso as a CDROM.debian and the password you set (or the default if no cloud-init was used).ip a). If using NAT, ensure the default libvirt network is active (virsh net-list --all).user-data ISO is attached as a CDROM and the VM is configured to boot from the disk first.qemu-system-aarch64 DirectlyIf virt-manager fails, you can run the VM manually:
bashqemu-system-aarch64 \ -M virt \ -cpu cortex-a57 \ -smp 2 \ -m 2G \ -drive file=~/debian-13-arm64.raw,format=raw \ -drive file=init.iso,format=raw \ -netdev user,id=net0 -device virtio-net-device,netdev=net0 \ -nographic
init.iso with your cloud-init ISO if needed.ip a inside the VM) and connect from your host.sudo apt install gnome).Would you like help with any specific step, such as cloud-init customization or networking?
Vibe can make mistakes. Check answers. Learn more