Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strip down gentoo linux
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
dirk_salewski
Apprentice
Apprentice


Joined: 04 Jun 2003
Posts: 216
Location: Germany

PostPosted: Fri Mar 04, 2005 7:42 am    Post subject: Strip down gentoo linux Reply with quote

Hello Community,

a few days ago I tried to install gentoo on a Thinkpad 600 with 3G harddisk. After completing stage 3, reboot and rm /usr/portage/distfiles/* it used approximately 1,4G on my harddrive. No Xorg, no icewm, no slocate, no nothing, just the base system + logger + fcron.

Having problems with framebuffer, sound and net.eth0 (pcmcia rtl81something) I decided to install a "normal" distro first to see how the configuration files have to look when everything is working (You can get almost everything to work on TP600 with Linux, except for lmsensors). I used VectorLinux...

Now, VL uses around 900MB on my harddrive, with
- X
- icewm
- fluxbox
- choice of terms
- gmplayer
- gimp 1.2
- xmms
- gqview
- wdm
- rox
- eyecandy
- lots of other stuff

Moreover, this system is quite responsive.

I don't want to stay with VL (though I appreciate the VL-crowds work) - to be honest, I'm sick of changing distros / having more than one and want to stay with gentoo. My question is: is it possible to do something equally slick with gentoo? I googled for (gentoo + small or strip or ...), but the only thing I found was how to put an already working system on usb sticks.

I don't necessarily want a complete recipe (though I would'n mind having one) - pointers into the right direction would be fine.

Greetings,

Dirk

P.S.: I already used "-Os" in my CFLAGS, and no additional flags known to increase binary size.
Back to top
View user's profile Send private message
hds
Advocate
Advocate


Joined: 21 Aug 2004
Posts: 2629
Location: Sprockhoevel [GER]

PostPosted: Fri Mar 04, 2005 7:51 am    Post subject: Reply with quote

well, its been about half a year, but i have similar hardware (also thinkpad 600, 3GB HD). i have a full KDE installed, and all of this uses 2.5GB, so i still have 500MB left for my $HOME (ok with me, because the laptop is hooked to the LAN anyway).
maybe have a look at this thread:
https://forums.gentoo.org/viewtopic-t-216727-highlight-thinkpad.html
and, yes, this thread is a 100% dupe, sorry :P
Back to top
View user's profile Send private message
thebigslide
l33t
l33t


Joined: 23 Dec 2004
Posts: 790
Location: under a car or on top of a keyboard

PostPosted: Fri Mar 04, 2005 8:00 am    Post subject: Reply with quote

Here's 2 ways
1) The Kludgey Way
Code:

rm todelete.txt
updatedb
locate doc >> todelete.txt
locate Doc >> todelete.txt
locate portage >> todelete.txt
locate python >> todelete.txt
locate src >> todelete.txt

please screen todelete.txt by hand before piping it into rm -fr or anything like that.

2) The Eloquent Way
If you want to make a tiny binary system, you need a dev system to make the programs on. For simplicity. start with the root filesystem from damn small linux. You can add programs to that one at a time very easily with my copybins script Once you have that root filesystem decked out, just boot that! :)

The 3rd, way which is more of a pain is to reinstall with less USE flags. Before you emerge system, do an emerge -pv system and it will give you an idea of all the junk that's getting installed. You can turn off use flags to reduce this without really loosing any functionality.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Fri Mar 04, 2005 9:42 am    Post subject: Reply with quote

See also:

Moved from Installing Gentoo.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum