website view en/doc/manuals/tazusb.en.html @ rev 359

fr: Remove stable Handbook (Archived + 2 book is a lot of work)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 10 12:02:57 2009 +0200 (2009-04-10)
parents 4fc4af3cd0cc
children 182c0a29a432
line source
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5 <title>TazUSB - SliTaz Live utility English manual</title>
6 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
7 <meta name="description" content="slitaz bootable media LiveUSB key hd SD card" />
8 <meta name="expires" content="never" />
9 <meta name="modified" content="2008-07-18 20:00:00" />
10 <style type="text/css"><!--
11 body { font: 90% sans-serif, vernada, arial; margin: 0; }
12 #header { background: #f0ba08; color: black; height: 50px;
13 border-top: 1px solid black; border-bottom: 1px solid black; }
14 #content { margin: 0px 50px 26px 50px; }
15 h1 { margin: 14px 0px 0px 16px; }
16 li { line-height: 1.4em; }
17 pre { padding: 5px; color: black; background: #e1e0b0; }
18 pre.script { padding: 10px; color: black; background: #e8e8e8;
19 border: 1px inset #333333; }
20 code { font-size: 100%; color: #669900; background: transparent; }
21 hr { color: white; background: white; height: 1px; border: 0; }
22 --></style>
23 </head>
24 <body bgcolor="#ffffff">
25 <div id="header">
26 <h1><font color="#3e1220">TazUSB Manual</font></h1>
27 </div>
28 <hr />
29 <!-- Start content -->
30 <div id="content">
32 <h2>NAME</h2>
33 <p>
34 TazUSB - SliTaz LiveUSB utility
35 </p>
37 <h2>SYNTAX</h2>
38 <pre>
39 tazusb [command] [compression|device|file]
40 </pre>
42 <h2>DESCRIPTION</h2>
43 <p>
44 TazUSB is a utility designed for installing SliTaz to a USB drive. Unlike a hard drive install, the filesystem is kept in a compressed "rootfs.gz" file. The filesystem is loaded entirely into memory upon boot. This should increase responsiveness, protect the filesystem against accidental corruption and reduce read/writes to the USB drive. Once setup, this utility can also rewrite the root filesystem with any changes you have made since booting up, giving the effective benefits of a hard drive install.
45 </p>
46 <p>
47 TazUSB supports both FAT32/EXT3 formatted drives using SYSLINUX and EXTLINUX respectively. "/home" is mounted on boot using the UUID of your particular flash drive. Unlike a device name, the UUID has the benefit of never changing from machine to machine.
48 </p>
50 <h2>COMMANDS</h2>
51 <h3><font color="#6c0023">usage</font></h3>
52 <p>
53 The command 'usage' will display a short summary of all available commands.
54 </p>
55 <pre>
56 # tazusb usage
57 </pre>
59 <h3><font color="#6c0023">writefs</font></h3>
60 <p>
61 The command 'writefs' will take the current memory resident filesystem and create a "rootfs.gz" file. If your flash drive is mounted as /home (as it should be), the new filesystem will be copied to the drive for you, otherwise it is left on the root of the drive. Your previous filesystem will be renamed to "previous.gz" and can be accessed on bootup by typing "previous" at the "boot:" prompt. All previous filesystems are renamed to rootfs.gz.unixtimestamp. These are not removed automatically, so you should periodically delete these to keep disk usage down.
62 </p>
63 <p>
64 Filesystem compression is supported in the form of lzma, gzip or none. Using no compression is very quick (under 5 seconds) and useful if you are experimenting with a lot of changes. By comparison, using lzma or gzip takes a few minutes but will dramatically reduce file size. This is recommended when committing permanent changes to the filesystem.
65 </p>
66 <pre>
67 # tazusb writefs compression
68 </pre>
69 Example:
70 <pre>
71 # tazusb writefs lzma
72 </pre>
74 <h3><font color="#6c0023">format</font></h3>
75 <p>
76 The command 'format' is used for formatting a device for use as a LiveUSB device. Currently, it only supports formatting as EXT3.
77 </p>
78 <pre>
79 # tazusb format /dev/name
80 </pre>
81 Example:
82 <pre>
83 # tazusb format /dev/sda1
84 </pre>
86 <h3><font color="#6c0023">gen-liveusb</font></h3>
87 <p>
88 "gen-liveusb" will install a fresh MBR, set your partition as bootable and install syslinux/extlinux depending on the detected filesystem. It will then copy the kernel and filesystem from the CDROM drive, and place this on the target USB drive. This will leave you with a bootable USB copy of SliTaz.
89 </p>
90 <pre>
91 # tazusb gen-liveusb /dev/name
92 </pre>
93 Example:
94 <pre>
95 # tazusb gen-liveusb /dev/sda1
96 </pre>
98 <h3><font color="#6c0023">gen-swap</font></h3>
99 <p>
100 The 'gen-swap' command re/creates a virtual swap file and places
101 it in the /home directory to be activated on each boot. This is useful
102 for old systems with low memory.
103 </p>
104 <pre> # tazusb gen-swap
105 </pre>
107 <h3><font color="#6c0023">gen-iso2usb</font></h3>
108 <p>
109 This command performs the same task as gen-liveusb, only copying the Kernel
110 and filesystem from a downloaded ISO image instead of the CDROM drive.
111 </p>
112 <pre> # tazusb gen-iso2usb /path/to/iso
113 </pre>
114 Example:
115 <pre> # tazusb gen-iso2usb /home/tux/slitaz.iso
116 </pre>
118 <h3><font color="#6c0023">clean</font></h3>
119 <p>
120 "clean" removes old rootfs.gz.unixtimestamp filesystems (see writefs)
121 to keep disk usage down.
122 </p>
123 <pre> # tazusb clean
124 </pre>
126 <h2>MAINTAINER</h2>
127 <p>
128 Eric Joseph-Alexandre &lt;erjo at slitaz.org&gt;
129 </p>
131 <!-- End content -->
132 </div>
133 </body>
134 </html>