dotfiles/scripts/qemu/raspbian
2017-06-17 18:35:23 +02:00

14 lines
399 B
Bash
Executable file

#!/bin/bash
# Qemu script to start raspbian
qemu-system-arm \
-kernel /media/platvoeten/Downloads/kernel-qemu-4.4.34-jessie \
-cpu arm1176 \
-net user,hostfwd=tcp::2222-:22 \
-net nic \
-display none \
-m 256 \
-no-reboot \
-M versatilepb \
-serial stdio\
-append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" \
-drive "file=/media/platvoeten/VM/raspbian.img,index=0,media=disk,format=raw"