G_OS6_1_FILE="/boot/Sailfish/boot/vmlinuz-3.5.3-1.1.1-n950"
6. Create an ext4 filesystem image of the desired OS. You can do this in Harmattan like this: dd if=/dev/zero of=/home/user/MyDocs/boot/sailfish.img bs=1024M seek=1 count=0 /sbin/mkfs.ext4 /home/user/MyDocs/boot/sailfish.img mount -o loop /home/user/MyDocs/boot/sailfish.img /mnt/ tar -xf sailfish-image.tar.bz2 --numeric-owner -C /mnt/ cp /mnt/boot/vmlinuz-3.5.3-1.1.1-n950 /home/user/MyDocs/boot/ umount /mnt
cd /home/user/MyDocs/boot/ xz -d sailfish-hv-1.1.0.39-20141110.img.xz mv sailfish-hv-1.1.0.39-20141110.img sailfish.img mv vmlinuz-3.5.3-1.1.1-n950-sailfish vmlinuz-3.5.3-1.1.1-n950