1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00

Update uefi.8 for ZFS and multi device boot support

As of r294068 boot1.efi can load loader.efi from ZFS.

As of r295320 boot1.efi prefers to load loader.efi from the same device
it was loaded from.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2016-02-11 02:02:01 +00:00
parent 71de598c86
commit b4ccb55306
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295497

View File

@ -83,9 +83,17 @@ passes the configuration to the next stage boot loader and does not
itself act on the contents of the file.
.It
.Pa boot1.efi
locates the first partition with the type
.Li freebsd-ufs ,
and from it loads
searches partitions of type
.Li freebsd-ufs
and
.Li freebsd-zfs
for
.Pa loader.efi .
The search begins with partitions on the device from which
.Pa boot1.efi
was loaded, and continues with other available partitions.
.Pa boot1.efi
then loads and executes
.Pa loader.efi .
.It
.Pa loader.efi
@ -146,19 +154,3 @@ Foundation sponsored portions of the work.
EFI environment variables are not supported by
.Xr loader 8
or the kernel.
.Pp
.Pa boot1.efi
loads
.Pa loader.efi
from the first FreeBSD-UFS file system it locates, even if it is on a
different disk.
.Pp
.Pa boot1.efi
cannot load
.Pa loader.efi
from a
.Xr ZFS 8
file system.
As a result,
.Nm
does not support a typical root file system on ZFS configuration.