2012-02-11

Slitaz -- tazinst




Tazinst Manual
file:///usr/share/doc/slitaz-tools/tazinst.html

NAME

Tazinst - Tiny autonomous zone installer manager

SYNTAX

tazinst [command] [configuration file]
DESCRIPTION

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

Usage:
tazinst [command] [config-file]

Commands:
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]
INST_TYPE="cdrom"

# 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
SRC_FILE=""

# Install Target (Root Partition).
TGT_PARTITION="/dev/hda5"

# 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)
TGT_FS="ext3"

# 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.
TGT_HOME=""
# Home File system (if /home is on a separate partition)
TGT_HOME_FS=""

# Hostname
TGT_HOSTNAME="slitaz"

# 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.
TGT_ROOT_PWD="root"

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

# Grub bootloader
# install grub [yes|no]
TGT_GRUB="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
TGT_MENU_PARTITION=""

# 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
TGT_WINBOOT=""

tux@slitaz:~$
.