NAME

Tazinst - Tiny autonomous zone installer manager

SYNTAX

tazinst [command] [option]

DESCRIPTION

Tazinst is a lightweight SliTaz HDD installer (~ 31 KB). It installs SliTaz to a hard drive from a Live-CD, a LiveUSB key, a SliTaz ISO image, or from the web by downloading a stable, cooking or rolling version or by giving the http link of another iso (eg: Development ISO).

Tazinst can format the target partition to ext2, ext3, ext4 or other formats if the matching packages are installed. The home partition can be installed on another partition and if need be, formatted before installation into any one of the available formats. Tazinst may upon request install the Grub bootloader in the MBR of the target disk. A dual-boot with an existing Windows© partition is possible, finding the Windows© partition can either be done automatically or manually specified.

Tazinst can also update SliTaz installed on a hard disk partition which is handy in case of version changes. In this case, Slitaz is updated, data in /home is preserved and additional packages are reinstalled on to the new version.

Tazinst was created independently for the needs of the SliTaz GNU/Linux mini distribution.

Tazinst is written from scratch in shell script and is compatible with Busybox Ash and Bash. Tazinst is licensed under the GNU Free gpl v3.

SETUP FILE

Tazinst installer is able to perform an installation automatically based on a simple setup file with clear variables such as: INST_TYPE="iso", TGT_PARTITION="/dev/hda1". With this way, it allows developers to create a different kind of frontend: Dialog, GTK and CGI/web in TazPanel. The frontend just has to create a setup file and start the cmdline installer and report steps in a nice way (progress bar or/and messages).

The setup file contains the following variables:

Note that only variables preceded by a asterisk are mandatory, others are optional. Thus a minimal setup file can be:

INST_TYPE=cdrom
TGT_PARTITION=/dev/hda3

This file will install SliTaz on /dev/hda3 formatting the partition from a LiveCD.

COMMANDS

new

Generates a new self-documenting setup file which when edited as required by the user will install or update SliTaz to a hard drive.

tazinst new /var/lib/tazinst.conf

install

Performs a SliTaz install on a HDD based on data in the setup file. If you decide to format your HDD, all data will be lost. If you do not format, all data except for any existing /home directory will be removed, the home directory will be kept as is.

tazinst install /var/lib/tazinst.conf

upgrade

Upgrade an existing SliTaz system on a HDD based on data in the setup file. Your /home /etc /var/www directories will be kept, all other directories will be removed. Any additional package added to your old Slitaz system will be updated as long you have an active internet connection.

tazinst upgrade /var/lib/tazinst.conf

showurl

Display the full URL of the predefined shortcuts: 'stable', 'cooking, 'rolling'.

Note: You may overwrite these shortcuts in the system file: /etc/slitaz/tazinst.conf.

tazinst showurl stable

check

Check a setup file for errors.

tazinst check /var/lib/tazinst.conf

log

Display the last log file contents and exit.

tazinst log

version

Print the version information and exit.

tazinst version

SYSTEM FILE

The /etc/slitaz/tazinst.conf configuration file allows you to change the default settings of tazinst, if you want to use custom values for URLs, directories and files, you'll have to create one and modify the following variables:

MAINTAINERS

Christophe Lincoln <pankso at slitaz.org>
Dominique Corbex <domcox at slitaz.org>