You are not logged in.
Generate your own LiveUSB media
To generate your own LiveUSB media, first you need to login as root with su and locate your usb storage device using the command:
# fdisk -l # normally /dev/sdb1
Then format and label your device (Warning: this will erase all data, make sure you specify the right device):
# tazusb format /dev/sdb1
And finally generate your LiveUSB media device:
# tazusb gen-liveusb /dev/sdb1
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
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:
fast compression, average filesize:
# tazusb writefs gzip
slow compression, smaller filesize:
# tazusb writefs lzma
no compression, larger filesize:
# tazusb writefs none
Each of these writes everything to a 'rootfs.gz' archive to be loaded the next time you boot.
Offline
It depends on what you want to achieve.
But what exactly is the Question here?
ext or fat, or ext2..ext3..ext4..?
How to create a live usb?..with persistence or not?
e.g.
For a test-run, to see if it will work with your Hw you could make the
Sltaz4-iso hybrid ( isohybrid ) and then dd it to your usb.
Offline
Thank You 
I want to make a live usb with Wine and Minicom
and a couple of Windows programs installed in Wine.
It does not need to have persistence beyond that
point. I have ver.4 on 1 PC(HD) (installed from usb),
but the installer doesn't seem to work with another
usb. AND (if I understand right?) a full installation
doesn't run from ram which seems preferable. I didn't
try the live-usb maker thinking that it could not save
the 2 apps, but the above makes me think it might????
I realize I'll just have to try it, but was looking
for some hints ...... Isohybrid ??????
Offline
it will save anything you have installed
the only hint here is that if the file is too large it will run out of memory at decompression time (800MB uncrompressed it too high)
Do a search for "lowram" on the forum i you hit that problem
Offline
@sixofeight
Use ext2/ext3/ext4:
The 4.0 is buggy with vfat sticks, the fix:
http://hg.slitaz.org/slitaz-boot-scripts/rev/e147902153c1
Offline
@Bellard
Thanks for the Info
@hitsware
--> isohybrid <--
afaik the Slitaz4 iso isn't isohybrid.If you dd this iso to usb-flash it wont boot.
Open a Terminal and type isohybrid /path/to/your/slitaz-4.0.iso
now you can dd the iso onto an usb-flash and boot it like a live-CD.
Offline
I keep getting (after directions first posted)
' unable to mount cdrom or find iso '
Perhaps I'm getting in over my head 
But Slitaz works better for me than any
other distro ! Even with this mess.
(it's immaculate on HD)
Would I be better off with another version ?
Offline
Yup. I have the same Prob with one of my Cd-drives not beeing found
therefore
mount the device (Live-CD / usb) manually to /media/cdrom
If it's a live-cd use dmesg | grep hd
to find out which it is and use e.g. mount /dev/hdX /media/cdrom
If it's a live-usb-flash use fdisk -l to find out which it is
in short:
boot vanilla Slitaz4 live
customize it
mount the device
write new iso (applications > system tools > create a live CD )
in this window just click write iso
dd to usb-flash..done
This might be not the most elegant way but it works..at least for me.;)
Offline
> in this window just click write iso
writes but then says boot is on usb not
in ram so need to do loop mount ?????
slitaz.iso seems to disappear when I press
enter .........
Offline
I'm assuming that you did not mount the right Device to /media/cdrom
no Errors on my end.
[attachment=30084,1495]
Offline
Maybe ......
Would you walk me through that part ?
Thanks again !
Offline
1.prepare an usb-flash to act like a Live-CD
a)boot Slitaz > grab a slitaz-4.0.iso and make this iso isohybrid.
(open a terminal and type isohybrid /path/to/your/slitaz-4.0.iso > enter).
plug in an usb-flash > identify its "name" in a terminal with fdisk -l (as root).
should be sda or similar.(The whole drive, not Partitions)
Now dd the Isohybrid-iso to the flash-drive.If your flash-drive is "sda"
the command would be dd if=/path/to/the/slitaz-4.0.iso of=/dev/sda
PLEASE DOUBLECHECK THAT YOU CHOOSE THE RIGHT DEVICE.If in doubt don't do it!!
and be aware that all the Data stored on this flash-drive will be gone!!
2.If done reboot and boot from this newly created usb-flash
3.make your customizations...if done mount the usb-flash to /media/cdrom.
Open a Terminal su to root and type mount /dev/sda /media/cdrom
( I'm assuming your device is sda.)
4.click Applications > system tools > Create a liveCD > in this window click write iso.
now you should get your customized iso.
If all goes well and you got the iso, dd this iso to the usb-flash and reboot....
ONCE AGAIN, BE VERY CAREFUL WITH THE DD_COMMAND, IF YOU CHOOSE THE WRONG DRIVE YOU'RE IN SERIOUS TROUBLE.
good Luck
Offline
Geez
....... Pretty awkward ( but Thanks !
)
I guess this :
http://hg.slitaz.org/tazusb/raw-file/tip/doc/tazusb.en.html
is some bodies imagination or ?
Offline
@hitsware
I have been struggling also to make it work at first. 4.0 docs handle some things a little bit differnetly than the original documentation refers to
if you check here http://forum.slitaz.org/topic/slitaz-liveusb
find my post, it explains some of the non obvious things that must be done (i have not done it for a while but I expect it is unchanged.
Be carefull as usual to use the right device 
Offline
Thanks ... That makes it as awkward as sixofeights method ...
Offline
@hitsware
yup, It's awkward because of step 1 (preparing the usb-flash)
If you could use a Live-CD instead of this usb-flash, it would
reduce the effort to manually mount the "not found CD-Drive" to build your iso.
Offline
Nope .... I've got a live CD ..... still get the 'not found'
AND whatever I do when I write the new iso it asks for the
'loop mount' .... somethings different here someways.
I'm trying now to simply install to usb as if it were HD ...
got it to install, but something is wrong on the grub ....
I get error 21 'no such disk'. ????????????
Offline
try my method; it may not be that strange, after all 
Offline
Not strange .......... complex and awkward (for me anyways)
Offline
Best Luck Yet !
In XP:
downloaded SliTaz 5.0-rc2
made vfat bootstick
rebooted
went to 'make live usb'
put in Slitaz 4.0 CD
SliTaz 5.0-rc2 recognized It !
BUT
..... When I booted the stick
I got ver. 4 but with the black screen stuff
suggested in the SliTaz 5.0-rc2 thread 
Offline
YOUR method MAY converge, some day.....
Offline
I'm trying now to simply install to usb as if it were HD ...
got it to install, but something is wrong on the grub ....
I get error 21 'no such disk'. ????????????
Likely your grub & possibly fstab are pointing to the wrong device.
When installing to pendrives & sd(hc) cards, some install scripts use the mounted device as the target boot device, which causes this error on external media installations.
The 'trick' is to check before rebooting.
(However, you can just boot your live media again & alter them.)
Edit: Grub should be hd0,0 & fstab should be /dev/sda1.
> YOUR method MAY converge, some day.....
I'm just trying to use the 'tools' as
presented. I.E. 'live usb maker' should
be just that ......
Offline
> When installing to pendrives & sd(hc) cards,
> some install scripts use the mounted device as
> the target boot device, which causes this
> error on external media installations.
I think maybe what happened was when I had the
source stick in it was sdc1 and the target was
sdd1, but when I tried to boot the target
(since it was alone) became sdc1 ? That's sorta
bunk though, because on my other PC the first
stick is sdb1 .....
Offline
If your target was sdd1 likely that is what is in your grub config, (& maybe /etc/fstab).
Usb ports are issued descriptors either by position on m/board or by which is used first, so what was sdb may become sdc.
To boot from a usb port the grub config has to be the first disk to be accessed, which is /dev/sda (grub hd0,0) in most instances.
[ Generated in 0.029 seconds, 7 queries executed - Memory usage: 1.59 MiB (Peak: 1.77 MiB) ]