Skip to content

Instantly share code, notes, and snippets.

@eddieh
Last active March 9, 2026 20:30
Show Gist options
  • Select an option

  • Save eddieh/397f7b7ffc88e956b57e7432a26dfd16 to your computer and use it in GitHub Desktop.

Select an option

Save eddieh/397f7b7ffc88e956b57e7432a26dfd16 to your computer and use it in GitHub Desktop.
Ubuntu arm64 in QEMU on Mac host:
qemu-system-aarch64 -m 4096M -cpu host -M virt,accel=hvf \
-bios /opt/homebrew/share/qemu/edk2-aarch64-code.fd \
-serial stdio -device virtio-gpu -device virtio-keyboard \
-device virtio-mouse -display default,show-cursor=on \
-cdrom ubuntu-25.10-desktop-arm64.iso
Keyboard useable from Grub (requires qemu-xhci & usb-kbd):
qemu-system-aarch64 -m 4096M -cpu host -M virt,accel=hvf \
-bios /opt/homebrew/share/qemu/edk2-aarch64-code.fd \
-serial stdio -device virtio-gpu -device qemu-xhci -device usb-kbd \
-device usb-mouse -display default,show-cursor=on \
-cdrom ubuntu-25.10-desktop-arm64.iso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment