You are not logged in.
Pages: 1
I can not save anything!
Tazusb writefs does not seem to work, so each time I boot my liveUSB (that I copied from slitaz-3.0.iso using OS X and the dd command) it is as if I am using it for the first time again. (all packages I installed are lost and all files I saved in /home are lost)
It was suggested to use tazusb to create a new Live Usb. But I am unable to generate a new Live Usb within SliTaz.
Tazusb works for formatting usb drives, but when I attempt to use "tazusb gen-liveusb" on the formatted drive I get an error "Unable to find device: /dev/sdb1".
Is there a file I need to edit, or some other command I have to use so I can use tazusb correctly to save my settings and files?
when you use the option writefs it will save linuxfs.tar.gz to ramdisk, you have to copy it over to your usb stick/disk when you are using it in live mode.
also what you can try and do this on boot prompt
slitaz home=usb
//Martin
I tried using slitaz home=usb when I boot. (It appears to have no function, so I tried using slitaz home=/media/SliTaz\core/ and other labels just to be sure I wasn't missing something)
"Tazusb writefs" creates a file called "rootfs.gz" (not linuxfs.tar.gz) that is generated in my / folder.
I tried moving it to the USB I booted from (using cp) and receive the error message: "cp: cannot create '/media/SliTaz core/boot/rootfs.gz': Read-only file system" (I also copied it to another usb, but any media I can boot from is unusable for saving to and I get the Read-only error)
Further to my last, I can not format a USB in slitaz.
When using "Tazusb gen-liveusb" I receive the error "Unable to mount cdrom or to find a filesystem on it (rootfs.gz)."
And when I try to use "Tazusb gen-iso2usb" I receive a large error that ends in "cp: cannot create ..." a few dozen times and "can't unmount /dev/cdrom..." and "losetup: /dev/loop0: Devise or resource busy"
to format in slitaz you use this command
tazusb format /dev/sda1 if sda1 is your usb device,
you can also try when booting slitaz home=/dev/sda1
yea your right that file rootfs.gz you should move to usb stick
couse it only stores it in ram when you using live usb or livecd
yea i noticed that to when i booted from cdrom
but try what i wrote and get back to me 
//Martin
use:
home=UUID
to get uuid of the partition, run "blkid" at the terminal. for fat32 drives, the uuid is the serial number of the volume (????-????). it is longer for other fs types.
Offline
I am not booting from a CD-Rom, or even have a CD-Rom on the system I am trying to use my Live-USB on.
When I format a USB drive, the USB drive becomes rubbish and unusable.
If after running format I try and run it again on the same USB, I get the error "Unable to find device: /dev/sda1"
There is still a GUI link for the USB drive, but when I click on it I get a few pop up errors:
_ "Error: <i>org.freedesktop.Hal.Device.Volume.UnknownFailure</I>"
_ "Directory doesn't exist!"
And after ejecting the USB and reinserting it I still have problems not being able to use it (open it in the GUI or terminal, or address it for formatting)
* * * * *
I had that unusable USB plugged in as well as my LiveUSB when I tried: "slitaz home=UUID" (<- that is exactly what I typed)
And it worked!
The USB was mounted as /home
Now I can save persistent files in the home directory.
I rebooted without setting the USB as home, to see what was going on.
_ The USB is readable and writeable as /media/stick/
_ it is not given a "/dev/sdX" label (so I can not format the the USB, or use tazusb gen-liveusb etc. on the disk)
Attempting to use the "slitaz home=UUID" with only the LiveUSB plugged in DOES NOT WORK.
_ Further to this using blkid showed me the LiveUSB does not have a UUID, it only shows /dev/sda1 LABEL="SliTaz core" TYPE="iso9660"
On booting the rootfs.gz loaded is from my Read-Only LiveUSB. The second USB mounts as /home and not /. (Saving rootfs.gz to /home means it is not looked during loading).
If someone could tell me another place SliTaz looks for the rootfs.gz when you boot with home=UUID that would be a huge help.
Currently I have a work around where I save Application packages into /home and then run tazpkg before doing anything else (wasting a few minutes).
Thankyou ztealmax and tikbalang. Now I can save stuff when using SliTaz !
Slitaz searchs for rootfs.gz where you ask it to.
You can edit your bootloader with a text aditor. I did manually setup the Live USB (did not use automatic tools for the task) so I am not sure of how does Tazusb handle the creation proces. However, if you have the /boot/syslinux/syslinux.cfg file in your booting USB, you can edit its entries to your liking.
For example, I added this one:
LABEL slitaz
KERNEL /boot/bzimage
APPEND initrd=/boot/rootfs.gz rw root=/dev/null vga=normal autologin lang=es_ES kmap=es
You could take this one as an example. You can tweak initrd string to search for "rootfs.gz" wherever you want, root string to change the root partition, etc. You an also add any cheatcodes you need (In my case, I force my local keymap and language).
Offline
Try this:
In a xterm windown type "fdisk -l"
For a freshly made USB pen
Disk /dev/sda: 1999 MB, 1999568384 bytes
255 heads, 63 sectors/track, 243 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 208813+ 6 FAT16
You need to add a new ext2 partition (i.e. /dev/sda2) that will become your storage for your home.
You can do this by using System Tools -> GParted
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 208813+ 6 FAT16
/dev/sda2 27 243 1743052+ 83 Linux
Now when you reboot, add the parameters home=sda2
Ray
Offline
Pages: 1
[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]