From owner-freebsd-questions@FreeBSD.ORG Wed Jan 14 13:53:31 2009 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 6BB8C106566B for ; Wed, 14 Jan 2009 13:53:31 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from mail-bw0-f20.google.com (mail-bw0-f20.google.com [209.85.218.20]) by mx1.freebsd.org (Postfix) with ESMTP id DE4078FC14 for ; Wed, 14 Jan 2009 13:53:30 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by bwz13 with SMTP id 13so1849459bwz.19 for ; Wed, 14 Jan 2009 05:53:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=DF58NmRnBKItXWattXDGqGaxN3HKfP3xwrvaAn2+Bjk=; b=OpEyWRGUQLKchyjhLt7iAAbz6xXe8olWfv6u9/GPtyU8ORSDieEhwSor8FG7j1kfx6 OdSSbKwZvzFZZ+UQMYHUMjeRehEpm6b1I0bMUP2cQzgMs9anfNDr2VSoiv/VorAYPJs1 Do3SgBsh9Ogw3p6wjjQNtthkur0hwMil/fXlQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=uBzgwr4C7/DhPUiljs/ts+nBi1LiWFC0Cd99RKhmFFyl6fGFjbefhw2q6z1/hIG6H7 gMSVhNrPFrkObVccC+eaAhXJMni1inZXq5J9vLsVWZwLz4/bSOvOa2ThpFmb8CBFGyxs RZbl498o/9JgXQrl4dgxcst0Ntga15daobS1M= Received: by 10.223.110.200 with SMTP id o8mr150751fap.56.1231941209588; Wed, 14 Jan 2009 05:53:29 -0800 (PST) Received: by 10.223.125.134 with HTTP; Wed, 14 Jan 2009 05:53:29 -0800 (PST) Message-ID: <94136a2c0901140553i405b455fv342b8f145e87b02b@mail.gmail.com> Date: Wed, 14 Jan 2009 14:53:29 +0100 From: "Zbigniew Szalbot" To: "User Questions" In-Reply-To: <94136a2c0901132313ga018517idd21cf7a784aae7f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <94136a2c0901132313ga018517idd21cf7a784aae7f@mail.gmail.com> Subject: Re: updating to 7.1 with a small root slice 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: Wed, 14 Jan 2009 13:53:31 -0000 Hello, On Wed, Jan 14, 2009 at 08:13, Zbigniew Szalbot wrote: > Dear all, > > I am looking for your advice. Due to a very stupid design decision my > / slice is only 256 MB. It seems too little so whenever I compile a Actually it is 242MB > new kernel, I need to move the kernel.old to a different slice to > install the new one. Then I pray, hope for the best and reboot. > However, I read that if I want to update to 7.1 I will need to boot a > generic kernel at some point. What option do I have? I found the problem. My oh my - I had makeoptions DEBUG=-g uncommented. When I commented it out, the new compiled kernel is only 32MB whereas the old one was 128 or so MB. So I am happy about it now. However, I do not have a GENERIC kernel in /boot and I will need it to do nextboot when I upgrade to 7.1. I thought I'd use the procedure described here http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html to compile a generic kernel # cd /usr/src # env DESTDIR=/boot/GENERIC make kernel # mv /boot/GENERIC/boot/kernel/* /boot/GENERIC # rm -rf /boot/GENERIC/boot When I make the GENERIC kernel, I again run out of space (I still have about 60MB free in /). So I guess the system is probably using the same "makeoptions DEBUG=-g" settings for the generic kernel. So my question is where is the kernel conf file based on which the generic kernel is compiled? Is it in /usr/src/sys/i386/conf/GENERIC ? Thank you in advance! -- Zbigniew Szalbot www.slowo.pl www.fairtrade.net.pl