Mounting the Joggler OS Image

Introduction
You may find it useful to create a mount of the Joggler File system on another (Unix) computer. O2 have provided a zip of the file system which we can grab (you may want to double check they didn't release a new version since I wrote this doc).

Shell script
wget http://o2.openpeak.co.uk/firmware/app-o2flash-24514.8353-S2-f1-reimage.tgz # Grab the image

tar xvf app-o2flash-24514.8353-S2-f1-reimage.tgz # Untar the image

dd if=/dev/zero of=myimage bs=1000 count=0 seek=500000 # Create a dummy partition

losetup /dev/loop0 myimage # Fake a block device

mkfs.ext2 /dev/loop0 # Make the file system

tools/bin/partimage -z2 restore /dev/loop0 payload/image.myg # Restore the image (tool from http://partimage.sourceforge.net/)

losetup -d /dev/loop0 # Remove the loop back

mkdir /mnt/jogglerfs # Create a mount point

mount -t ext2 -o loop myimage /mnt/jogglerfs # Mount the image we created

cd /mnt/jogglerfs # Lets look at directory

ls -l # Take a gander

Props
Thanks Mark

Ref: http://milesburton.com/index.php/Mounting_the_O2_Joggler_Filesystem

[A Live Mounted Joggler Filesystem]