Mounting the Joggler OS Image

From Joggler
Jump to: navigation, search


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 # 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

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


Thanks Mark


[A Live Mounted Joggler Filesystem]