slitaz-doc-wiki-data diff pages/en/handbook/liveusb.txt @ rev 7
Add pages/en folder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 26 12:17:18 2011 +0000 (2011-02-26) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pages/en/handbook/liveusb.txt Sat Feb 26 12:17:18 2011 +0000 1.3 @@ -0,0 +1,36 @@ 1.4 +====== LiveUSB media ====== 1.5 +===== Tazusb - Live USB Tool ===== 1.6 + 1.7 +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]]. 1.8 + 1.9 +=== Generate your own LiveUSB media === 1.10 + 1.11 +To generate your own LiveUSB media, first you need to login as //root// with //su// and locate your usb storage device using the command: 1.12 + 1.13 +<code># fdisk -l # normally /dev/sdb1 </code> 1.14 + 1.15 +Then format and label your device (Warning: this will erase all data, make sure you specify the right device): 1.16 + 1.17 +<code> # tazusb format /dev/sdb1 </code> 1.18 + 1.19 +And finally generate your LiveUSB media device: 1.20 + 1.21 +<code> # tazusb gen-liveusb /dev/sdb1 </code> 1.22 + 1.23 +And that's all you need to do, you can now boot SliTaz from usb media (providing your computer bios supports this method). 1.24 + 1.25 +=== Maintaining system settings === 1.26 + 1.27 +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: 1.28 + 1.29 + * fast compression, average filesize: <code> # tazusb writefs gzip </code> 1.30 + * slow compression, smaller filesize: <code> # tazusb writefs lzma </code> 1.31 + * no compression, larger filesize: <code> # tazusb writefs none </code> 1.32 + 1.33 +Each of these writes everything to a '//rootfs.gz//' archive to be loaded the next time you boot. 1.34 + 1.35 +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//. 1.36 + 1.37 +=== Tazusb Manual === 1.38 + 1.39 +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. 1.40 \ No newline at end of file