Generate a LiveCD flavor

Tazlito - SliTaz Live Tool

Tazlito is a tool to help generate and configure SliTaz LiveCD ISO images. You can create a custom distro in two commands from a list of packages and a flavor file, extract an existing ISO image to hack it, create new initramfs and/or a new ISO. Most commands must be run by root, except the stats and the configuration file manipulation. Like other SliTaz tiny utils, you can simply type tazlito usage in a terminal to get a list of all commands with a short description in English.

Get a flavor

SliTaz LiveCD can easily be rebuilt using Tazlito flavor support. A special LiveCD flavor can be built from the LiveCD/RAM itself or from an installed system. If you want to rebuild SliTaz from the LiveCD you need at least 256 Mb of RAM and we recommend that you store the file on persistent media (USB key, HD, etc). To start you need to get a flavor file from a SliTaz mirror, open a Xterm, become root administrator and get the default core system:

 # tazlito get-flavor core

Generate your own distro

The command get-flavor will download the core flavor, giving you a description and a list of packages in the current directory with some additional files in /home/slitaz/distro/addfiles (JWM menu, wallpapers, hacker files). From now on you can add or remove packages in the list (distro-packages.list), modify configuration files (tazlito.conf) and optionally modify additional files. Then simply generate a LiveCD ISO image:

 # tazlito gen-distro

The LiveCD ISO image, root filesystem (rootfs) and the content of the CD (rootcd) are in /home/slitaz/distro. All repacked or downloaded packages are stored by default in /home/slitaz/packages. If you want to chroot in the rootfs to preconfigure the system, add more files in the rootcd directory or add users, you just have to rebuild initramfs and the ISO image to generate your new LiveCD:

 # tazlito gen-initiso

Burn ISO and gen a flavor file

Tazlito can also burn the LiveCD and/or create a flavor file to keep your modifications:

 # tazlito burn-iso
 # tazlito gen-flavor
Copyright © 2008 SliTaz - GNU General Public License;
Documentation is under GNU Free Documentation License and code is valid xHTML 1.0.