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

doc: add anchors
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 10 07:35:42 2009 +0000 (2009-04-10)
parents 302a38794977
children ff2c55121408
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="fr" lang="fr">
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-03-05 00:16:42" />
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]
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". 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 <a name="usage"></a>
52 <h3><font color="#6c0023">usage</font></h3>
53 <p>
54 The command 'usage' will display a short summary of all avalaible commands.
55 </p>
56 <pre>
57 # tazusb usage
58 </pre>
60 <a name="writefs"></a>
61 <h3><font color="#6c0023">writefs</font></h3>
62 <p>
63 The command 'writefs' will take the current memory resident filesystem and create a "rootfs.gz". 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 automaticaly, so you should periodically delete these to keep disk usage down.
64 </p>
65 <p>
66 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 commiting permanent changes to the filesystem.
67 </p>
68 <pre>
69 # tazusb writefs compression
70 </pre>
71 Example:
72 <pre>
73 # tazusb writefs lzma
74 </pre>
76 <a name="format"></a>
77 <h3><font color="#6c0023">format</font></h3>
78 <p>
79 The command 'format' is used for formatting a device for use as a LiveUSB device. Currently, it only supports formatting as EXT3.
80 </p>
81 <pre>
82 # tazusb format /dev/name
83 </pre>
84 Example:
85 <pre>
86 # tazusb format /dev/sda1
87 </pre>
89 <a name="gen-liveusb"></a>
90 <h3><font color="#6c0023">gen-liveusb</font></h3>
91 <p>
92 "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.
93 </p>
94 <pre>
95 # tazusb gen-liveusb /dev/name
96 </pre>
97 Example:
98 <pre>
99 # tazusb gen-liveusb /dev/sda1
100 </pre>
101 <!-- End content -->
102 </div>
103 </body>
104 </html>