From nobody Mon Sep 5 16:42:23 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MLvSb2K82z1HLbq for ; Mon, 5 Sep 2022 16:42:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MLvSb0q0yz45tL for ; Mon, 5 Sep 2022 16:42:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MLvSZ71nfztFy for ; Mon, 5 Sep 2022 16:42:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 285GgMlC013051 for ; Mon, 5 Sep 2022 16:42:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 285GgM5f013050 for bugs@FreeBSD.org; Mon, 5 Sep 2022 16:42:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 229770] loader.efi: 'rootdev' environment variable ignored Date: Mon, 05 Sep 2022 16:42:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grembo@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662396143; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IAJWOqvzXQrhheSZdm407QrX05s53BRWI1yK+bGPPp4=; b=fCCQNKqGPKvsNjqcCq0Q82kfQcBZNA+CfNCGnCUMXWN+fceV+MGAvFlhgxHRS5k2SLqzZ2 hm5oTxn277dnSgFTI5yhEHGqcN4QZcViopm2nugYcq0crFFPYh/5KuhxK1fIn+D95i3g/Z UBCWojnqv9KT5KdS82vJf9/cjoKSc6kLPvnkf+9bV6r72J5uwKBj4QyZtGEBds3rx92qH/ WzYDkAYVqKLybIBezjsyo/imcVSfOo6f6QmLEnkGzdhMNb+p4maCLnV8iajYAYdD9bJzmQ ghk0+hGlvo0UPA7aiEY3SSPrBGJgn/IvLq9LZa6EjRISfcszPNoUcZ9pAKk/Cw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662396143; a=rsa-sha256; cv=none; b=cJxhC4dzFIx9f8ijFgsYudcd0QbokY4h3CB6SEwJhS5A6NWAPE90JmITOq2EFrdNgRf/F6 srlW8UMzX9AsAlr1nU2Q/jNoB1OcHaQl56W7AMkybdwOWUG5muJzB9a9iF4bAWtIZN33HS 4hAKPkC2HQ/42qq4c7ofHVbyCGCa0r99AQnQniPwBjvh2nbQb7k6o4jXtr3FH01NcOFSDa QjiS68rgg7pcMA96LcK0leUFXjPW1GTLsrb2mlvjOL3qPBvWaAdhU+T9dD32ab/TUMvnyL vFKFMFMffoWmH5Fh6YW5MUxCYvyXhzAAXNWd7P89ZlHmjAiuIIbh7dMwpDGCEQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229770 Michael Gmelin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |grembo@FreeBSD.org --- Comment #9 from Michael Gmelin --- (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.=