Created
October 23, 2025 23:10
-
-
Save chapmanjacobd/90e44ddb546bcf1394f72803452be271 to your computer and use it in GitHub Desktop.
raspios qemu bios
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
| /bin/qemu-system-arm64 \ | |
| -name raspios-lite,process=raspios-lite \ | |
| -machine virt,accel=kvm \ | |
| # -cpu cortex-a72 \ | |
| -cpu max \ | |
| -smp cores=3 \ | |
| -m 4G \ | |
| -device virtio-balloon \ | |
| -pidfile raspios-lite.pid \ | |
| -rtc base=utc,clock=host \ | |
| -device virtio-rng-pci,rng=rng0 \ | |
| -object rng-random,id=rng0,filename=/dev/urandom \ | |
| -device qemu-xhci,id=spicepass \ | |
| -chardev spicevmc,id=usbredirchardev1,name=usbredir \ | |
| -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1 \ | |
| -chardev spicevmc,id=usbredirchardev2,name=usbredir \ | |
| -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2 \ | |
| -chardev spicevmc,id=usbredirchardev3,name=usbredir \ | |
| -device usb-redir,chardev=usbredirchardev3,id=usbredirdev3 \ | |
| -device pci-ohci,id=smartpass \ | |
| -device usb-ccid \ | |
| -chardev spicevmc,id=ccid,name=smartcard \ | |
| -device ccid-card-passthru,chardev=ccid \ | |
| -device usb-ehci,id=input \ | |
| -device usb-kbd,bus=input.0 \ | |
| -k en-us \ | |
| -device usb-tablet,bus=input.0 \ | |
| -audiodev pa,id=audio0 \ | |
| -device intel-hda \ | |
| -device hda-micro,audiodev=audio0 \ | |
| -device virtio-net,netdev=nic \ | |
| -netdev user,hostname=raspios-lite,hostfwd=tcp::22221-:22,id=nic \ | |
| -bios /usr/share/ovmf/OVMF.fd \ | |
| -device virtio-blk-pci,drive=SystemDisk \ | |
| -drive id=SystemDisk,if=none,format=raw,file=2025-10-01-raspios-trixie-arm64-lite.img \ | |
| -monitor unix:raspios-lite-monitor.socket,server,nowait \ | |
| -serial unix:raspios-lite-serial.socket,server,nowait \ | |
| -nographic -serial mon:stdio |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment