Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2003 16:34:36 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        kwythers@umn.edu
Cc:        freebsd-current@freebsd.org
Subject:   RE: ran out of room on / while installing the world
Message-ID:  <XFMail.20030122163436.jhb@FreeBSD.org>
In-Reply-To: <000001c2c25c$d438d7b0$12387618@q1d0p9>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

On 22-Jan-2003 Kirk R. Wythers wrote:
> I just ran into a problem trying to a 'make installworld' while going
> from 4.7 to 5.0-R. I thought I checked and had 30M free on / before I
> started this. However, after building, the world, building the kernel,
> installing the kernel, running mergemaster -p, I went to install the
> world and got the error 'out of space on /' 
> 
> I need to find some room, but I'm a little nervous about what I can rm.
> Here is what I'm looking at:
> 
> 1) / partition is 79M, 64M are used (I was almost sure there was more
> room than that on / before I satarted). 
> 2) /tmp is on it's own partition
> 3) du -h on subdirectories breakdown like this. 
>       a.       18M /boot
>       b.       1.4M /etc
>       c.       3.7M /kernel
>       d.       3.9M /kern.GENERIC
>       e.       6M /modules
>       f.       21M /sbin
>       g.       2.1M /stand
> 
> as you can see that pretty much accounts for it. The rest of the stuff
> is pretty small.
> 
> I need to know if I can delete any of this stuff and still successfully
> do a 'make installworld'? Particularly, is there anything in /boot or
> /sbin that can be deleted while up in single user mode before 'make
> installworld' (assuming that it is not needed for the install and will
> be replaced by the install process)?

You can blow away /kern.GENERIC for now and once you are upgraded you
can blow away /kernel.  5.0 puts kernels in /boot/<kernel name> and
each kernel includes its own set of modules rather than having
/<kernel name> and a set of shared modules under /modules.  You can
also blow away modules you aren't using in /modules right now and
once the installworld is done blow away all modules in /modules that
aren't 3rd party modules.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?XFMail.20030122163436.jhb>