Skip to content

Instantly share code, notes, and snippets.

@mcrmonkey
Created July 11, 2016 16:37
Show Gist options
  • Save mcrmonkey/df0a4a579c47b46ed12979a103524e1c to your computer and use it in GitHub Desktop.
Save mcrmonkey/df0a4a579c47b46ed12979a103524e1c to your computer and use it in GitHub Desktop.
Rough process for re-gen'ing tinycore ISO image
##### EXTRACT: zcat ../change/boot/core.gz |cpio -i -H newc -d
######
## CREATE
cd fs
rm ../new.gz
find | cpio -o -H newc |gzip -9 > ../new.gz
cd ../
cp ./new.gz ./change/boot/core.gz
genisoimage -l -J -r -V Diags -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -o new.iso change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment