Date: Tue, 10 May 2022 17:42:01 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 229770] loader.efi: 'rootdev' environment variable ignored Message-ID: <bug-229770-227-sVMQ1Hx1B2@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 Torfinn Ingolfsen <tingox+freebsd@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tingox+freebsd@gmail.com --- Comment #8 from Torfinn Ingolfsen <tingox+freebsd@gmail.com> --- Doesn't work in FreeBSD 13.0-release-p11 either. Tested with entries like t= hese menuentry "FreeBSD 12" { icon /EFI/refind/icons/os_freebsd.png loader /EFI/freebsd/loader.efi options "rootdev=3Ddisk0p7" } in /boot/efi/EFI/refind/refind.conf. The entries show up in rEFInd, and I h= ave verified that rEFInd picks up the rootdev variable (it does). Also tried wi= th "rootdev=3Ddisk0p7:" doesn't change anything. A cursory check seems to indicate that loader should have support for rootd= ev root@kg-quiet:~ # strings /boot/efi/EFI/freebsd/loader.efi | grep rootdev uefi_rootdev rootdev Setting currdev to configured rootdev %s root@kg-quiet:~ # strings /boot/loader.efi | grep rootdev uefi_rootdev rootdev Setting currdev to configured rootdev %s root@kg-quiet:~ # strings /boot/loader_lua.efi | grep rootdev uefi_rootdev rootdev Setting currdev to configured rootdev %s but it doesn't work. Setting currdev manually works of course. Details: root@kg-quiet:~ # freebsd-version -ku 13.0-RELEASE-p11 13.0-RELEASE-p11 root@kg-quiet:~ # uname -a FreeBSD kg-quiet.kg4.no 13.0-RELEASE-p11 FreeBSD 13.0-RELEASE-p11 #0: Tue A= pr=20 5 18:54:35 UTC 2022=20=20=20=20 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC= =20 amd64 root@kg-quiet:~ # ll /boot/efi/EFI/freebsd/loader.efi /boot/*.efi -r-xr-xr-x 1 root wheel 114176 Apr 9 2021 /boot/boot1.efi* -rwxr-xr-x 1 root wheel 896000 May 8 11:24 /boot/efi/EFI/freebsd/loader.efi* -r-xr-xr-x 1 root wheel 109056 Apr 9 2021 /boot/gptboot.efi* -r-xr-xr-x 2 root wheel 896000 Apr 9 2021 /boot/loader.efi* -r-xr-xr-x 1 root wheel 809984 Apr 9 2021 /boot/loader_4th.efi* -r-xr-xr-x 2 root wheel 896000 Apr 9 2021 /boot/loader_lua.efi* -r-xr-xr-x 1 root wheel 750080 Apr 9 2021 /boot/loader_simp.efi* --=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-sVMQ1Hx1B2>