Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Sep 2022 16:42:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 229770] loader.efi: 'rootdev' environment variable ignored
Message-ID:  <bug-229770-227-TqcvzdbCIR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229770-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229770-227@https.bugs.freebsd.org/bugzilla/>

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

Michael Gmelin <grembo@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |grembo@FreeBSD.org

--- Comment #9 from Michael Gmelin <grembo@FreeBSD.org> ---
(In reply to Torfinn Ingolfsen from comment #8)

Please see https://reviews.freebsd.org/D36457

1. In order for loader.env to work, it seems like the partition needs
   to be created using `newfs_msdos` and NOT `newfs_msdos -F32 -c 1`
   like https://wiki.freebsd.org/UEFI recommends.
2. loader.efi skips the first argument passed into it, so simply specifying
   the option a second time should make it catch on (and still work once the
   bug is fixed):

    menuentry "FreeBSD 13" {
        icon /EFI/refind/icons/os_freebsd.png
        loader /EFI/freebsd/loader.efi
        options "rootdev=3Ddisk0p7: rootdev=3Ddisk0p7:"
    }

--=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-229770-227-TqcvzdbCIR>