Page MenuHomeFreeBSD

fix ESP generation for ZFS boot
ClosedPublic

Authored by yuripv on Oct 8 2019, 6:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 7, 11:33 AM
Unknown Object (File)
Mar 19 2026, 9:10 AM
Unknown Object (File)
Mar 17 2026, 5:23 AM
Unknown Object (File)
Mar 17 2026, 5:16 AM
Unknown Object (File)
Mar 10 2026, 5:16 AM
Unknown Object (File)
Mar 5 2026, 8:59 AM
Unknown Object (File)
Mar 5 2026, 7:30 AM
Unknown Object (File)
Feb 9 2026, 12:09 AM
Subscribers

Details

Summary

bootconfig script uses ZFSBOOT_DISKS variable that isn't defined, and auto-detection of the ESP partition seems to be unreliable in some cases. Fix this by passing ZFSBOOT_DISKS contents from zfsboot script via temporary file.

While here, fix printing of debug messages in bootconfig (helped with debugging this :).

Test Plan

Install using memstick on a system with NVMe (boot) and SATA.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable