Slackware-Live

 

1 CD = £2.00

How to create own LiveCD

At first, install your favourite Linux distribution to the disk. CRAM filesystem is limited to 250MB for each image file, so all of your root directories (for example /opt or /usr) have to be smaller than (approximately) 500MB. If any of your directories overflows the limit, it won't be possible to make cramfs image.

If you are planing to install Slackware distribution for your LiveCD, you can use the tagfiles (included in my scripts) to install only the same applications like I did for Slackware-LiveCD.

After installing your favourite Linux, download my scripts and unpack them somewhere in /tmp. Next, you can start the ./runme script. It will run all the scripts described below, which will produce the ISO image of your LiveCD.

The runme script calls following scripts to create the CD:

./delete_mess ... called only if marked as executable (chmod a+x ./delete_mess). It should be used only for Slackware 9.0 distribution. On my system it deletes 200MB of unused files, so the final size of all stored data is about 480MB for me.

./compress_executables ... all executable binaries in /usr and /opt are compressed by upx. Then, when you need to run the binary, it's automatically uncompressed in /tmp and is started from there. It can take up to 10 minutes or more to complete.

./images_cram ... create CRAM files (compressed images of your root directories, like /usr, /opt, /lib, etc...). You need to have mkcramfs program compiled and installed or you can use mkfs.cramfs from Slackware distribution (/sbin/mkfs.cramfs). It can take up to 10 minutes to complete and you will probably need to activate your swap partition or have enough free RAM (250+ MB). Else it will fail. The ./runme script activates your swap automatically, if you have one. Packed directories are stored in /tmp/liveCD_data/*.img. (you can change the directory in ./settings)

./initrd/initrd_create ... This scripts should be used only with Slackware distribution installed, in other case I recommend you to only look at it as an example how the initrd image could be organized. It will create /initrd.img.gz, the rootdisk image, which contains all init scripts and will be loaded at the boot time to your computer's RAM.

/tmp/liveCD_data/create_bootiso is called at the end to generate the ISO image of your LiveCD. It will be created in /tmp/liveCD.iso

Done. Burn it & boot it :-)

Click Me!
website promotion