Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Feb 2001 22:58:44 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        Warner Losh <imp@harmony.village.org>, obrien@FreeBSD.org, Bill Fumerola <billf@mu.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/sysinstall Makefile
Message-ID:  <3A80F224.13C9B991@elischer.org>
References:  <Pine.NEB.3.96L.1010206162702.98384I-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Watson wrote:
> 
> Actually, I've been having continuing problems with root partitions that
> are two small.  I can now no longer fit three kernels on a root partition
> with the default GENERIC kernel build (that would be /boot/kernel.SAFE,
> /boot/kernel.old, and /boot/kernel).  There are a few things we can do
> about it, including bumping the default root partition size, getting rid
> of lots of redundant code between kernel and modules, attempting to shrink
> the binaries/binary size on the root partition in various ways (shared
> libraries, more crunching/etc, and so on).  In any case, I think it is now
> becoming a real problem, and as we get more modules, it won't become less
> of a problem.
> 

I had the exact same problem..

my answer..

Copy root stuff into /big (my last partition).
Change the fstab there to be correct.
boot into that instead of 'a'.
Use disklabel -e -r to chop 20MB off the swap partition and add it to the 
front of the a partition. (swap was conveniently just above 'a'..)
use growfs to grow the 'a' partition.
fsck it.

reboot back onto 'a'.

voila, 20MB extra in /.

(I had more than enough in the swap part.. 20MB hardly changed it.)


-- 
      __--_|\  Julian Elischer
     /       \ julian@elischer.org
    (   OZ    ) World tour 2000-2001
---> X_.---._/  
            v


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A80F224.13C9B991>