Created simple_mount_image.sh

pull/46/head
Dan Puttick 2017-01-06 14:11:07 -05:00
parent 52ee749a45
commit d5e73354c2
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#!/bin/bash
IMAGE='2016-05-12_CIRCLean.img'
OFFSET=$((512 * 131072))
mkdir /mnt/rpi
mount -v -o offset=${OFFSET} -t ext4 ${IMAGE} /mnt/rpi