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/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255824

            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 usi=
ng
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 th=
ink
this is unrelated to the install environment, and it should break on any sy=
stem
trying to do unattended install using ZFS and UEFI (or BIOS+UEFI).

The initial part of installerconfig that I use:

export DISTRIBUTIONS=3D"kernel.txz base.txz localinstall.txz"
export INTERFACES=3D"vmx0 vmx1"
export ZFSBOOT_VDEV_TYPE=3Dstripe
export ZFSBOOT_DISKS=3Dda0
export ZFSBOOT_SWAP_SIZE=3D2g
export ZFSBOOT_CONFIRM_LAYOUT=3D0
export ZFSBOOT_SWAP_ENCRYPTION=3DYES
export ZFSBOOT_BOOT_TYPE=3D"UEFI"
export nonInteractive=3D"YES"

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



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