[Bug 281278] mfsroot_* and vfs.root.mountfrom is not working on legacy boot.

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 05 Sep 2024 00:42:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281278

            Bug ID: 281278
           Summary: mfsroot_* and vfs.root.mountfrom is not working on
                    legacy boot.
           Product: Base System
           Version: 14.1-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: ericbsd@FreeBSD.org

I have these lines in loader.conf for the GhostBSD live image.
mfsroot_load="YES"
mfsroot_type="md_image"
mfsroot_name="/data/ramdisk.ufs"
vfs.root.mountfrom="ufs:/dev/md0"

The mount worked on our April build but is no longer botting on our August 6
snapshot build on legacy boot. The code is from 14/stable, and the snapshot is
from August 6.

The error is that it can't mount ufs:/dev/md0. It stops at the mount prompt on
the legacy boot, but it works perfectly on the EFI boot. I have tried to find
what could have caused that issue on the freebsd-src 14/stable between April
and August 6, and I cannot find anything.

I will be testing this on a new snapshot, but I thought I would report it
immediately in case it is not fixed.

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