SliTaz SliTaz Forum

You are not logged in.

#1 2012-03-22 12:40:48

stuvxz
Member
Registered: 2012-01-21
Posts: 21

How to make changes persistent on a usb key live installation?

I am running Slitaz 4 CR3 as my sole working OS from a USB key ext3 home=UUID.

Everytime I boot the system I have to go through the process of installing the stuff I need (skype, etc.)

Changes like the desktop wallpaper are kept though.

I did tazusb writefs but booting with the rootfs.gz obtained brings me to a different Xterm,

a not very useful one.

Is there a way of while keeping Slitaz running in RAM and booting from the USB key,

to keep the changes, like programs installed and wi-fi configurations?

I do not have the possibility to use CDs.

I have been through other posts, the tutorials, and I am trying to have a working Slitaz OS for the last two months for my AAO fdd died. I do not like to bother you guys cause I believe the work you are developing here giving us SliTaz is just worthwhile and amazing. But maybe there is a very simple way of having Slitaz persistent that I have missed out from the documentation available. Thanks!

Offline

#2 2012-03-26 23:35:11

baggins
Member
Registered: 2012-03-26
Posts: 6

Re: How to make changes persistent on a usb key live installation?

I had the same issue. messed about for a while and sussed it (so far anyhow).

I don't know how expert you are (or anyone else who find this) so I'll presume not. That way it might help anyone.

First off when I saved the system (writefs) I did it .gzip Should work in the others but thats the one ive got working

{right click the desktop, SliTaz Live, TAZUSB Writefs(gzip)}

Here's what I did from where you are:

open My documents

go to /home/boot/extlinux  (in the address bar under help or by clicking -whichever)

click tool, then open current folder as root

enter root password (-default root)

NOW TAKE CARE IF ANYTHING GOES WRONG EXIT WITHOUT SAVING YOU ARE ROOT!!!

find extlinux.conf and open it              note: EXTLINUX, not SYSLINUX

from here there are two or more ways forward: 

1..........very safe (if you're carefull and don't delete everything --- not sure how safe if the power fails half way through-- should be ok but this is why we back everything up, right wink)

2.......... probably safe but I didn't ry it on this system yet,.!!

route 1:

you already opened extlinux.conf

pick one of the entries that you are unlikely to use (not sure if you can add an entry- will check that next- it should work)-- I chose LABEL base

copy and paste the entry into a new file called "oldentry" or whatever in tux (or your home directory if that's not it) so you can edit it back if you want to.

edit the second two lines like this

        KERNEL /boot/bzImage

        APPEND initrd=/boot/rootfs.gz rw root=/dev/null vga=normal autologin home=LOTS OF NUMBERS COPIED FROM THE ENTRYABOVE lang=en_GB map=uk

    I'm not sure if you will need the bit at the end "lang=en_GB  map=uk" (in fact I think the last bit should read kmap=uk but you may want to edit them to your own country codes anyway!)

*make sure you looked at the entry where it says "home=" and did like it said!!

click file, save and confirm overwrite.

close all windows and reboot

scroll down to the entry you re wrote and you should boot into your saved system

route 2:

you are in extlinux.conf

you should here be able to add an entry just below where it says

#Labels

hit return a few times and make space above LABEL slitaz

edit the following in

LABEL my slitaz

                  MENU LABEL My slitaz    or "qwertyuop"   or "whatever you like"

                  KERNEL /boot/bzImage

                  APPEND initrd=/boot/rootfs.gz rw root=/dev/null vga=normal autologin home=LOTS OF NUMBERS COPIED FROM ANOTHER ENTRY lang=en_GB map=uk

*edit the lang and kmap bits to your prefs or maybe even delete them- it should ask you on boot if it doesn't know.

**make sure you looked at the entry where it says "home=" and did like it said!!

hit file, save and confirm overwrite

shut up shop and reboot.

Cross your fingers. wink

this method should boot you into your saved system by default.

Hope this helped,

Sorry it's long and rambling.

Bill

Offline

#3 2012-12-19 19:04:04

benett
Member
Registered: 2012-12-19
Posts: 5

Re: How to make changes persistent on a usb key live installation?

OK I bit the bullet and tried it and it worked a treat. Anyone who comes across this thread can rest assured that this method works.

Offline

#4 2013-01-12 20:05:53

dysmas
Member
Registered: 2013-01-12
Posts: 5

Re: How to make changes persistent on a usb key live installation?

Hello,

thousand thanks for your post.

I used method 2. It worked like a charm.

There is one thing I cannot understand : How is it possible that the programmers of tazusb didn't check that writefs is useless for the average user if it does not add an entry in the menu to start the updated system ? If anyone can contact them, please ask them to add this option. Then using Slitaz on a USB key will be very easy (and useful).

Offline

#5 2013-01-13 01:56:20

saneks
Member
Registered: 2011-04-06
Posts: 10

Re: How to make changes persistent on a usb key live installation?

thanks, I was searching for that!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]