Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Nov 2011 17:19:08 +0100
From:      Marius Strobl <marius@alchemy.franken.de>
To:        Denny Schierz <linuxmail@4lin.net>
Cc:        freebsd-sparc64@freebsd.org
Subject:   Re: T245 Netboot/install, FB9-RC1: UFS /boot | ZFS "/"
Message-ID:  <20111122161908.GA70496@alchemy.franken.de>
In-Reply-To: <0CC8135A-D4A2-4AB7-9C67-A00BAA50BC78@4lin.net>
References:  <0CC8135A-D4A2-4AB7-9C67-A00BAA50BC78@4lin.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111122161908.GA70496>