[plug] Small Gentoo Installation

Shannon Carver shannon.carver at gmail.com
Thu Jun 29 12:04:58 WST 2006


I know what it probably is..

Check the du of /usr/portage/distfiles

Its all the files (and updates/new versions etc etc etc) Gentoo stores for
updates so if things need to be compiled again, it uses those stored files
instead of downloading the lot again.

Mine was up to 8GB at one point.

Shannon

> -----Original Message-----
> From: plug-bounces at plug.org.au [mailto:plug-bounces at plug.org.au] On Behalf
> Of Patrick Coleman
> Sent: Thursday, 29 June 2006 11:32 AM
> To: plug at plug.org.au
> Subject: [plug] Small Gentoo Installation
> 
> Hi,
> 
> I'm trying to get a basic Gentoo installation down nice and small so I
> can tar it up and use it for VPSs. I know with Debian I can get an
> install of 300MB or so out of the box; Slackware seems to be about
> ~180MB, but the smallest I've been able to get gentoo is 1040MB which
> seems fairly large. I'm a Debian person - the concept of waiting hours
> to upgrade or install is new to me - so I've most likely missed
> something obvious here :)
> 
> All I'm looking for in software is whatever is required to make the
> system boot, plus dhcpcd, filesystem tools and vim. As far as I know
> this is all I've installed. The system I've made in a chroot from
> stage3 and portage tarballs; I've run
> /usr/portage/scripts/bootstrap.sh and emerge -e system. I have
> confirmed the system will boot in a VPS.
> 
> I've cleaned out /usr/portage/distfiles, /tmp and /var/tmp which
> dropped the size down to what it is now from about 1.4GB.
> 
> Heres the cd /; du -sh * output:
> 6.6M    bin
> 5.2M    boot
> 121K    dev
> 1.6M    etc
> 0       home
> 6.2M    lib
> 0       mnt
> 0       opt
> 0       proc
> 16K     root
> 6.0M    sbin
> 0       sys
> 0       tmp
> 881M    usr
> 114M    var
> 
> and /usr:
> 18M     bin
> 2.4M    i386-pc-linux-gnu
> 14M     include
> 196M    lib
> 11M     libexec
> 0       local
> 515M    portage
> 1.7M    sbin
> 126M    share
> 0       src
> 0       tmp
> 
> Any advice would be great.
> 
> Cheers,
> 
> Patrick
> --
> http://www.labyrinthdata.net.au
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://www.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au




More information about the plug mailing list