[Bug 258987] 13.0-RELEASE installer broken redundancy with UEFI and ZFS

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 09 Dec 2022 14:18:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258987

topical <topical@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |topical@gmx.net

--- Comment #1 from topical <topical@gmx.net> ---
There are actually several issue with the current UEFI installer:

1. Lack of logging

The install process of the loader is not written to /var/log/bsd_install

So, if you replace a disk, it's extremely hard to correctly set it up.
Previously, you could grep /var/log/bsd_install to see how partitions are
created and filled, but the UEFI installer doesn't log the commands it
executes.

2. Lack of documentation

If you want to know how to properly setup a new disk for UEFI boot, you need to
look at /usr/libexec/bsdinstall/bootconfig

The man pages are not really helpful. E.g. there is no notice about
/efi/freebsd/loader.efi. 

3. Restriction to 1 disk

That's a nasty design fault. Before 13.0, booting from any redundant disk was
granted. I had to learn it the hard way that all but the first disk's ESP
partitions are empty now!

4. No command or documentation how to install/update EFI boot loader

I had to write my own hacky script for that, but updating the boot loader is
really risky. I think, we need a proper, well-tested script.

In summary - it wasn't perfect before 13.0 but now it's really bad.

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