Project

General

Profile

Actions

Bug #15083

closed

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

Added by Jim Pingle 12 months ago. Updated about 2 months ago.

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

100%

Estimated time:
Plus Target Version:
24.11
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 disksResolvedChristian McDonald

Actions
Actions #1

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
Actions #2

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

Actions #3

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.

Actions #4

Updated by Jim Pingle 7 months ago

  • Plus Target Version changed from 24.03 to 24.07
Actions #5

Updated by Jim Pingle 6 months ago

  • Plus Target Version changed from 24.07 to 24.08
Actions #6

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.

Actions #7

Updated by Jim Pingle about 2 months ago

  • Plus Target Version changed from 24.08 to 24.11
Actions

Also available in: Atom PDF