SliTaz SliTaz Forum

You are not logged in.

#1 2015-10-24 21:13:41

apache
Member
Registered: 2015-10-15
Posts: 40

Smallest version ever

Hi guys

Yeah slitaz is already small but i think it have many features that i do not use at all.

So i want to make a request for smallest version that only use for browsing ,watching youtube, support flash and it must support wifi that i use now 802.11.n rt2870/rt3070.

Thanks in advance.

Offline

#2 2015-10-24 23:07:46

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Smallest version ever

Hi apache,

I think it's not worth the effort.

Yes, you can shrink the SliTaz size. A bit. And you'll save few MB on your hard drive, or few MB of your RAM in the Live mode. Oh, how to use that new free space? To save one new MP3 onto disk smile That's all.

You'll save a (couple of) dozed MB of RAM, but your web browser will eat hundreds MB of your RAM.

Having the smallest size — it's good. But please think whether it is worth of your time?

Offline

#3 2015-10-25 07:39:40

apache
Member
Registered: 2015-10-15
Posts: 40

Re: Smallest version ever

Man if i know how to do it myself i want to get rid all of the features that i dont want i dont use ...i know it only will save a few mb but still ...i just want the core not something like theme or personalise or anything.

If dev think like mine.

Offline

#4 2015-10-25 08:49:11

llev
Member
Registered: 2011-12-09
Posts: 568

Re: Smallest version ever

You don't have to be a dev to do this.

Run Slitaz as Live USB. Remove all unnecessary packages with the package manager. Then issue the "writefs" tazusb command (not sure if this can be done in Tazpanel) (people will help you for _this_ step).

Nobody else but you can do the job of selecting packages, because you're the only one to exactly know your needs. E.g. a dev may consider that doing screen captures is useless, whereas you find it useful. Or he may consider that an archive extractor is a must-have, whereas you never download archives. Etc.

Offline

#5 2015-10-25 14:42:36

apache
Member
Registered: 2015-10-15
Posts: 40

Re: Smallest version ever

Im now using slitaz-4.0-gtkonly version ...everything work fine for me, browsing, installing flash but one thing that missing from this version is it dont have sound install...so if someone know how to get sound workin for this version let me know.

Thanks.

Offline

#6 2015-10-25 14:46:07

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Smallest version ever

Hi apache,

You can remove unwanted "locale-*" packages using TazPkg as well as any of your installed packages.

Next is only manual tweaks.

For example, remove unwanted firmware from [c]/lib/firmware/[/c] and unwanted Kernel modules from [c]/lib/modules/[/c]. After that block appropriate packages in the TazPkg (if appropriate package will update, then all its (deleted) files are returned back).

PS. I wrote about TazPkg/TazPanel in the SliTaz-Rolling/Cooking/5.0. Not sure it will work in the SliTaz-4.0. But you can use [c]tazpkg[/c] in the terminal as usually.

PPS. As for sound, try to search forum, for example: http://forum.slitaz.org/search.php?q=no+sound or specify your request more precisely.

Offline

#7 2015-10-25 17:35:44

apache
Member
Registered: 2015-10-15
Posts: 40

Re: Smallest version ever

Thanks man.

Im tried delete packages before but it end up with it not working after i remove  a few packages.

And correction for the flash player, its not workin too(4.0 gtkonly) ...i forgot that youtube now use html5 instead of flash.Youtube play fine with html5(firefox 41.0.2) without sound.

For sound i meant there is no volume icon on my taskbar, no alsamixer ...i think i have to install the sound packages myself to get sound workin.

Offline

#8 2015-10-25 20:55:01

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Smallest version ever

it end up with it not working

Yes, similarly human can't live without heart, but he can live without arm, and of course he can live without hairs smile

Really, it is not easy question what is "heart" and what is "hair". Heart, of course, is Linux Kernel. Skeleton is Busybox. Flesh is Xorg, and Gtk, and Openbox, and many various libraries and packages.

SliTaz balanced between small size of the packages / small dependencies — as one side, and small functionality — as other side. If additional functionality wants too many dependencies, etc., then it's not worth it and will be removed. So, SliTaz already provides good-balanced distro. But of course how many people, so many opinions.

As touching sound. Sorry, sound already was on my netbook, and I don't know how to debug it. I think, it will be interesting output of the next commands:

[c]lspci -k
lsmod[/c]
(Here first letter is lower-case "L".)

First command will show all PCI devices and Kernel modules attached to them. Second command just will show info about loaded Kernel modules.

What "alsamixer" tells you in the terminal?

Offline

#9 2015-10-25 23:35:06

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

Re: Smallest version ever

