Slitaz -- tazinst

Tazinst Manual


Tazinst - Tiny autonomous zone installer manager


tazinst [command] [configuration file]

Tazinst is a lightweight SliTaz HDD installer (~ 29 KB). It installs SliTaz to a hard drive from a Live-CD, LiveUSB key, a SliTaz ISO image, or from the web by downloading a stable version, a cooking 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.

tux@slitaz:~$ tazinst --help

Tazinst - SliTaz installer - Version: 2.991

tazinst [command] [config-file]

usage Print this short usage.
install Install SliTaz on HDD using a configuration file.
upgrade Upgrade SliTaz on HDD using a configuration file.
config Generate a configuration file.
cli Install or upgrade using command line options:
-i Full Install (not upgrading, all present data will be lost).
-u Upgrade (Needs an active internet connection).
-t Install type (cdrom|usb|iso|web|weboot).
-s Source media (ex: file.iso|usb partition|web url).
-p Partition where SliTaz will be installed (ex:/dev/hda3).
-f Partition to be formatted (fs=ext2|ext3|ext4|etc..).
-g Install Grub.
-w Dual-boot a Windows partition (auto|hd, ex:hd0,0).
-d Debug mode.

tux@slitaz:~$ cat tazinst.conf
# tazinst.conf: SliTaz Installer configuration file.

# Install type : [cdrom|usb|iso|web|weboot]

# Install source
# usb:/dev/xxx, ex: SRC_FILE=/dev/sdb1
# iso:file.iso, ex: SRC_FILE=~/slitaz.3.0.iso
# web: url, ex: SRC_FILE=http://mirror.slitaz.org/iso/cooking/slitaz-cooking.iso
# web: predefined mirrors (stable|cooking|rolling), ex: SRC_FILE=cooking

# Install Target (Root Partition).

# Target File system.
# SliTaz uses ext3 by default but another filesystem can be used if wanted,
# for this please adjust your /etc/fstab after installation. Valid options are:
# (btrfs|ext2|ext3|ext4|fat16|fat32|hfs|hfs+|jfs|ntfs|reiser4|reiserfs|ufs|xfs)

# Home partition.
# On most GNU/Linux systems users personal files are stored in the directory
# /home. Home can be on another hard disk or on a separate partition.
# Home File system (if /home is on a separate partition)

# Hostname

# root password
# The root administrator privilege lets you manage and configure the full
# system. A root user can damage your system so you should always setup a
# strong password with special characters and/or numbers.

# The default user for the system will have his personal files stored
# in /home/*user* (and will be automatically added to the audio group).

# Grub bootloader
# install grub [yes|no]
# Where to find menu.lst (dedicated grub part. or multi-os install)
# If you don't know what to do, it's safe to leave it blank

# Windows dual-boot
# Dual boot is disabled if WINBOOT is empty: TGT_WINBOOT=""
# You may let tazinst find your win partition, mode=auto: TGT_WINBOOT="auto"
# or use manual setting: "hd[disk],[partition]" ex:TGT_WINBOOT=hd0,0