On 10/19/11 10:31, Jason Hsu wrote: > One of my challenges in developing Swift Linux is providing preinstalled OpenOffice/LibreOffice WHILE keeping the ISO file small enough to fit onto a CD (under 700 MB). So far, I've been able to do it by cutting features that I consider to be redundant or less essential. Examples include support for languages other than English, extra window managers, extra themes, command-line-only tools that the average Linux user doesn't use, etc. > > Is there a way I can squeeze a given amount of data into a smaller ISO file WITHOUT negative ramifications? > > The two main steps that the antiX Linux remastering script (which the Swift Linux remastering scripts are based on) uses to create the ISO file are: > 1. make_squashfs $1: The command is "mksquashfs $1 new-iso/antiX/antiX -noappend". This creates an executable file on the CD. > 2. make_iso $ISONAME: The command is "mkisofs -l -J -pad -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/isolinux.cat -o $1 $REM/new-iso && isohybrid $1 $REM/new-iso". > > All of my remastering scripts are on GitHub at https://github.com/swiftlinux/1-build. (NOTE: I will soon be adding a "z-antix-" to the beginning of each repository name as I switch from an antiX Linux base to a Linux Mint Debian Edition base.) > Using lzma2 (xz) will save you 150 MB on a 700 MB iso versus gzip, at the expense of increasing creation time about 10x, as well as increasing memory requirements for decompression. That should be enough space to include libre. -- Thanks, Josh Paetzel