Verify you have these tazpkgs installed for sound:

linux-sound

alsa-lib

alsa-utils

Regular user must be in audio group.

tux@slitaz:~$ sudo cat /etc/group | grep audio

audio:x:20:tux,mojo

root@slitaz:/home/tux# ls -la /dev/snd

total 12

drwxr-xr-x    3 root     root          4096 Jun 30 13:12 .

drwxr-xr-x   14 tux      tux           4096 Oct 25 19:22 ..

drwxr-xr-x    2 root     root          4096 Jun 27 17:16 by-path

crw-rw-r--    1 root     audio     116,   9 Oct 25 19:22 controlC0

crw-rw-r--    1 root     audio     116,  11 Oct 25 19:22 controlC1

crw-rw-r--    1 root     audio     116,   8 Oct 25 19:22 hwC0D2

crw-rw-r--    1 root     audio     116,  10 Oct 25 19:22 hwC1D0

crw-rw-r--    1 root     audio     116,  14 Apr  4  2014 midiC1D0

crw-rw-r--    1 root     audio     116,  13 Apr  4  2014 midiC1D1

crw-rw-r--    1 root     audio     116,  12 Apr  4  2014 midiC1D2

crw-rw-r--    1 root     audio     116,  11 Apr  4  2014 midiC1D3

crw-rw-r--    1 root     audio     116,   7 Oct 25 19:22 pcmC0D0c

crw-rw-r--    1 root     audio     116,   6 Oct 25 19:22 pcmC0D0p

crw-rw-r--    1 root     audio     116,   5 Oct 25 19:22 pcmC0D1c

crw-rw-r--    1 root     audio     116,   4 Oct 25 19:22 pcmC0D1p

crw-rw-r--    1 root     audio     116,   3 Oct 25 19:22 pcmC0D2c

crw-rw-r--    1 root     audio     116,  10 Jun 30 13:01 pcmC1D3p

crw-rw-r--    1 root     audio     116,  10 Apr  4  2014 seq

crw-rw-r--    1 root     audio     116,   2 Oct 25 19:22 timer

Offline

#10 2015-10-26 07:00:59

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Smallest version ever

@mojo

Cool your new look! ;-)

Offline

#11 2015-10-26 07:51:56

apache
Member
Registered: 2015-10-15
Posts: 40

Re: Smallest version ever

@ Aleksej

:lspci -k

Audio device:ATI Technologies Inc SBx00 Azalia (Intel HDA)

:lsmod

no audio module load

:alsamixer in terminal

-sh:alsamixer: not found

@ mojo

FYI:Im using GTKONLY not core version so i think its not include the sound packages for GTKONLY version.

In my /usr/share/alsa i think it contain full files (folders- "cards, pcm"  files- "alsa.conf, smixer.conf, sndo-mixer.alisp")

I only have three files in /usr/lib/alsa-lib/smixer:

-smixer-ac97.so, smixer-hda.so, smixer-sbase.so

sudo cat /etc/group | grep audio in terminal:

-sh: sudo: not found

ls -la /dev/snd

-ls: /dev/snd: no such file or directory

Thanks for both of you.

Offline

#12 2015-10-26 10:02:08

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Smallest version ever

Hi apache,

Very well smile

alsamixer: not found

Install "alsa-utils" package. How to install packages? You can install them using terminal in the SliTaz-GtkOnly. Open terminal or console. Became root: type su and press Enter key, blindly type root's password (it is root by default) and press Enter key. Now you can install packages and manage your system: you're root. To install "alsa-utils" package type:

[c]tazpkg get-install alsa-utils
or
tazpkg -gi alsa-utils[/c]

sudo: not found

