SliTaz SliTaz Forum

You are not logged in.

#1 2012-01-25 03:48:36

zealkaiser
Member
Registered: 2011-04-13
Posts: 28

Making Slitaz Modular like puppy and slax

Every time I use Slitaz it usually gets bigger after installing software (for e.g. gcc, codeblocks, python, gimp, inkscape, blender, vlc, etc) and starts consuming lot of ram.

So, I was wondering If I could save my changes in a file and then mount it at the time of booting in the same manner puppy and slax do.

I don't want to do a full installation and don't want to generate rootfs every time after making changes. I am looking for a frugal installation with changes saved automatically after making changes.

Offline

#2 2012-01-25 04:29:32

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Making Slitaz Modular like puppy and slax

godane has a project called slitaz-modular :

http://mirror.slitaz.org/hg/hgwebdir.py/slitaz-modular/

I would be interested to learn about it and do testing if/when it's ready.

Offline

#3 2012-01-25 21:38:01

zealkaiser
Member
Registered: 2011-04-13
Posts: 28

Re: Making Slitaz Modular like puppy and slax

What I want to exactly do is boot the slitaz in ram and mount a some sort of loop file over the root directory such that what ever changes I make are saved in that file and that file is then automatically mounted over the root on every boot with all the previous changes...

Offline

#4 2012-02-03 17:41:37

ralcocer
Member
Registered: 2011-03-31
Posts: 6

Re: Making Slitaz Modular like puppy and slax

Hello, I downloaded the latest iso from slitaz-modular but I am getting an error message:mount:

mounting aufs on /root/Desktop/slitaz-modular-f284d07509d6/core/working/union failed: Invalid argument

mount: mounting aufs on /root/Desktop/slitaz-modular-f284d07509d6/core/working/union failed: Invalid argument

!!! Error mounting .

root@slitaz:~/Desktop/slitaz-modular-f284d07509d6#

Thanks in advance

Offline

#5 2012-02-03 18:05:30

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: Making Slitaz Modular like puppy and slax

Hi zealkaiser,

apparently the way to obtain that is ,,tazlito writeiso". Then the changed file system appears as new ,,rootfs.gz" in /home/slitaz/distro/rootcd/boot and you just have to copy it to the directory where your original rootfs.gz was in.

If it affects only data which are in /home/tux boot slitaz with

kernel /bzimage root=/dev/ram0 rw home=/dev/sda2

and then you have all such changes stored in /dev/sda2/home/tux.

Offline

#6 2012-02-03 19:29:09

zealkaiser
Member
Registered: 2011-04-13
Posts: 28

Re: Making Slitaz Modular like puppy and slax

Thats OK! But my problem is that every time I install packages or change root directory I have to regenerate the rootfs.gz. And also my rootfs.gz is very large. It occupies 1GB ram.

But I have figured out a way. Check out http://forum.slitaz.org/topic/my-rootfsgz-has-gone-too-large

I have installed my apps in a loop file and save settings by using home=sda2

This way only 100MB ram is occupied and I still have slitaz-toolchain, python, perl, etc

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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