- 7z: used to unpack iso file;
- unsquashfs: unpack squashfs file. Ex: rootfs, desktopfs, etc...;
- mksquashfs: pack folder into squashfs file;
- grub-mkrescue: used to repack folder into bootable iso file by reading files in "grub" folder and others boot files.
mkdir -v iso_root
cd iso_root
7z x [location to the distro iso file]
find . -name "*.sfs"
choose your squashfs file to modify and unpack it
mkdir -v lab_sfs
unsquashfs -d lab_sfs [location to the .sfs file]
after done modifying squashfs file(s), repack it
mksquashfs [location to the unpacked squashfs folder] [output filename]
NOTE: name it with the original squashfs filename. And then move or copy it to the original directory.
grub-mkrescue -o [output filename] iso_root
After all done, enjoy your modifield iso installer :)