Skip to content

installer: unable to boot from second drive when installing ZFS mirror  #21

@crealte

Description

@crealte

I have read the contributing guidelines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
I have searched the existing issues and I am convinced that mine is new.

Describe the bug:
Unable to boot from second drive when installing with ZFS mirror on installer. Upon completion of install and rebooting gracefully, the UEFI menu only presents drive 1 as a bootable option. Upon removal of drive 1, drive 2 which was installed as part of the mirror does not boot into opnsense.

Hardware Tested:

  • Generic Mini PC (1xNVME 1xSATA)
  • Supermicro Industrial PC (2xSATA)

Attempted on multiple different environments. Both of these devices work with ZFS mirror boot configurations as tested with baremetal mirror ZFS Proxmox install.

To Reproduce:
Install ZFS mirror onto two drives.

Expected behavior
ZFS mirror install should be able to boot from either drive.

Workaround:
Performing UFS install and then re-installing with ZFS mirror seems to fix the install and both drives are boot options.

Environment
OPNsense-23.7
OPNsense-23.1
OPNsense-22.7

Did not try earlier releases

Tried DVD, VGA, and NANO images, same behavior exhibited.

Metadata

Metadata

Assignees

No one assigned

    Labels

    supportCommunity support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions