T245 Netboot/install, FB9-RC1: UFS /boot | ZFS "/"

Marius Strobl marius at alchemy.franken.de
Tue Nov 22 16:19:26 UTC 2011


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





More information about the freebsd-sparc64 mailing list