qemu_alpine
-
Download alpine linux from https://alpinelinux.org/downloads/ choosing "Standard", "x86_64" *
qemu-system-x86_64 -m 512 -nic user -boot d -cdrom alpine-standard-3.18.3-x86_64.iso -hda alpine.qcow2 -display gtk
-
Download the Raspberry Pi OS (formerly called "Raspbian") image (img) file from https://www.raspberrypi.com/software/operating-systems/
- For this example, I chose "Raspberry Pi OS Lite"
- Download a kernel from https://github.com/dhruvvyas90/qemu-rpi-kernel
- Create
dos qemu-img.exe create rpi.img 20G –f raw
- GET:
Formatting 'rpi.img', fmt=raw size=21474836480
- Run
qemu-system-arm -kernel kernel-qemu-4.4.34-jessie -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append “root=/dev/sda2 panic=1 rootfstype=ext4 rw init=/bin/bash" -drive “file=bullseye.img,index=0,media=disk,format=raw" -redir tcp:2222::22"
- Run
qemu-system-arm -cpu help