[Bug 283770] loader.efi won't find installation in specific conditions

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 17 Jan 2025 17:20:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283770

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste@freebsd.org

--- Comment #2 from Ed Maste <emaste@freebsd.org> ---
AFAICT the root device search logic, from efi/loader/main.c:

1. rootdev env var
2. uefi_rootdev env var, translated
3. EFI image_boot_info
4. ZFS pool
5. Baked-in MD image
6. Iterate over partitions on the same disk

For #6 a partition will be selected (sanity_check_currdev) if it contains one
of the following files:
- /boot/defaults/loader.conf
- PATH_BOOTABLE_TOKEN #define, if provided at compile-time
- /boot/kernel/kernel

Is it possible that one of these paths exist on the filesystem located before
the expected / fs?

The loader should print a number of "Trying: ..." strings, can you see if you
get these?

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