Gentoo Archives: gentoo-user

From: Fernando Meira <fmeira@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] how to control portage space usage
Date: Mon, 08 Aug 2005 18:26:04
Message-Id: a3c2e88b0508081117fe2dc22@mail.gmail.com
In Reply to: Re: [gentoo-user] how to control portage space usage by Sean Reiser
1 Hi Sean,
2
3 On 8/8/05, Sean Reiser <sean@××××××××××.com> wrote:
4 >
5 > Fernando Meira wrote:
6 >
7 > > I have:
8 > > # df -h
9 > > Filesystem Size Used Avail Use% Mounted on
10 > > /dev/hda4 4.6G 3.8G 803M 83% /
11 > > udev 252M 808K 252M 1% /dev
12 > > /dev/hda5 23G 20G 3.3G 86% /mnt/share
13 > > /dev/hda1 9.8G 8.0G 1.8G 82% /mnt/windows
14 > > none 252M 0 252M 0% /dev/shm
15 > >
16 > > Options:
17 > > - erase hda1 (win$) and merge with with hda4.
18 > > - somehow rearrange hda5 (which is FAT) and split it 2, and merge a
19 > > part to hda4.
20 >
21 > The question is...can you live without the windows partition?
22
23
24 Well, maybe. The problem is that sometimes I need to use something that
25 works only under windows (or better under windows). Besides that I only use
26 windows for video-conference (I haven't found the time to look for a linux
27 replacement, assuming that my webcam works under linux).
28
29 if you don't need it I would look at this:
30 >
31 > 1) Merge hda1 and hda4. Assuming this is desktop box that should be
32 > plenty of space for the system and applications
33
34
35 Yes, that would be the best I could do. But, assuming that I can't remove
36 entirely windows from my laptop, what about reduce it to it's minimum
37 (windows + apps that I really need) and run it by VMware, always under
38 Gentoo? The spare space from unused apps would merge it with gentoo's
39 partition.. I estimate it of about 4Gb. What do you say about this?
40
41 2) Create a /boot partition (assuming you don't currently have one on
42 > your box that wasn't mounted when you did the df). This way if your
43 > system crashes at least /boot will not be corrupted.
44
45
46 My /boot is inside gentoo's partition. I understand the point of having it
47 outside.. I should think of changing it!! Good point!
48
49 3) Convert hda5 to ext3|reiserfs|jfs|mature non-fat fs of choice. Mount
50 > it as /home.
51
52
53 The reason it is FAT32 is to windows be able to access it. With windows
54 away, I could do that.
55 >From this partition (hda5) I may be able to free some space and "move" it to
56 gentoo's partition.
57
58 4) Consider creating a swap partition. Even if you have plenty of RAM,
59 > in my experience Linux just runs better with a swap partition mounted.
60
61
62 I have. 512mb swap. df shows it slitted into 2 other: udev and none....
63
64 I would strongly suggest that you do a full backup before doing any of
65 > this. I know there are partition resizing and reformatting utilities
66 > but they I wouldn't trust them without a backup.
67
68
69 Yes, of course!
70 Thanks for suggestions.
71 Fernando.

Replies

Subject Author
Re: [gentoo-user] how to control portage space usage Sean Reiser <sean@××××××××××.com>