Bug #15083
closedInstalling to ZFS mirror does not format or populate EFI partition on additional disks
100%
Description
Installing Plus 23.09.1 or CE 2.7.2 to a ZFS mirror does not format or populate the EFI partition on the additional disks of the mirror. Only the first disk in the mirror has a populated EFI filesystem with the expected loader files.
The EFI Partition for the second disk (or later) is created and labeled as /dev/gpt/efiboot1
(and so on) but there is no filesystem on that partition (and thus, no files).
Should the first disk in the mirror fail, this would leave the system unbootable.
Can be worked around by manually creating and populating the additional EFI partition(s) post-install
For example, to format and populate the EFI filesystem on the second disk of the mirror:
# newfs_msdos -F 32 -c 1 -L EFISYS1 /dev/gpt/efiboot1
# mount_msdosfs /dev/gpt/efiboot1 /mnt
# cp -R /boot/efi/ /mnt
# umount /mnt
Related issues
Updated by Jim Pingle 12 months ago
- Related to Bug #15084: Upgrading an EFI system installed to ZFS mirror does not upgrade EFI loader on additional disks added
Updated by Jim Pingle 12 months ago
Note that this is not specific to pfSense, the problem also exists in FreeBSD. There is a review in progress to address it: https://reviews.freebsd.org/D42150
Updated by Jim Pingle 9 months ago
- Assignee set to Reid Linnemann
I think this is one Reid was working on and may already be fixed.
Updated by Jim Pingle 7 months ago
- Plus Target Version changed from 24.03 to 24.07
Updated by Jim Pingle 6 months ago
- Plus Target Version changed from 24.07 to 24.08
Updated by Jim Pingle about 2 months ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Using the latest Netgate installer, a freshly installed mirror contains the appropriate EFI partition contents on both disks.
Updated by Jim Pingle about 2 months ago
- Plus Target Version changed from 24.08 to 24.11