Gentoo Archives: gentoo-user

From: Dave Nebinger <dnebinger@××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Suggestions on partitioning HD
Date: Thu, 13 Oct 2005 18:16:35
Message-Id: 200510131410.43372.dnebinger@joat.com
In Reply to: Re: [gentoo-user] Suggestions on partitioning HD by Alexey Asprov
1 On Thursday 13 October 2005 05:15 pm, Alexey Asprov wrote:
2 > Thanks for your reply. So, if that were your system, how much space you
3 > would give to /boot /swap / ( eliminating /opt) /home /var /tmp and /usr?
4 > I just need rough numbers, so that my fresh install wouldn't get in
5 > trouble. I have 256 RAM and this is 10GIGs. Thanks again.
6
7 General rule of thumb is swap = 2 x ram, so 512mb swap.
8
9 That will leave about 9.25 gb left (must account for partitioning overhead).
10
11 I would probably do as follows:
12
13 /home - 2gb
14 /var - 1gb, rebind a section as /tmp to keep it all under this partition.
15 Assumes you are not using the PORT_LOGDIR option, if you are add another 1gb.
16 /usr/portage - 1gb but you'll need to clean out distfiles regularly.
17 Whatever is left goes to /
18
19 Note that regardless of your partitioning, you're going to want to be very
20 selective over what is installed on the system. For example, choose gnome or
21 kde, but not both (and set appropriate disabling use flags), or better yet a
22 thinner window manager like icewm or something without the bulk/overhead of
23 gnome/kde (which will struggle anyway due to low memory).
24
25 My system is allocated as:
26
27 cornholio src # df -h
28 Filesystem Size Used Avail Use% Mounted on
29 /dev/hda2 13G 7.6G 5.2G 60% /
30 /dev/hda1 99M 46M 49M 49% /boot
31 /dev/sda3 2.8G 356M 2.4G 13% /tmp
32 /dev/hdb1 3.9G 2.2G 1.7G 57% /var
33 /dev/sda2 3.9G 1.3G 2.6G 33% /var/tmp
34 /dev/hdc1 29G 23G 6.6G 78% /var/spool/news
35 /dev/hdb4 4.9G 3.3G 1.7G 67% /home
36 /dev/hdb2 3.9G 742M 3.1G 19% /usr/portage
37 /dev/sdb1 8.5G 463M 8.1G 6% /backup
38
39
40 --
41 gentoo-user@g.o mailing list