freebsd-dev/sys/boot/efi/boot1
Steven Hartland 89b50f6b4d Fix EFI multi device boot support
Fix EFI boot support when presented with multiple valid boot partitions
across multiple devices.

It now prefers to boot from partitions that are present on the underlying
device that the boot1 image was loaded from. This means that it will boot
from the partitions on device the user chose from EFI boot menu in
preference to those on other devices.

Also fixed is the recovery from a failed attempt to boot, from a seemingly
valid partition, by continuing to trying all other available partitions
no matter what the error.

boot1 now use * to signify a partition what was accepted from the preferred
device and + otherwise.

Finally some error messages where improved and DPRINTF's with slowed boot
to aid debugging.

ZFS will still be preferred over UFS when both are available on the boot
device.

Reviewed by:	imp
MFC after:	1 week
Sponsored by:	Multiplay
Differential Revision:	https://reviews.freebsd.org/D5108
2016-02-05 15:35:33 +00:00
..
boot1.c Fix EFI multi device boot support 2016-02-05 15:35:33 +00:00
boot_module.h Fix EFI multi device boot support 2016-02-05 15:35:33 +00:00
fat-amd64.tmpl.bz2.uu Update generated efi boot image templates 2016-01-08 13:58:36 +00:00
fat-arm64.tmpl.bz2.uu Update generated efi boot image templates 2016-01-08 13:58:36 +00:00
fat-arm.tmpl.bz2.uu Update generated efi boot image templates 2016-01-08 13:58:36 +00:00
fat-i386.tmpl.bz2.uu Update generated efi boot image templates 2016-01-08 13:58:36 +00:00
generate-fat.sh Avoid unintended $FreeBSD$ expansion in generate-fat.sh 2016-01-08 17:33:34 +00:00
Makefile Fix EFI_DEBUG option 2016-01-18 12:02:05 +00:00
Makefile.depend META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
Makefile.fat
ufs_module.c Fix EFI multi device boot support 2016-02-05 15:35:33 +00:00
zfs_module.c Fix EFI multi device boot support 2016-02-05 15:35:33 +00:00