From owner-freebsd-questions@FreeBSD.ORG Tue Mar 22 12:00:31 2005 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 3E05616A4CE for ; Tue, 22 Mar 2005 12:00:31 +0000 (GMT) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2540C43D5F for ; Tue, 22 Mar 2005 12:00:30 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])j2MBxqdW014164; Tue, 22 Mar 2005 13:59:52 +0200 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) j2MC0QxI025865; Tue, 22 Mar 2005 14:00:26 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost)j2MC0Qbq025864; Tue, 22 Mar 2005 14:00:26 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 22 Mar 2005 14:00:25 +0200 From: Giorgos Keramidas To: Andrew Lewis Message-ID: <20050322120025.GA25300@orion.daedalusnetworks.priv> References: <20050322135456.708d547e@linux.site> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050322135456.708d547e@linux.site> cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD installation with single / partition 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: Tue, 22 Mar 2005 12:00:31 -0000 On 2005-03-22 13:54, Andrew Lewis wrote: > Is this a serious no-no? > > I see this breaks make installworld... :\ Complains about / being > read-only, and naturally there is no way for me to remount it r/w with > the system being up... :( And a rescue CD kinda defeats the object of > rebuilding from source... :( You are definitely doing something wrong. The root filesystem should be mounted as read-write *before* you run installworld. The UPDATING file in /usr/src contains the following: To rebuild everything and install it on the current system. ----------------------------------------------------------- # Note: sometimes if you are running current you gotta do more than # is listed here if you are upgrading from a really old current. [7] make buildworld make kernel KERNCONF=YOUR_KERNEL_HERE [1] [3] src/etc/rc.d/preseedrandom [10] mergemaster -p [5] make installworld mergemaster [4] A few paragraphs below... [3] From the bootblocks, boot -s, and then do fsck -p mount -u / mount -a cd src adjkerntz -i # if CMOS is wall time Also, when doing a major release upgrade, it is required that you boot into single user mode to do the installworld. Note the ``mount -u'' and ``mount -a'' commands. > So, would I do best to reinstall this machine with a proper FS layout > before putting it into production? A single, big root partition is definitely a "proper" FS layout, if that's what you like doing.