website view en/doc/handbook/liveusb.html @ rev 38

Add Hacking LiveCD to Handbook (en)
author Paul Issott <paul@slitaz.org>
date Fri May 02 23:14:11 2008 +0000 (2008-05-02)
parents 3d16769fca06
children 9e30e64c8198
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>SliTaz Handbook (en) - LiveUSB media</title>
6 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
7 <meta name="description" content="slitaz English handbook liveUSB bootable media" />
8 <meta name="expires" content="never" />
9 <meta name="modified" content="2008-03-09 22:30:00" />
10 <meta name="publisher" content="www.slitaz.org" />
11 <meta name="author" content="Paul Issot"/>
12 <link rel="shortcut icon" href="favicon.ico" />
13 <link rel="stylesheet" type="text/css" href="book.css" />
14 </head>
15 <body bgcolor="#ffffff">
17 <!-- Header and quick navigation -->
18 <div id="header">
19 <div align="right" id="quicknav">
20 <a name="top"></a>
21 <a href="hacking-livecd.html">Hacking LiveCD</a> |
22 <a href="index.html">Table of contents</a>
23 </div>
24 <h1><font color="#3E1220">SliTaz Handbook (en)</font></h1>
25 </div>
27 <!-- Content. -->
28 <div id="content">
29 <div class="content-right"></div>
31 <h2><font color="#DF8F06">LiveUSB media</font></h2>
33 <a name="tazusb"></a>
34 <h3>Tazusb - Live USB Tool</h3>
35 <p>
36 Tazusb is a tool that can create bootable usb media with a few simple commands.
37 It can also compress and backup the entire current filesystem to the media,
38 thus preserving all modifications for future use. Type <code>tazusb usage</code>
39 for a full list of commands or read
40 <a href="http://www.slitaz.org/en/doc/manuals/tazusb.en.html">TazUSB manual</a>.
41 </p>
42 <h4>Generate your own LiveUSB media</h4>
43 <p>
44 To generate your own LiveUSB media, first you need to login as root with
45 <code>su</code> and locate your usb storage device using the command:
46 </p>
47 <pre># fdisk -l # normally /dev/sda1
48 </pre>
49 <p>
50 Then format and label your device
51 (<em>Warning</em>: this will erase all data, make sure you specify the right device):
52 </p>
53 <pre># tazusb format /dev/sda1
54 </pre>
55 <p>
56 And finally generate LiveUSB media device:
57 </p>
58 <pre># tazusb gen-liveusb /dev/sda1
59 </pre>
60 <p>
61 And that's all you need to do, you can now boot SliTaz from usb media (providing
62 your computer bios supports this method).
63 </p>
64 <h4>Maintaining system settings</h4>
65 <p>When you finish your LiveUSB session, make sure you maintain your installed
66 packages, system settings etc by backing up the entire current filesystem with:
67 </p>
68 <pre># tazusb writefs gzip
69 </pre>
70 <p>
71 This effectively compresses and backs up everything to 'rootfs.gz' to be
72 loaded the next time you boot.
73 </p>
74 <p>
75 If anything should go wrong when writing your filesystem, you can simply rollback
76 to your previous filesystem by typing 'previous' at the 'boot:' prompt. Older backups are
77 named 'rootfs.gz.unixtimestamp' and can be safely deleted from the /home folder to save disk space.
78 </p>
79 <h4>Tazusb Manual</h4>
80 <p>
81 The official Tazusb manual can be found in SliTaz
82 <a href="http://www.slitaz.org/en/doc/manuals/tazusb.en.html">Web site documentation</a>,
83 it contains a lot more useful information. The manual is also available through the documentation menu on the LiveCD.
84 </p>
85 <p>
86 The maintainer of Tazusb has also written a nice
87 <a href="http://www.custompc.co.uk/features/602451/make-any-pc-your-own-with-linux-on-a-usb-key.html">article</a>
88 about the utility.
89 </p>
91 <!-- End of content -->
92 </div>
94 <!-- Footer. -->
95 <div id="footer">
96 <div class="footer-right"></div>
97 <a href="#top">Top of the page</a> |
98 <a href="index.html">Table of contents</a>
99 </div>
101 <div id="copy">
102 Copyright &copy; 2008 <a href="http://www.slitaz.org/en/">SliTaz</a> -
103 <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>;<br />
104 Documentation is under
105 <a href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a>
106 and code is <a href="http://validator.w3.org/">valid xHTML 1.0</a>.
107 </div>
109 </body>
110 </html>