Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jan 2026 23:02:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 292232] loader: kernels_autodetect fails on initial load
Message-ID:  <bug-292232-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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

            Bug ID: 292232
           Summary: loader: kernels_autodetect fails on initial load
           Product: Base System
           Version: 16.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: ivy@FreeBSD.org
                CC: kevans@freebsd.org

on a newly installed amd64 system with some local installer/packaging patches:

+ /boot/kernel doesn't exist
+ /boot/kernel.GENERIC contains a kernel
+ no other kernels are installed
+ loader.conf is an empty file

when the loader starts, the beastie menu correctly autodetects "kernel.GENERIC"
and the menu shows "Kernel: 6. kernel.GENERIC (1 of 1)", but pressing "1" to
boot does not work (nothing happens).

dropping to the loader prompt and running "boot" by hand indicates it's trying
to boot /boot/kernel/kernel, not /boot/kernel.GENERIC/kernel.

if i press 6 to change the kernel (which doesn't do anything, since there's
only one kernel available), pressing "1" to boot then works correctly.

it seems like something isn't being initialised properly until the user
manually switches the kernel at least once.

-- 
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-292232-227>