From owner-freebsd-current@FreeBSD.ORG Fri Oct 30 13:08:13 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94CF5106568D for ; Fri, 30 Oct 2009 13:08:13 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 5DE698FC14 for ; Fri, 30 Oct 2009 13:08:13 +0000 (UTC) Received: from [192.168.1.4] (adsl-150-102-19.bna.bellsouth.net [72.150.102.19]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n9UD8Au9097709 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 30 Oct 2009 09:08:11 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Aristedes Maniatis In-Reply-To: <4AEA94A8.8030104@ish.com.au> References: <4ADE995A.8080009@ish.com.au> <1256174188.2309.22.camel@balrog.2hip.net> <4ADFCFF3.1030201@ish.com.au> <790a9fff0910220001m3d7df03j127b51d7d0696271@mail.gmail.com> <4AEA94A8.8030104@ish.com.au> Content-Type: text/plain Organization: FreeBSD Date: Fri, 30 Oct 2009 08:08:05 -0500 Message-Id: <1256908085.39726.30.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL, RDNS_DYNAMIC, SPF_SOFTFAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: Scot Hetzel , freebsd-current@freebsd.org Subject: Re: gpart, bsdlabel and fdisk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2009 13:08:13 -0000 On Fri, 2009-10-30 at 18:24 +1100, Aristedes Maniatis wrote: > On 22/10/09 6:01 PM, Scot Hetzel wrote: > > http://wiki.freebsd.org/RootOnZFS > > > > If anyone notices a problem with them, either let me know or update > > the wiki page. > > I've got some problems when following your instructions (http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror ) > > > 1. gpart set -a active -i 1 ad0 > > This throws an error: > gpart: attrib active: device not configured This is what I was saying... This doesn't work on GPT labeled disks. You only need to do this if your BIOS requires it. If you are using -CURRENT, it will be marked active when you install bootcode with gpart. > > 2. zpool create zroot mirror /dev/gpt/disk0 /dev/gpt/disk1 > > Those devices don't exist. /dev/ad8p3 exists and can be used. But there isn't even a /dev/gpt directory. He labeled the disks when he created the partitions. See the -l option. Using the actual dev entry or the gptid is fine though. > > 3. cd /dist/8.0-20090628-SNAP and then install base, catpages, etc > > We are using 8.0-RC2 and those folders do not exist in that location. Instead /dist contains a regular FreeBSD intallation, not install packages on the Fixit CD. > > > > Unfortunately when we work around all the above issues, the resulting installed system will not boot from the ZFS drives. What error is reported? robert. > > Ari Maniatis > -- Robert Noland FreeBSD