mkdir -p /mnt/home/workingdirectory
cp -a /initrd/pup_ro2/* /mnt/home/workingdirectory
mkdir -p /mnt/home/remasterdirectory
cd /mnt/home
mksquashfs workingdirectory remasterdirectory/puppyremaster.sfs -noappend
cd /mnt/home
mkisofs -b isolinux.bin -c boot.cat -D -l -R -v -V "Puppy Linux remaster" -no-emul-boot -boot-load-size 4 -boot-info-table -o "newpuppy.iso" remasterdirectory