Skip to content

Instantly share code, notes, and snippets.

@corusm
Created February 4, 2021 19:28
Show Gist options
  • Save corusm/eb10c104258af81cb4685e80b33ebde1 to your computer and use it in GitHub Desktop.
Save corusm/eb10c104258af81cb4685e80b33ebde1 to your computer and use it in GitHub Desktop.
Config for Raspbian QEMU/KVM VM
#!/bin/bash
sudo qemu-system-arm \
-kernel ./kernel-qemu-4.4.34-jessie \
-append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" \
-hda raspbian-jessie.qcow \
-vga std \
-cpu arm1176 -m 256 \
-M versatilepb \
-no-reboot \
-serial stdio \
-net nic \
-net user,hostfwd=::1234-:22 \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment