SliTaz GNU/Linux official and community documentation wiki.
.png

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:handbook:liveusb [2013/03/09 23:52]
ceel [Install SliTaz on USB from Windows]
en:handbook:liveusb [2014/11/14 10:30]
brianperry removed info from this page and moved the info to http://doc.slitaz.org/en:handbook:persistence_splash
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: +And that's all you need to do, you can now boot SliTaz ​from usb media (providing your computer bios supports this method).
- +
-    * fast compression,​ average filesize: <​code>​ # tazusb writefs gzip </​code>​ +
-    * 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 41: Line 35:
 Before starting you need to download: Before starting you need to download:
   - the latest SliTaz iso from [[http://​www.slitaz.org/​en/​get/#​stable|Get SliTaz]].   - the latest SliTaz iso from [[http://​www.slitaz.org/​en/​get/#​stable|Get SliTaz]].
-  - the syslinux tool for the SliTaz'​s ​version you install:+  - the syslinux tool for the SliTaz version you install:
   * [[https://​www.kernel.org/​pub/​linux/​utils/​boot/​syslinux/​4.xx/​syslinux-4.05.zip|syslinux-4.05.zip]] for SliTaz 4.0   * [[https://​www.kernel.org/​pub/​linux/​utils/​boot/​syslinux/​4.xx/​syslinux-4.05.zip|syslinux-4.05.zip]] for SliTaz 4.0
   * [[https://​www.kernel.org/​pub/​linux/​utils/​boot/​syslinux/​3.xx/​syslinux-3.82.zip|syslinux-3.82.zip]] for SliTaz 3.0   * [[https://​www.kernel.org/​pub/​linux/​utils/​boot/​syslinux/​3.xx/​syslinux-3.82.zip|syslinux-3.82.zip]] for SliTaz 3.0
Line 84: Line 78:
  append initrd=/​boot/​rootfs.gz rw root=/​dev/​null lang=C kmap=uk vga=normal autologin  append initrd=/​boot/​rootfs.gz rw root=/​dev/​null lang=C kmap=uk vga=normal autologin
  
-include common.cfg+include common.cfg
 </​file>​ </​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. The line //include common.cfg//​ now unusefull has been commented with character #.+**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 //​\boot\syslinux\common.cfg//,​ modify ​ In file //​\boot\syslinux\common.cfg//,​ modify ​
Line 105: Line 99:
  
 **7.** You can now restart your computer. Change option in BIOS to boot first from USB. **7.** You can now restart your computer. Change option in BIOS to boot first from USB.
-==== Briefly ​==== +==== Easy way from Windows to SliTaz ​==== 
-  - Download zip file [[http://files.openomy.com/public/​Erjo/​syslinux.zip|syslinux.zip]]. + 
-  - Extract syslinux and copy it to USB stick into directory //\boot//. +[[http://doc.slitaz.org/en:​guides:​liveusb|LiveUSB Guide: From Windows To SliTaz]] 
-  - Run the script ​//\boot\syslinux\bootusb.bat//.+ 
 +==== See also ==== 
 +[[http://doc.slitaz.org/​en:​guides:​liveusb]]
 
en/handbook/liveusb.txt · Last modified: 2014/11/16 10:35 by brianperry