tazusb view doc/tazusb.en.html @ rev 76

en.html: tiny edit
author Paul Issott <paul@slitaz.org>
date Sat Sep 18 12:56:34 2010 +0000 (2010-09-18)
parents 05f7526cbc27
children d08681b315ea
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>
36 <h2>SYNTAX</h2>
37 <pre>
38 tazusb [command] [compression|device|file]
39 </pre>
40 <h2>DESCRIPTION</h2>
41 <p>
42 TazUSB is a utility designed for installing SliTaz to a USB drive. Unlike a
43 hard drive install, the filesystem is kept in a compressed "rootfs.gz" file.
44 The filesystem is loaded entirely into memory upon boot. This should increase
45 responsiveness, protect the filesystem against accidental corruption and
46 reduce read/writes to the USB drive. Once setup, this utility can also
47 rewrite the root filesystem with any changes you have made since booting up,
48 giving the effective benefits of a hard drive install.
49 </p>
50 <p>
51 TazUSB supports FAT32/EXT3/EXT2 formatted drives using SYSLINUX and EXTLINUX
52 respectively. "/home" is mounted on boot using the UUID of your particular
53 flash drive. Unlike a device name, the UUID has the benefit of never changing
54 from machine to machine.
55 </p>
56 <h2>COMMANDS</h2>
57 <a name="usage"></a>
58 <h3><font color="#6c0023">usage</font></h3>
59 <p>
60 The command 'usage' will display a short summary of all available commands.
61 </p>
62 <pre>
63 # tazusb usage
64 </pre>
65 <a name="writefs"></a>
66 <h3><font color="#6c0023">writefs</font></h3>
67 <p>
68 The command 'writefs' will take the current memory resident filesystem and
69 create a "rootfs.gz" file. If your flash drive is mounted as /home (as it
70 should be), the new filesystem will be copied to the drive for you, otherwise
71 it is left on the root of the drive. Your previous filesystem will be renamed
72 to "previous.gz" and can be accessed on bootup by typing "previous" at the
73 "boot:" prompt. All previous filesystems are renamed to
74 rootfs.gz.unixtimestamp. These are not removed automatically, so you should
75 periodically delete these to keep disk usage down.
76 </p>
77 <p>
78 Filesystem compression is supported in the form of lzma, gzip or none.
79 Using no compression is very quick (under 5 seconds) and useful if you are
80 experimenting with a lot of changes. By comparison, using lzma or gzip takes
81 a few minutes but will dramatically reduce file size. This is recommended when
82 committing permanent changes to the filesystem.
83 </p>
84 <pre>
85 # tazusb writefs compression
86 </pre>
87 Example:
88 <pre>
89 # tazusb writefs lzma
90 </pre>
91 <a name="format"></a>
92 <h3><font color="#6c0023">format</font></h3>
93 <p>
94 The command 'format' is used for formatting a device for use as a LiveUSB
95 device. Currently, it supports formatting as EXT2, EXT3 and FAT32.
96 </p>
97 <pre>
98 # tazusb format /dev/name
99 </pre>
100 Example:
101 <pre>
102 # tazusb format /dev/sda1
103 </pre>
104 <a name="gen-liveusb"></a>
105 <h3><font color="#6c0023">gen-liveusb</font></h3>
106 <p>
107 "gen-liveusb" will install a fresh MBR, set your partition as bootable and
108 install syslinux/extlinux depending on the detected filesystem. It will then
109 copy the kernel and filesystem from the CDROM drive, and place this on the
110 target USB drive. This will leave you with a bootable USB copy of SliTaz.
111 </p>
112 <pre>
113 # tazusb gen-liveusb /dev/name
114 </pre>
115 Example:
116 <pre>
117 # tazusb gen-liveusb /dev/sda1
118 </pre>
119 <a name="gen-swap"></a>
120 <h3><font color="#6c0023">gen-swap</font></h3>
121 <p>
122 The 'gen-swap' command re/creates a virtual swap file and places
123 it in the /home directory to be activated on each boot. This is useful
124 for old systems with low memory.
125 </p>
126 <pre> # tazusb gen-swap
127 </pre>
128 <a name="gen-iso2usb"></a>
129 <h3><font color="#6c0023">gen-iso2usb</font></h3>
130 <p>
131 This command performs the same task as gen-liveusb, only copying the Kernel
132 and filesystem from a downloaded ISO image instead of the CDROM drive.
133 </p>
134 <pre> # tazusb gen-iso2usb /path/to/iso
135 </pre>
136 Example:
137 <pre> # tazusb gen-iso2usb /home/tux/slitaz.iso
138 </pre>
139 <a name="clean"></a>
140 <h3><font color="#6c0023">clean</font></h3>
141 <p>
142 "clean" removes old rootfs.gz.unixtimestamp filesystems (see writefs)
143 to keep disk usage down.
144 </p>
145 <pre> # tazusb clean
146 </pre>
147 <h2>MAINTAINER</h2>
148 <p>
149 Eric Joseph-Alexandre &lt;erjo at slitaz.org&gt;
150 </p>
152 <!-- End content -->
153 </div>
154 </body>
155 </html>