Sparky ARM edition can be tested via Virt-Manager.
sparky-armhf image kernel unzip git virtinst (or virt-manager)
Download zipped Sparky ARMHF image from our official page.
Unzip the GUI Edition:
unzip sparkylinux-VER-armhf.zip
or CLI Edition:
unzip sparkylinux-VER-armhf-cli.zip
Download an ARM kernel to run the image in QEMU, using git:
git clone https://github.com/dhruvvyas90/qemu-rpi-kernel.git
Place one of the kernels in the same directory where unzipped Sparky image is already placed.
virt-install \
--name USER \
--arch armv6l \
--machine versatilepb \
--cpu arm1176 \
--vcpus 1 \
--memory 256 \
--import \
--disk sparkylinux-VER-armhf.img,format=raw,bus=virtio \
--network user,model=virtio \
--video vga \
--graphics spice \
--rng device=/dev/urandom,model=virtio \
--boot 'dtb=versatile-pb.dtb,kernel=kernel-qemu-4.14.79-stretch,kernel_args=root=/dev/vda2 panic=1' \
--events on_reboot=destroy \
--check path_in_use=off
or the CLI Version:
virt-install \
--name USER \
--arch armv6l \
--machine versatilepb \
--cpu arm1176 \
--vcpus 1 \
--memory 256 \
--import \
--disk sparkylinux-VER-armhf-cli.img,format=raw,bus=virtio \
--network user,model=virtio \
--video vga \
--graphics spice \
--rng device=/dev/urandom,model=virtio \
--boot 'dtb=versatile-pb.dtb,kernel=kernel-qemu-4.14.79-stretch,kernel_args=root=/dev/vda2 panic=1' \
--events on_reboot=destroy \
--check path_in_use=off