Created
March 29, 2019 13:26
-
-
Save dbolser/4cd3ba5bdd884be47a60d0b94ad3a582 to your computer and use it in GitHub Desktop.
This file contains 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
# -serial stdio: redirect the virtual hosts stdio to my console | |
cur=$(pwd) | |
sudo qemu-system-arm \ | |
-m 2048 \ | |
-M virt \ | |
-cpu cortex-a15 \ | |
-nographic \ | |
-kernel ${cur}/archlinux-latest/zImage \ | |
-append "root=/dev/vda1 rootfstype=ext4 rw" \ | |
-initrd ${cur}/archlinux-latest/initramfs-linux.img \ | |
-drive "file=${cur}/archlinux-latest/armbox.img,if=none,id=hd0,format=raw" \ | |
-device virtio-blk-device,drive=hd0 \ | |
-netdev "user,id=n0" \ | |
-device virtio-net-device,netdev=n0 \ | |
-netdev "bridge,id=n1,br=vmboxnet" \ | |
-device virtio-net-device,netdev=n1 \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment