Stroller ([EMAIL PROTECTED]) scribbled:
> 
> On 23 Sep 2003, at 7:53 pm, Joshua Banks wrote:
> 
> >I ran into a problem when trying to install Gentoo on a 4gig drive.
> >...
> >I configured the drive with the following:
> >Primary hda1 boot +64M "Ext3"
> >Primary hda2 swap +128M
> >Primary hda3 root + the rest of whats left of the drive. "Reiserfs"
> >
> >*******************************
> >After downloading the 94M i686 stage3.tar.bz2 file and doing an 
> >"emerge sync" per the directions
> >at stage 9 of the install guide, I was prompted to make sure to get 
> >the latest version of
> >"Portage" installed before installing anything else basically.
> >
> >So before doing a "emerge system" I ran through the rest of the 
> >install guide; rebooted; ejected
> >CD and now I'm booting off the HD. At this point I login with user 
> >name and password.
> >. /etc/profile
> >su
> >and then did a "emerge -u system" and it updated the Portage version 
> >and then started compiling
> >the files for the baselayout and some others that I can't remember off 
> >the top of my head.
> >...I started to get some
> >kind of error that I ran out of disk space and it kept repeating this 
> >over and over.
> 
> For a binary distro, 4gig should be LOADS of space. For Gentoo it seems 
> to be adequate, but kinda tight. You should be able to determine for 
> yourself, on one of your other machines, how much space is being 
> consumed by the Portage tree & by distfiles. You may be surprised.
> 
> >Since then I Fdisked the drive...
> 
> I do wish you hadn't done that before this:
> 
> > and started over again and I've configured the drive with the same
> >settings above.
> 
> You could have saved some trouble.
> 
> >I'm downloading this image right now so I wanted to get an idea of 
> >what I need to
> >do so that this doesn't happen again.
> 
> What image are you now downloading & why..? You should be able to do 
> quite an adequate install using a Gentoo CD that is even some months 
> old!
> 
> > Has anyone else ran into this type of issue and if so what do I need 
> >to do to overcome my drive
> >not running out of space?
> 
> Yes! You can delete anything you don't need!
> Start with that 94Meg "stage3.tar.bz2", as soon as you've unpacked it. 
> Next time it stalls, delete everything out of distfiles, and try 
> `emerge -up world --resume`. It's quite possible that you have the full 
> source in distfiles for 2 different versions of Portage, baselayout, 
> gcc & gcclib. Once you have deleted the old ones you should have enough 
> space to compile the new ones. Also check out the contents of /tmp - 
> with copious use of the `du` command you should be able to work out  
> for yourself what is consuming space - I am sure that with a 4gig drive 
> it will be possible to pare things down enough to get up to date.
> 
> Stroller.

The only thing I would add is to keep this in mind: just because you fill 
the disk doesn't mean it's toasted.  There is usually no need to reboot,
let alone reinstall.  

<anecdote>
For a while, mythtv would fill my /var partition with errors in the
logfile.  Nothing else could write to the /var directory.  In unix, no
logging means no work gets done.  Nothing crashes, it just stops till
you fix it.  So I stop mythbackend (the daemon), delete the logfile
(after saving the error message that filled 2gigs), and mount a spare
2gig partition under /var/log/mythtv .  Restart mythbackend, and no
worries.  The next time it screwed up, everything kept going.  As for
why it did that?  I think bttv.o was misbehaving, cause it stopped when
I upgraded my kernel. 
</anecdote>

Also, since you are on 4gigs, anything that has a binary package,
install the binary.  I emerged openoffice from source, holy sh*t.  The 
source tree and work area alone took >2gigs.  I think I gave it a 4gig, 
just for that job.  Yeah, I remember when having a HD, period, was high
speed.  Now I toss around 2gig partitions like candy at halloween. :)

If you run in to too much trouble, try LFS (stop throwing things at me
:( ).  It's basically an extremely detailed, totally by hand,
unautomated gentoo.  Everything is compiled from source, with your
grubby little fingers...  You'll learn a whole ton of stuff you wished
you never did, but will be thankful for later.  Keep in mind though, 
it's a book, not a distribution.  It was my primary system for a year 
and a half, so it is (eventually) totally usable (X, OOo, KDE,
sound, etc).

Oh yeah, LFS = LinuxFromScratch.org
"It's an adventure, not a distribution."

Well, that was nice ramble, I hope you got something out if it *8v)

Cooper.

PS - /usr/src/linux/Documentation/ is your friend.

--
[EMAIL PROTECTED] mailing list

Reply via email to