From owner-freebsd-stable@FreeBSD.ORG Tue Jul 26 11:45:37 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0056D106566C for ; Tue, 26 Jul 2011 11:45:37 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id B8F618FC17 for ; Tue, 26 Jul 2011 11:45:36 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:8c40:e6eb:d519:2a58] (unknown [IPv6:2001:7b8:3a7:0:8c40:e6eb:d519:2a58]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id CA9115C37; Tue, 26 Jul 2011 13:45:35 +0200 (CEST) Message-ID: <4E2EA8DF.5090900@FreeBSD.org> Date: Tue, 26 Jul 2011 13:45:35 +0200 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Jerome Herman References: <4E2E9F24.1040108@dichotomia.fr> In-Reply-To: <4E2E9F24.1040108@dichotomia.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Making world but no kernel X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jul 2011 11:45:37 -0000 On 2011-07-26 13:04, Jerome Herman wrote: > I would like to know if it is possible to rebuild world, but without > upgrading or even compiling the kernel. > > The problem is such : I am presently working on a FreeBSD station that > seems to have quite a lot of problem, notably with fsck. I am starting > to wonder whether this BSD station was properly installed, or if some of > the system tools were pasted from older FreeBSD setup. > Since the machine is in a remote location, I would prefer to avoid full > reinstall if possible. Among other things, single user mode is not > available. > > So I was wondering, if I get the full sources with sysinstall, can I > make buildworld and then installworld without going through the kernel > phase or would this be a bad idea ? If you build world from *exactly* the same sources your currently running kernel was built from, then yes, it should work. That is, if you are not running with kern.securelevel >= 1. If you build world from newer sources, however, all bets are off. It might work, but also fail in various interesting ways. :)