Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:handbook:liveusb [2010/09/18 11:30] – update (ru) linea | en:handbook:liveusb [2014/11/16 09:35] (current) – removed double link 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: | ||
| - | < | + | < |
| 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): | ||
| - | < | + | < |
| - | And finally generate your LiveUSB media device: | + | And finally generate your LiveUSB media device |
| - | < | + | < |
| + | (if you're working with a LiveCD as the install source) | ||
| + | |||
| + | OR | ||
| + | |||
| + | < | ||
| + | (if you're working with an iso file as the install source) | ||
| + | |||
| + | 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 " | ||
| And that's all you need to do, you can now boot SliTaz from usb media (providing your computer bios supports this method). | And that's all you need to do, you can now boot SliTaz from usb media (providing your computer bios supports this method). | ||
| - | === Maintaining system settings | + | === Tazusb Manual |
| - | 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: | + | The official Tazusb manual can be found in the SliTaz [[http:// |
| - | * fast compression, | + | ===== Install SliTaz on USB from Windows ===== |
| - | * slow compression, | + | |
| - | * no compression, | + | |
| - | Each of these writes everything | + | Slitaz can be installed on USB media from windows. The following description has been tested on Windows XP and Vista. |
| + | Before starting you need to download: | ||
| + | - the latest SliTaz iso from [[http://www.slitaz.org/en/get/# | ||
| + | - the syslinux tool for the SliTaz version | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| - | If anything should go wrong when writing your filesystem, you can simply rollback | + | **1.** Extract the SliTaz ISO file to the USB stick. For this, use a tool like [[http://www.7-zip.org/|7-Zip]] or Winimage (shareware). Once extracted, you should get the following: |
| + | < | ||
| + | \boot | ||
| + | \boot\isolinux | ||
| + | \boot\grub | ||
| + | </code> | ||
| - | === Tazusb Manual === | + | < |
| + | Depending on the version of SliTaz you install, you can find on root other directories and files but they are not used by the LiveUSB. | ||
| + | </ | ||
| - | The official Tazusb manual can be found in the SliTaz | + | **2.** On your USB stick, rename |
| + | |||
| + | **3.** In the new directory // | ||
| + | |||
| + | **4.** Now extract the syslinux archive previously downloaded and copy the // | ||
| + | |||
| + | **5.** Modify the // | ||
| + | |||
| + | ===example for SliTaz | ||
| + | < | ||
| + | kernel | ||
| + | ... | ||
| + | </ | ||
| + | to | ||
| + | < | ||
| + | kernel / | ||
| + | ... | ||
| + | </ | ||
| + | |||
| + | ===example for SliTaz 3.0 and previous versions: | ||
| + | < | ||
| + | display syslinux.msg | ||
| + | label slitaz | ||
| + | kernel / | ||
| + | append initrd=/ | ||
| + | |||
| + | include common.cfg | ||
| + | </file> | ||
| + | **Note : ** In the example above, compared to the original file, the line //display isolinux.msg// has been replaced by //display syslinux.cfg// and the parameters //lang=C kmap=uk// have been added to the line //append// so that, lang and keyboard are automatically selected at boot. | ||
| + | |||
| + | In file // | ||
| + | < | ||
| + | F3 isolinux.msg | ||
| + | ...</ | ||
| + | to | ||
| + | < | ||
| + | F3 syslinux.msg | ||
| + | ...</ | ||
| + | |||
| + | **6.** Now, from the terminal in Windows, run // | ||
| + | < | ||
| + | k: | ||
| + | cd \boot\syslinux | ||
| + | syslinux -ma -d \boot\syslinux k: | ||
| + | </ | ||
| + | |||
| + | **7.** You can now restart your computer. Change option in BIOS to boot first from USB. | ||
| + | |||
| + | ==== See also ==== | ||
| + | [[http:// | ||