Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:handbook:liveusb [2013/03/12 19:35] linea |
en:handbook:liveusb [2014/11/14 14:39] brianperry |
||
---|---|---|---|
Line 8: | Line 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: | To generate your own LiveUSB media, first you need to login as //root// with //su// and locate your usb storage device using the command: | ||
- | <code># fdisk -l # normally /dev/sdb1 </code> | + | <code># fdisk -l /dev/sdxx </code> |
Then format and label your device (Warning: this will erase all data, make sure you specify the right device): | Then format and label your device (Warning: this will erase all data, make sure you specify the right device): | ||
- | <code> # tazusb format /dev/sdb1 </code> | + | <code> # tazusb format /dev/sdxx </code> |
- | And finally generate your LiveUSB media device: | + | And finally generate your LiveUSB media device with either: |
- | <code> # tazusb gen-liveusb /dev/sdb1 </code> | + | <code> # tazusb gen-liveusb /dev/sdxx </code> |
+ | (if you're working with a LiveCD as the install source) | ||
- | And that's all you need to do, you can now boot SliTaz from usb media (providing your computer bios supports this method). | + | OR |
- | === Maintaining system settings === | + | <code> # tazusb gen-iso2usb slitaz.iso /dev/sdxx </code> |
+ | (if you're working with an iso file as the install source) | ||
- | 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: | + | Note that the /dev/sdxx part of the command above specifies the location to where you need to write the iso's files to; it is not the source media where the iso is on ! With the iso file as install source option, you should hence specify the exact location where the slitaz iso source file is located. If it is located at /home/tux (while running slitaz from a non-live version), write "tazusb gen-iso2usb /home/tux/slitaz.iso /dev/sdxx". If the source file is found on an external hard disk, mention the folder in which the media's files are outputted to -check this with PCManFM (in practice the folder can be something like /media/disk). So, the command you'd need to write with the latter would be something like "tazusb gen-iso2usb /media/disk/slitaz.iso /dev/sdxx" |
- | * fast compression, average filesize: <code> # tazusb writefs gzip </code> | + | And that's all you need to do, you can now boot SliTaz from usb media (providing your computer bios supports this method). |
- | * slow compression, smaller filesize: <code> # tazusb writefs lzma </code> | + | |
- | * no compression, larger filesize: <code> # tazusb writefs none </code> | + | |
- | + | ||
- | Each of these writes everything to a '//rootfs.gz//' archive to be loaded the next time you boot. | + | |
- | + | ||
- | 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//. | + | |
=== Tazusb Manual === | === Tazusb Manual === | ||
Line 107: | Line 103: | ||
==== Easy way from Windows to SliTaz ==== | ==== Easy way from Windows to SliTaz ==== | ||
- | Sorry, this option is no longer available. Be patient... | + | [[http://doc.slitaz.org/en:guides:liveusb|LiveUSB Guide: From Windows To SliTaz]] |
+ | |||
+ | ==== See also ==== | ||
+ | [[http://doc.slitaz.org/en:guides:liveusb]] |