Ir al contenido principal

Ralsina.Me — El sitio web de Roberto Alsina

Cleaning the Attic #1 and #2

I will be reposting here some of the things I wrote and published in other places, here is the first one, make it a double!:

CodeWritinFool / 2006-04-03 05:18:

Have you tried tinylogin? tinylogin.busybox.net

Have you tried busybox? www.busybox.net



Both of these can make a system MUCH smaller.



If glibc is taking up lots of room, consider uClibc, but it isn't necessarily as straightforward as tinylogin and busybox.

=) / 2006-04-03 05:18:



check this out: http://www.linuxquestions.org/questions/showthread.php?s=&threadid;=88991



I'm currently using k-drive (tinyx), sylpheed (email), skipstone (browser). Did you try Mplayer?

Roberto Alsina / 2006-04-03 05:19:

uClibc is probably too difficult, because everything would have to be recompiled, and one of the things I like about the current setup is that it's basically a current system using a common distro.



tinylogin is probably a good idea, although I wonder how much does it save (login is not precisely big :-)



Busybox looks cool :-)



k-drive is cool, I need to try it, this article is older than it seems (about two years old) I do get hardware acceleration for this chipset with the regular X, though.



Sylpheed really seemed too heavy when I tried it, specially its RAM usage is about five times mutt's.



skipstone I haven't tried, I am really happy with links.



Mplayer is just too heavy. I get about 0.05fps with it.


andrew / 2006-04-03 05:33:

Debian does have a network config tool, just apt-get install etherconf



you may also wanna try rcconf (ntsysv like runlevel editor)

Roberto Alsina / 2006-04-03 05:41:

Andrew: well, to do that, I would have to have the network configured. Then what use is it? ;-)

gunnix / 2006-04-03 07:08:

hi,



It all looks very interesting but could you add a short explanation to every step that isn't clear how to do for a newb.

for example:

I'm interested in how to make ash the default ? I made sh a simlink to ash but I still see bash in 'top' and not a single ash.



Sorry for my ignorance

Roberto Alsina / 2006-04-03 07:10:

Re: Gunnix



No, I can't add an explanation to every step. That would make it five times as long, and I have no time.



Making sh a symlink to ash means that when someone calls sh, he gets ash.



However, your user profile probably says /bin/bash, not /bin/sh.



Anyway, the idea was mostly to speed up booting, since ash is pretty awful as an interactive shell.

gunnix / 2006-04-03 07:13:

ok, thx for your explanation on ash.


pctips / 2006-04-04 01:25:

You can save memory by reducing the number of Virtual Consoles. Open /etc/inittab and go to:



1:2345:respawn:/sbin/mingetty --noclear tty1

[..]

5:2345:respawn:/sbin/mingetty tty5

6:2345:respawn:/sbin/mingetty tty6



Then add a # to each console you want to disable:



1:2345:respawn:/sbin/mingetty --noclear tty1

2:2345:respawn:/sbin/mingetty tty2

3:2345:respawn:/sbin/mingetty tty3

#4:2345:respawn:/sbin/mingetty tty4

#5:2345:respawn:/sbin/mingetty tty5

#6:2345:respawn:/sbin/mingetty tty6



You can also use Dillo (about 300 Kb) as graphical web browser.

jago25_98 / 2006-04-04 01:50:

Nice.

What distro do you find barebones yet convienient to build up upon?



(lfs surely waay too much work?)

Roberto Alsina / 2006-04-04 12:54:

LFS is waaaaaay too much work :-)



Arch is nice and simple enough, but the lack of admin tools can drive you nuts unless you know exactly what you are doing.

Tommy Blom / 2006-04-04 14:02:

I am aware this article is quite old but no harm in asking anyway:

could i get a copy of the kernel configfile you have used for the libretto 50 if it is still available?



I just got myself one of these jewels and i want to have it as fast as possible :)

Roberto Alsina / 2006-04-04 14:03:

No, sorry, the libretto has gone to heaven a few months ago.


Contents © 2000-2024 Roberto Alsina