Instead or using one-liner command "sudo cat /etc/group | grep audio" you can beat it to two commands. First: "su" instead of "sudo" to become root. Then "cat /etc/group | grep audio" as root user (seems you can issue this command even without root's permissions).

Install other packages Richard mentioned:

[c]su
tazpkg -gi linux-sound
tazpkg -gi alsa-lib[/c]
Reboot your system. Test for sound again. I hope you'll get the sound now.

Offline

#13 2015-10-26 15:52:08

apache
Member
Registered: 2015-10-15
Posts: 40

Re: Smallest version ever

I had tried install all those three packages in terminal but when i click at the alsamixer through "applications" menu then nothing popup, i think it still missing some packages...volume icon still not present at the panel/taskbar...i did it without rebooting though cause im using liveusb sad

NOTE;As root in termnal: modprobe snd_hda_intel

modprobe: module snd_hda_intel not found in modules.dep

And i cant find any snd folder in my "/sys/module" folder ...whats that mean?

Offline

#14 2015-10-26 18:29:35

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

Re: Smallest version ever

Boot the liveusb, use tazpkg search to verify which of the 3 sound packages are installed.

[c]tazpkg search linux-sound[/c]

[c]tazpkg search alsa-utils[/c]

[c]tazpkg search alsa-lib[/c]

If linux-sound is installed the kernel drivers for your sound card should autoload.

Type this command in terminal then hit enter to verify:

[c]lsmod | grep snd[/c]

Offline

#15 2015-10-26 19:27:22

apache
Member
Registered: 2015-10-15
Posts: 40

Re: Smallest version ever

Installed linux-sound, alsa-utils, alsa-lib still no sound ...run "alsamixer" in terminal it said "cannot open mixer: no such file or directory" click alsa icon through "applications>multimedia>alsa nothing popup.

lsmod | grep snd:

not get any info

I thinks i need to manually install the intel hda module.

Offline

#16 2015-10-27 16:53:40

apache
Member
Registered: 2015-10-15
Posts: 40

Re: Smallest version ever

So the audio module is built in with default kernel right? If i want the audio i have to reinstall the kernel?

Offline

#17 2015-10-27 17:44:30

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

Re: Smallest version ever

No, every driver possible is compiled as module so it can be split off from the kernel linux-<kernel-version>.tazpkg

Linux kernel module packages: http://pkgs.slitaz.org/?package=linux-

All sound kernel modules are in the linux-sound-<kernel-version>.tazpkg

http://pkgs.slitaz.org/?file=snd-hda-intel.ko.xz

This allows building an iso as small as possible containing only kernel drivers needed.

Offline

#18 2015-10-27 20:46:04

apache
Member
Registered: 2015-10-15
Posts: 40

Re: Smallest version ever

Thanks mojo and Aleksej !!! I really appreciated your help smile

Now my Slitaz 4.0 rolling GTKonly that size only 22MB has audio support.

[c]  ____ _   _ _   _   ___     _
/ ___| \ | | | | | / / |   (_)_ __  _   ___  __
| |  _|  \| | | | |/ /| |   | | '_ \| | | \ \/ /
| |_| | |\  | |_| / / | |___| | | | | |_| |>  <
\____|_| \_|\___/_/  |_____|_|_| |_|\__,_/_/\_\[/c]

Offline

#19 2015-10-29 09:19:46

apache
Member
Registered: 2015-10-15
Posts: 40

Re: Smallest version ever

Being using my gtk iso and all works well so far.

So if anyone know/has lighter version than mine please let me know yea. smile

____ _   _ _   _   ___     _

/ ___| \ | | | | | / / |   (_)_ __  _   ___  __

| |  _|  \| | | | |/ /| |   | | '_ \| | | \ \/ /

| |_| | |\  | |_| / / | |___| | | | | |_| |>  <

\____|_| \_|\___/_/  |_____|_|_| |_|\__,_/_/\_\

Offline

#20 2015-11-14 18:29:02

apache
Member
Registered: 2015-10-15
Posts: 40

Re: Smallest version ever

I want to create an iso only contain these packages ...  others packages i already save them in my flash ... so how to make it?

busybox                 1.18.4            base-system

gettext-base            0.18.1.1          base-system

glibc-base              2.13              base-system

libtaz                  1.6               base-system

slitaz-base-files       4.6               base-system

slitaz-boot-scripts     4.7.2             base-system

tazpkg                  4.9.2             base-system

tazusb                  4.1               base-system

udev                    170               base-system

Offline

#21 2015-11-14 18:46:34

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: Smallest version ever

> I want to create an iso

> SliTaz 4.0

http://pizza.slitaz.me/

Offline

#22 2015-11-14 19:54:56

apache
Member
Registered: 2015-10-15
Posts: 40

Re: Smallest version ever

At step 2 why the packages remain same after i ticked to remove them?

Offline

#23 2015-11-14 20:25:23

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Smallest version ever

When I've used Pizza a year ago I meat the same problem: it wasn't possible to remove packages from the flavor I've selected. I can only remove packages that I'd added...

Offline

#24 2015-11-14 21:35:32

apache
Member
Registered: 2015-10-15
Posts: 40

Re: Smallest version ever

So what the point to create a new iso with the same packages ... lol i dont see what the

difference there.

My aim is to create a clean iso no need to remove delete packages.

Offline

#25 2015-11-15 02:21:36

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Smallest version ever

Hi apache,

Seems here's no tools fully satisfied your needs.

I've manually prepared ISO for you, you can grab it here: http://people.slitaz.org/~lexeii/iso/

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.59 MiB (Peak: 1.77 MiB) ]