From owner-freebsd-questions@FreeBSD.ORG Sun Feb 13 18:31:27 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1E2A106566B for ; Sun, 13 Feb 2011 18:31:27 +0000 (UTC) (envelope-from remegius@comcast.net) Received: from qmta15.emeryville.ca.mail.comcast.net (qmta15.emeryville.ca.mail.comcast.net [76.96.27.228]) by mx1.freebsd.org (Postfix) with ESMTP id C1BBD8FC17 for ; Sun, 13 Feb 2011 18:31:27 +0000 (UTC) Received: from omta17.emeryville.ca.mail.comcast.net ([76.96.30.73]) by qmta15.emeryville.ca.mail.comcast.net with comcast id 7WJd1g0051afHeLAFWXT4j; Sun, 13 Feb 2011 18:31:27 +0000 Received: from remegius.comcast.net ([67.180.204.190]) by omta17.emeryville.ca.mail.comcast.net with comcast id 7WXQ1g01c46zqiB8dWXSS3; Sun, 13 Feb 2011 18:31:26 +0000 Message-ID: <4D58237C.8090208@comcast.net> Date: Sun, 13 Feb 2011 10:31:24 -0800 From: Rem P Roberti User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.13) Gecko/20110131 Thunderbird/3.1.7 MIME-Version: 1.0 To: "illoai@gmail.com" References: <4D580C00.6060902@comcast.net> <19800.3705.156052.864114@jerusalem.litteratus.org> <4D582895.7090300@comcast.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Robert Huff , FreeBSD Subject: Re: Stuck X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Feb 2011 18:31:28 -0000 >>> Rem Roberti writes: >>> >>>> This is a new one for me. I decided to do a manual update on my >>>> 8.1 box, starting with csup. Buildworld went fine, as did >>>> buildkernel. However, when I tried to install the new kernel >>>> installkernel choked with an error message telling me that it >>>> could not proceed because the root partition was full. What! I >>>> did a df and sure enough the root partition was overloaded. When >>>> I installed the system I used sysinstalls recommended sizes for >>>> the root partion, which is around 10G. Anyway, when I rebooted, >>>> the system rebooted into single user mode, and that is presently >>>> where I stand. I have no idea how to proceed at this point, and >>>> would appreciate any help in fixing this. Of course, I smell a >>>> newbie type error in all of this, but haven't quite figured out >>>> where I went wrong. >>> Start with this: >>> >>> du -x / | sort -nr | head -n 30 >>> >>> This will give you the largest directories; if any of them >>> don't look right - investigate further. >>> (For comparison: the root directory on this machine is 2 >>> gbytes, of which I use 1.1. 10 gbytes is a lot of space >> I completely misspoke, having confused the hard drive in question with >> another box. This drive is a 40G drive, of which 500MB was allotted for >> root. When I ran your command I noticed the /boot/kernel.old was very >> large, so I moved the whole thing over to my home directory, which finally >> allowed me to boot the computer normally. This was an intuitive move, and >> probably not that kosher, but it worked. But where do we go from here? >> > Remove all the *.symbols files (if you're not going > to be debugging). > > Build with "makeoptions DEBUG=-g" commented out > of your kernel config. > > (my root filesystem has 70M used. On amd64, no less) > Getting rid of all those .symbols files made a big difference. Where do I locate the kernel config file? Rem