From owner-freebsd-questions@FreeBSD.ORG Wed May 9 13:49:30 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7F69F16A409 for ; Wed, 9 May 2007 13:49:30 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.freebsd.org (Postfix) with ESMTP id 43E3413C468 for ; Wed, 9 May 2007 13:49:30 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.139] (helo=anti-virus01-10) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1HlmXo-0005Ai-Ur; Wed, 09 May 2007 14:49:29 +0100 Received: from [62.31.10.181] (helo=[192.168.23.2]) by asmtp-out3.blueyonder.co.uk with esmtp (Exim 4.52) id 1HlmXf-00030o-40; Wed, 09 May 2007 14:49:19 +0100 Message-ID: <4641D15E.6070901@dial.pipex.com> Date: Wed, 09 May 2007 14:49:18 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20061205 X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions References: <46418067.4090406@evotex.ch> <4641AC29.1090301@web.de> <4641B3D1.1030605@evotex.ch> <4641C1DB.700@infracaninophile.co.uk> In-Reply-To: <4641C1DB.700@infracaninophile.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Gabriel Rossetti Subject: Re: Can't get FreeBSD to boot automatically from RAID 5 system 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, 09 May 2007 13:49:30 -0000 Matthew Seaman wrote: >Gabriel Rossetti wrote: >>How can I do that? When I use sysinstall to create my partitions it >>automatically create's it as da0s1d. >> >Use: > > bsdlabel -e da0s1 > > There's also a trick you can use in sysinstall. It will only ever assign an "a" partition to /. So if you have some partition which you know will act as a root partition, but isn't actually going to be one right now, *lie*. Set the mount point to / and get assigned e.g. da0s1a then *change* the mountpoint with M (I think) back to whatever you're calling this partition right now e.g. /root2. Make sure you turn off softupdates (S?) if changing the mountpoint turns them back on. Once the a partition has been assigned, it won't be re-assigned just because you changed the mountpoint. Of course, this means that you have to assign all the pseudo-root partitions before you assign any real root partition otherwise sysinstall will likely complain about the duplicate mountpoint. (Or change the real root mountpoint, do your pseudo roots, then change the real root back to /). Of course, it doesn't help you now, but if there's a next time... --Alex