Live USB¶
author: | jozee, linea, pankso, totoetsasoeur, mojo, fantomas, brianperry, bellard |
---|
This page describes how to make a SliTaz live usb stick.
From Windows¶
A SliTaz Live USB installation can be performed using:
- LinuxLive USB Creator
- Universal USB Installer
- UnetBootin
- TazUSB
Warning
SliTaz with xorg-server and persistent /home
requires a Linux filesystem (ext2,ext3) for regular users to login to an X-session.
Fat32 or NTFS filesystems cause SLiM login manager error: Failed To Execute Login Command
Tip
Solution:
SliTaz runs in RAM so after booting it no longer needs the flash drive. This enables you to reformat the flash drive to a Linux filesystem and reinstall SliTaz.
- Install SliTaz with LinuxLive USB Creator or Universal USB Installer
- Copy the
slitaz.iso
to the root of the flash drive. - Boot into SliTaz with the flash drive,login root, password: root
- Mount the flash drive,copy the
slitaz.iso
to/root
- Use From SliTaz instructions above to format the flash drive ext2, reinstall SliTaz using ISO file as install source.
Warning
Tazusb.exe and Unetbootin do not work with any cooking.iso
, rolling.iso
or slitaz-4.0.iso
(core 4-in-1).
They will work with slitaz-4.0-core.iso or another single rootfs.gz
flavor found here.
Warning
Tazusb.exe does not work with any cooking.iso
, rolling.iso
or slitaz-5.0.iso
.
The .iso
file must be renamed to an .exe
file, i.e.:
- boot into Windows,
- download the latest
slitaz-rolling.iso
, - go to the downloaded file directory,
- rename the file
slitaz-rolling.iso
toslitaz-rolling.exe
, - double-click on the file
slitaz-rolling.exe
to run it, - follow the instructions given by the application (2-3 steps):
- Do you want to create a boot key: => answer yes,
- Step 1: unplug the USB stick,
- Step 2: plug the USB stick in and wait for Windows to mount it,
- wait for the confirmation window,
- reboot,
- press Fn key to choose alternative boot device, slitaz boot panel must be displayed,
- select the language,
- RETURN to boot.
Remarks when using UNetbootin¶
You can find UNetbootin for Windows at this page. Note that you need to select SliTaz ISO from the Distribution list in UNetbootin. To create a Live USB, select USB Drive under installation type. You can also choose to do a frugal install. To perform a Frugal Install, select Hard Disk under installation type.
Remarks when using TazUSB¶
The binary file TazUSB.exe
is a Windows executable that installs an ISO file on a USB drive.
- download TazUSB executable for Windows: tazusb.exe (the sources are available here tazusb.nsi)
- plug in your USB drive and format it in FAT32 (formatting might not be required),
- launch TazUSB application by double-clicking on
TazUSB.exe
executable file, - choose the language,
- select the destination USB drive (double-check that the letter refers to the correct drive),
- select the SliTaz iso
From Linux¶
From any Linux distro¶
- You can use unetbootin; download from UNetbootin for Linux.
From Slitaz linux¶
Download > Burn > Boot a SliTaz ISO image
Verify the install target, format will delete everything.
$ su root
# fdisk -l
# tazusb format /dev/sdxx
LiveCD as install source
# tazusb gen-liveusb /dev/sdxx
ISO file as install source
# tazusb gen-iso2usb slitaz.iso /dev/sdxx
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
Once done, wait… and then reboot!
SliTaz 4.0 kernel panic (not booting)¶
In Slitaz 4.0 the rootfs file is divided into 4 parts which is a problem with tazusb.exe and UNetbootin. For SliTaz to work with tazusb.exe and Unetbootin you must download the core flavor of SliTaz consisting of a single file rootfs.