Run with QEMU
-
Download
kernel-qemu-4.14.79-stretch
andversatile-pb.dtb
at dhruvvyas90/qemu-rpi-kernel . -
Download Raspbian Stretch at the official site. I use ’lite’ version, but other version should be fine.
Download kernel-qemu-4.14.79-stretch
and versatile-pb.dtb
at dhruvvyas90/qemu-rpi-kernel
.
Download Raspbian Stretch at the official site. I use ’lite’ version, but other version should be fine.
With newer version of losetup, you can easy map parition in image file to /dev/loop*.
$ sudo losetup --show -Pf <imagefile>
/dev/loop0
The output will show which loop device has been mapped to image file. Now you can mount partition of it.
Example:
$ sudo mount /dev/loop0p1 /mnt