Project

General

Profile

Actions

Bug #15083

open

Installing to ZFS mirror does not format or populate EFI partition on additional disks

Added by Jim Pingle 5 months ago. Updated 4 days ago.

Status:
New
Priority:
High
Category:
Installer
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
24.07
Release Notes:
Default
Affected Version:
Affected Architecture:

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

Related to Bug #15084: Upgrading an EFI system installed to ZFS mirror does not upgrade EFI loader on additional disksNewChristian McDonald

Actions
Actions #1

Updated by Jim Pingle 5 months ago

  • Related to Bug #15084: Upgrading an EFI system installed to ZFS mirror does not upgrade EFI loader on additional disks added
Actions #2

Updated by Jim Pingle 5 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

Actions #3

Updated by Jim Pingle about 2 months ago

  • Assignee set to Reid Linnemann

I think this is one Reid was working on and may already be fixed.

Actions #4

Updated by Jim Pingle 4 days ago

  • Plus Target Version changed from 24.03 to 24.07
Actions

Also available in: Atom PDF