Last active
May 10, 2025 21:31
-
-
Save niklas88/cdd27a95ef4fd23cbc0b2bc825ec2394 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# Now with vulkan / venus magic and UEFI. Remove cdrom after install. | |
# qemu-img create -f qcow2 fedora.qcow2 40G | |
# cp /usr/share/edk2/x64/OVMF_VARS.4m.fd fedora_OVMF_VARS.4m.fd | |
# -cdrom Fedora-Kinoite-ostree-x86_64-42-1.1.iso \ | |
qemu-system-x86_64 -machine q35 \ | |
-drive if=pflash,format=raw,readonly=on,file=/usr/share/edk2/x64/OVMF_CODE.4m.fd \ | |
-drive if=pflash,format=raw,file=fedora_OVMF_VARS.4m.fd \ | |
-bios /usr/share/edk2/x64/OVMF_CODE.4m.fd \ | |
-boot menu=on \ | |
-cdrom aurora-stable.iso \ | |
-enable-kvm -smp 6 -m 4G \ | |
-device virtio-vga-gl,hostmem=4G,blob=true,venus=true \ | |
-vga none \ | |
-display gtk,gl=on,show-cursor=on,zoom-to-fit=off \ | |
-usb -device usb-tablet \ | |
-object memory-backend-memfd,id=mem1,size=4G \ | |
-machine memory-backend=mem1 \ | |
-audio pa,model=virtio \ | |
-drive file=fedora.qcow2,format=qcow2,if=virtio \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment