Skip to content

Instantly share code, notes, and snippets.

@nathanjackson
Created September 20, 2022 13:23
Show Gist options
  • Save nathanjackson/9e7dc6de4db9a7d14c0a763442974a82 to your computer and use it in GitHub Desktop.
Save nathanjackson/9e7dc6de4db9a7d14c0a763442974a82 to your computer and use it in GitHub Desktop.
Fedora 36 ARM in QEMU
#!/bin/bash
qemu-system-arm \
-M virt \
-m 3G \
-device virtio-gpu-pci \
-drive if=none,file=os.qcow2,id=hd0 \
-device virtio-blk-device,drive=hd0 \
-device virtio-net-device \
-kernel vmlinuz-5.17.5-300.fc36.armv7hl \
-initrd initramfs-5.17.5-300.fc36.armv7hl.img \
-device qemu-xhci \
-device usb-mouse \
-device usb-kbd \
-append 'root=LABEL=fedora_fedora rootflags=subvol=root' \
-monitor stdio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment