From owner-freebsd-questions@FreeBSD.ORG Sun Aug 1 00:06:07 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DF6D16A4CE for ; Sun, 1 Aug 2004 00:06:07 +0000 (GMT) Received: from outbox.allstream.net (outbox.allstream.net [207.245.244.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id E269743D5C for ; Sun, 1 Aug 2004 00:06:06 +0000 (GMT) (envelope-from epilogue@allstream.net) Received: from localhost (mon-pq66-158.dial.allstream.net [216.123.142.30]) by outbox.allstream.net (Allstream MTA) with SMTP id 024CE1BBA6B; Sat, 31 Jul 2004 20:05:06 -0400 (EDT) Date: Sat, 31 Jul 2004 20:04:35 -0400 From: epilogue To: Scott Message-Id: <20040731200435.3dac71d1@localhost> In-Reply-To: <20040731103615.GA33587@freebsd-01.two-fifths.com> References: <20040731103615.GA33587@freebsd-01.two-fifths.com> X-Mailer: Sylpheed-Claws 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd4.10) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: can i delete /usr/obj/ before installworld? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Aug 2004 00:06:07 -0000 On Sat, 31 Jul 2004 10:36:16 +0000 Scott wrote: > Hi there, > > I'm really short on diskspace, and I have no room to run a make > buildkernel after I run make buildworld. > > Is it possible to do the following: > > make buildworld > rm -fr /usr/obj > make buildkernel > make installkernel > -reboot single user > make installworld hello scott, if i am not mistaken, everything created by make buildworld is what ends up under /usr/obj. by deleting these files, you are effectively removing everything that you want to install via make installworld. (perhaps?) a more space effective workaround would be to: 1) build a generic kernel and keep that lying about. in other words, copy the new generic kernel you build to another file like kernel.generic. these are pretty good about booting up, the despite minor changes that can take place from buildworld to buildworld. 2) perform the make buildworld, reboot, make installworld, mergemaster, reboot. 3) boot with your kernel.generic, clean out usr/obj, then make a new kernel. if this still doesn't work for you, i would recommend cleaning out some of the directories which can chew up free disk space. for example, /usr/ports/distfiles/ and /usr/ports/*/work (see man portsclean - part of portinstall tools) and your/tmp (if you don't already have clear_tmp_enable="YES" set in your rc.conf). i know that this isn't exactly a perfect solution, but i hope nevertheless that it helps you to achieve your end goal. cheers, epi > TIA > Scott > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >