rev |
line source |
slaxemulator@7
|
1 ====== LiveUSB media ======
|
slaxemulator@7
|
2 ===== Tazusb - Live USB Tool =====
|
slaxemulator@7
|
3
|
slaxemulator@7
|
4 Tazusb is a tool that can create bootable usb media with a few simple commands. It can also compress and backup the entire current filesystem to the media, thus preserving all modifications for future use. Type //tazusb usage// for a full list of commands or read the [[http://hg.slitaz.org/tazusb/raw-file/tip/doc/tazusb.en.html|TazUSB manual]].
|
slaxemulator@7
|
5
|
slaxemulator@7
|
6 === Generate your own LiveUSB media ===
|
slaxemulator@7
|
7
|
slaxemulator@7
|
8 To generate your own LiveUSB media, first you need to login as //root// with //su// and locate your usb storage device using the command:
|
slaxemulator@7
|
9
|
slaxemulator@7
|
10 <code># fdisk -l # normally /dev/sdb1 </code>
|
slaxemulator@7
|
11
|
slaxemulator@7
|
12 Then format and label your device (Warning: this will erase all data, make sure you specify the right device):
|
slaxemulator@7
|
13
|
slaxemulator@7
|
14 <code> # tazusb format /dev/sdb1 </code>
|
slaxemulator@7
|
15
|
slaxemulator@7
|
16 And finally generate your LiveUSB media device:
|
slaxemulator@7
|
17
|
slaxemulator@7
|
18 <code> # tazusb gen-liveusb /dev/sdb1 </code>
|
slaxemulator@7
|
19
|
slaxemulator@7
|
20 And that's all you need to do, you can now boot SliTaz from usb media (providing your computer bios supports this method).
|
slaxemulator@7
|
21
|
slaxemulator@7
|
22 === Maintaining system settings ===
|
slaxemulator@7
|
23
|
slaxemulator@7
|
24 When you finish your LiveUSB session, make sure you maintain your installed packages, system settings, etc, by backing up the entire current filesystem with one the following commands:
|
slaxemulator@7
|
25
|
slaxemulator@7
|
26 * fast compression, average filesize: <code> # tazusb writefs gzip </code>
|
slaxemulator@7
|
27 * slow compression, smaller filesize: <code> # tazusb writefs lzma </code>
|
slaxemulator@7
|
28 * no compression, larger filesize: <code> # tazusb writefs none </code>
|
slaxemulator@7
|
29
|
slaxemulator@7
|
30 Each of these writes everything to a '//rootfs.gz//' archive to be loaded the next time you boot.
|
slaxemulator@7
|
31
|
slaxemulator@7
|
32 If anything should go wrong when writing your filesystem, you can simply rollback to your previous filesystem by typing '//previous//' at the '//boot://' prompt. Older backups are named '//rootfs.gz.unixtimestamp//' and can be safely deleted from the ///home// folder to save disk space using //tazusb clean//.
|
slaxemulator@7
|
33
|
slaxemulator@7
|
34 === Tazusb Manual ===
|
slaxemulator@7
|
35
|
slaxemulator@7
|
36 The official Tazusb manual can be found in the SliTaz [[http://hg.slitaz.org/tazusb/raw-file/tip/doc/tazusb.en.html|Web site documentation]]; this contains a lot more useful information. The manual is also available through the documentation menu on the LiveCD. |