From owner-freebsd-sparc64@FreeBSD.ORG Tue Nov 22 16:19:26 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18133106564A for ; Tue, 22 Nov 2011 16:19:26 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id A9B4C8FC08 for ; Tue, 22 Nov 2011 16:19:25 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.4/8.14.4/ALCHEMY.FRANKEN.DE) with ESMTP id pAMGJ8Rc070538; Tue, 22 Nov 2011 17:19:08 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.4/8.14.4/Submit) id pAMGJ8Cr070537; Tue, 22 Nov 2011 17:19:08 +0100 (CET) (envelope-from marius) Date: Tue, 22 Nov 2011 17:19:08 +0100 From: Marius Strobl To: Denny Schierz Message-ID: <20111122161908.GA70496@alchemy.franken.de> References: <0CC8135A-D4A2-4AB7-9C67-A00BAA50BC78@4lin.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0CC8135A-D4A2-4AB7-9C67-A00BAA50BC78@4lin.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: T245 Netboot/install, FB9-RC1: UFS /boot | ZFS "/" X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Nov 2011 16:19:26 -0000 On Tue, Nov 22, 2011 at 12:58:27PM +0100, Denny Schierz wrote: > hi, > > I've successfull bootet from NFS via TFTP/DHCP and now I want to use /boot for UFS and the root filesystem with ZFS, but I don't know, how the boot record must be installed: > > http://wiki.freebsd.org/RootOnZFS/UFSBoot > > I'm ready until (I use VTOC8 instead of mbr) install the boot loader: > > # gpart bootcode -b /boot/boot1 da0 > gpart: Operation not supported by device > > # gpart show da0 > => 0 143331930 da0 VTOC8 (68G) > 0 2088450 1 freebsd-ufs (1G) > 2088450 8385930 2 freebsd-swap (4G) > 10474380 132857550 4 freebsd-zfs (63G) > > > so, what next? > The gpart(8) way of installing bootstrap code for VTOC8 is (see the gpart(8) man page): /sbin/gpart bootcode -p /boot/boot1 da0 sunlabel(8) is basically deprecated and probably will go away sooner or later. The above mentioned page is x86-centric. I'm not sure how much of it applies to sparc64 and/or VTOC8 but basically the intended setup should work just fine. Marius