Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2021 19:58:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 255824] Unattended install with UEFI and ZFS fails
Message-ID:  <bug-255824-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255824

            Bug ID: 255824
           Summary: Unattended install with UEFI and ZFS fails
           Product: Base System
           Version: 13.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: xaa+fbsdbug@dohd.org

In 13.0 extra logic is added to use /boot/efi to set the UEFI boot part using
efibootmgr. When using ZFS, /boot/efi is never mounted, so the changes are done
to /mnt on tmpfs, rendering the system unable to boot.

I did this on a VM under ESXI and in
https://forums.freebsd.org/threads/unattended-install-on-freebsd13-with-zfs-efi.80296/
it was also checked using VirtualBox, but after further investigation, I think
this is unrelated to the install environment, and it should break on any system
trying to do unattended install using ZFS and UEFI (or BIOS+UEFI).

The initial part of installerconfig that I use:

export DISTRIBUTIONS="kernel.txz base.txz localinstall.txz"
export INTERFACES="vmx0 vmx1"
export ZFSBOOT_VDEV_TYPE=stripe
export ZFSBOOT_DISKS=da0
export ZFSBOOT_SWAP_SIZE=2g
export ZFSBOOT_CONFIRM_LAYOUT=0
export ZFSBOOT_SWAP_ENCRYPTION=YES
export ZFSBOOT_BOOT_TYPE="UEFI"
export nonInteractive="YES"

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255824-227>