From owner-freebsd-questions@FreeBSD.ORG Tue Nov 20 01:49:52 2012 Return-Path: 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 31EB63CF for ; Tue, 20 Nov 2012 01:49:52 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id D5F258FC0C for ; Tue, 20 Nov 2012 01:49:51 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id qAK1npZ5031602; Mon, 19 Nov 2012 18:49:51 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id qAK1noFq031599; Mon, 19 Nov 2012 18:49:50 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Mon, 19 Nov 2012 18:49:50 -0700 (MST) From: Warren Block To: Snow Mountains Subject: Re: FreeBSD on SSD on ASUS P5KPL-C In-Reply-To: Message-ID: References: <50A83993.50401@ShaneWare.Biz> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Mon, 19 Nov 2012 18:49:51 -0700 (MST) Cc: freebsd questions list X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2012 01:49:52 -0000 On Tue, 20 Nov 2012, Snow Mountains wrote: > 2012/11/20 Warren Block : >> On Tue, 20 Nov 2012, Snow Mountains wrote: >> >>> Just one small problem. Here I got this: >>> >>> # gpart create -s bsd ada2s1 >>> gpart: geom 'ada2s1': File exists >>> # gpart set -a active -i 1 ada2s1 >>> gpart: index '1': No such file or directory >>> >>> Expected? Anyway, is it any way to but FreeBSD on something like s2? >> >> >> Sorry, typo. FreeBSD does not have to be the first slice. >> >> # gpart create -s bsd ada2s2 >> # gpart set -a active -i 1 ada2s2 > > Hm, still doesn't work. Look: > > # gpart destroy -F ada2 > ada2 destroyed > # gpart create -s mbr ada2 > ada2 created > # gpart bootcode -b /boot/mbr ada2 > bootcode written to ada2 > # gpart add -t ntfs -b 2048 -s 30g ada2 > ada2s1 added > # gpart create -s bsd ada2s2 > gpart: arg0 'ada2s2': Invalid argument I know I've seen that, but can't recall what causes it. You can try retasting before creating the BSD partitions: # true > /dev/ada2 # gpart create -s bsd ada2s2