You are not logged in.
How is it possible to save the preferences with using a live stick
Offline
http://doc.slitaz.org/en:handbook:liveusb
Offline
thank you for the link. the live stick is running. i do not understand how to store changes for later use on the live stick. perhaps my englisch is to bad to under the handbook.
thanks for your help
Offline
Hi paseo,
It depends how you did your Live stick.
If you've formated the stick ext 2/3/4, your preferences will be automatically saved in your /home.
Otherwise, format another stick and create Live with the tazusb tool.
If you need more help, tell me what ISO you used for your Live.
Offline
hi ceel
i create the live stick with a integrated tool of linux mind and with a iso slitaz-cooking.iso 41,9 Mb
was this wrong ?
Offline
i formated a new stick with ext 4 with linux mind and try to create a live stick with my iso file and taz usb box to /dev/sda1. but the stick is empty ( only lost and found) no live system on the new stick.
Offline
If you use cooking, sda1 should be your hard disk...
Boot your Live USB. Then remove the stick.
Download the ISO (cooking is near 2 years old now, last rolling will be better: http://mirror1.slitaz.org/iso/rolling/slitaz-rolling-core.iso)
Open a terminal and become root. Insert your formated ext4 stick and see how it is identified:
fdisk -l
Assuming your target stick is sdb1, then type:
tazusb gen-iso2usb /path/to/the/iso/file/file_name.iso /dev/sdb1
Offline
Ceel, the closing bracket superfluous.
http://mirror1.slitaz.org/iso/rolling/slitaz-rolling-core.iso
Offline
Thanks black dog.
Offline
Tazusb program does not offer at the ext4 formatting. Why?
Installed version tazusb 182.
Offline
Why not ? http://hg.slitaz.org/tazusb/rev/a0169f6c39b6
Offline
Thank you, Bellard. I already asked, but forgot to answer. What do I need to do to make a change in my tazusb?
And another question to all. Who ever get to save the changes with the new version tazusb? I could not even once in a day. Of the more than 20 attempts. Why is this happening?
[attachment=41626,2231]
Offline
Что конкретно с tazusb не так?
Вижу на скриншоте gzip-сжатие rootfs. Это очень плохая идея, лучше lzma или вообще без сжатия.
Offline
Do not save changes. After this operation to /boot must have two files rootfs.gz and previous.gz. But even without this, after the restart it shows that there are no changes. A method of compression is not important.
PS
I apologize. We had to pour and insert the USB flash drive again. I disassemble.
Offline
That's what happens:
[attachment=41632,2232] [attachment=41632,2233] [attachment=41632,2234]
Offline
Another unsuccessful attempt to save the packages and system settings on a live-usb.
slitaz-rolling-core.iso 2016-Feb-14 20:30:02
Tazusb (184)
The ext3 file system
I use gzip and lzma.
Are anyone here who managed to save the system change? Please tell me.
Offline
@black dog
Can try this for me ?
# cp /usr/bin/tazusb /usr/bin/tazusb.org -a
# sed -i 's|find /bin|find -xdev /bin|' /usr/bin/tazusb
# tazusb writefs gzip
Offline
root@slitaz:/home/tux# tazusb writefs gzip
Write filesystem
================================================================================
The command writefs will write all the current filesystem into a suitable cpio
archive (rootfs.gz) usable on a bootable LiveUSB media.
Archive compression: gzip
Do you wish to remove the sound card and screen configs?
Press ENTER to keep or answer (No|yes|exit): y
Removing current sound card and screen configurations...[ Done ]
Do you wish to remove local/keymap settings?
Press ENTER to keep or answer (No|yes|exit):
Keeping current locale/keymap settings...[ Failed ]
find: unrecognized: /bin
...
root@slitaz:/home/boot# ls -l
total 47644
-rw-r--r-- 1 root root 2895056 Feb 18 04:17 bzImage
drwxr-xr-x 2 root root 4096 Feb 18 04:30 extlinux
-rw-r--r-- 1 root root 312470 Feb 18 04:17 ipxe
-rw-r--r-- 1 root root 45100 Feb 18 04:17 memtest
-rw-r--r-- 1 root root 45460000 Feb 18 04:17 previous.gz
-rw-r--r-- 1 root root 253 Feb 18 16:09 rootfs.gz
Offline
@black dog
Oops... sorry.
Can retry this for me ?
# cp /usr/bin/tazusb.org /usr/bin/tazusb -a
# sed -i 's|/opt >/tmp|/opt -xdev >/tmp|' /usr/bin/tazusb
# tazusb writefs gzip
Offline
Excuse me, but this time could not write the output of commands.
# cp /usr/bin/tazusb.org /usr/bin/tazusb -a
There was an error, and I put command in the previous post:
cp /usr/bin/tazusb /usr/bin/tazusb.org -a
After the command # tazusb writefs gzip was a message about the absence of /opt and more the system can not enter the X-session. Changes were not saved.
Offline
Maybe ?
# sed -i 's|find /bin|find $(ls -d /bin|;s|/opt >/tmp|/opt 2>/dev/null) -xdev >/tmp|' /usr/bin/tazusb
Offline
Everything is still.
After command "tazusb writefs gzip" something happens and reloaded X-session. But after 2-3 seconds after entering the password again to restart X-session.
Furthermore.
Midori browser closes spontaneously after 1-2 minutes of work.
Offline
> After command "tazusb writefs gzip" something happens and reloaded X-session
> something happens
> reloaded X-session
Maybe this? http://www.google.com/search?q=OOM+killer
Where are your output of [c]df ; free[/c] command before and after.
> tazusb writefs gzip
> gzip
Try [c]tazpkg -gi advancecomp[/c]
before [c]tazusb writefs gzip[/c]
А вообще gzip загружается через раз, я предупреждал...
http://forum.slitaz.org/topic/trouble-with-tazusb-writefs#post-38816
tazusb writefs fixed, new [c]/usr/bin/tazusb[/c] avaliable here:
http://hg.slitaz.org/tazusb/raw-file/186/tazusb
Offline
When using lzma same:
Write filesystem
================================================================================
The command writefs will write all the current filesystem into a suitable cpio
archive (rootfs.gz) usable on a bootable LiveUSB media.
Archive compression: lzma
Do you wish to remove the sound card and screen configs?
Press ENTER to keep or answer (No|yes|exit): y
Removing current sound card and screen configurations...[ Done ]
Do you wish to remove local/keymap settings?
Press ENTER to keep or answer (No|yes|exit): y
Removing current locale/keymap settings...[ Done ]
Creating rootfs.gz with lzma compression... Killed
Moving rootfs.gz to media. Remember to unmount for delayed writes!
rootfs.gz is located in /home/boot
================================================================================
Root filesystem size: 4.0K
--------------------------------------------------------------------------------
ENTER to continue...
az_ua, What to do with this file?
Offline
Hi Black Dog,
Do you note the word “Killed”?
Creating rootfs.gz with lzma compression... Killed
Your system (Linux Kernel) was killed the process because it was too hunger to “eat” more RAM than you have.
What to do? Try to set up swap file/partition with appropriate size (at least with the size of your RAM). Process using RAM + swap will be significantly slower comparing to process using RAM only. But it shouldn't be killed by Kernel, I hope.
Read more about “Killed”: http://stackoverflow.com/questions/726690/who-killed-my-process-and-why
Offline
[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.58 MiB (Peak: 1.77 MiB) ]