Main index | Section 8 | Options |
The filesystem specified by the bootfs property of the pool is used as a default boot filesystem. If the bootfs property is not set, then the root filesystem of the pool is used as the default. loader(8) is loaded from the boot filesystem. If /boot.config or /boot/config is present in the boot filesystem, boot options are read from it in the same way as boot(8).
The ZFS GUIDs of the first successfully probed device and the first detected pool are made available to loader(8) in the vfs.zfs.boot.primary_vdev and vfs.zfs.boot.primary_pool variables.
The filesystem specification and the path to loader(8) are different from boot(8). The format is
[zfs:pool/filesystem: ][/path/to/loader ]
Both the filesystem and the path can be specified. If only a path is specified, then the default filesystem is used. If only a pool and filesystem are specified, then /boot/loader is used as a path.
Additionally, the status command can be used to query information about discovered pools. The output format is similar to that of zpool status (seezpool(8)).
The configured or automatically determined ZFS boot filesystem is stored in the loader(8) loaddev variable, and also set as the initial value of the currdev variable.
/boot/gptzfsboot | |
boot code binary | |
/boot.config | parameters for the boot block (optional) |
/boot/config | alternative parameters for the boot block (optional) |
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0
gptzfsboot can also be installed without the PMBR:
gpart bootcode -p /boot/gptzfsboot -i 1 ada0
GPTZFSBOOT (8) | September 15, 2014 |
Main index | Section 8 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.