From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 20 16:49:58 2018 Received: (at 30311) by debbugs.gnu.org; 20 Feb 2018 21:49:58 +0000 Received: from localhost ([127.0.0.1]:53349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoFnS-0005QG-BM for submit@debbugs.gnu.org; Tue, 20 Feb 2018 16:49:58 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoFnQ-0005Q8-Od for 30311@debbugs.gnu.org; Tue, 20 Feb 2018 16:49:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1519163362; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; l=895; bh=46dkPPP2wqMvE+UIFHtIXU4dh2ugoPtJyD2omdG+1Rg=; b=EztMv4bCmSbZCdkvJ8dUr498T1hc6EkfKAKgFSecOV8DbODkEk25DrQCDiNhsVPN 97c9iZ3VcSD1jlmJ6K2KN1F1J6KFjYNotnTsaGCowgqxieq3/NbuowwvOozN+pAyjvD i/P7gZmJWhWkAdBh4GApGA4aIqe9JjNIgLmFLS38= Received: from localhost (port-92-200-79-227.dynamic.qsc.de [92.200.79.227]) by mx.zohomail.com with SMTPS id 1519163362354573.4924842466991; Tue, 20 Feb 2018 13:49:22 -0800 (PST) References: <87tvuel15z.fsf@netris.org> <20180218174922.47f656a7@scratchpost.org> <87o9kjqqzw.fsf@elephly.net> <20180220224317.36920bcb@scratchpost.org> User-agent: mu4e 1.0; emacs 25.3.1 From: Ricardo Wurmus To: Danny Milosavljevic Subject: Re: bug#30311: efi-less grub install fails In-reply-to: <20180220224317.36920bcb@scratchpost.org> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Tue, 20 Feb 2018 22:49:19 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <87lgfnqqlc.fsf@elephly.net> X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 30311 Cc: Mark H Weaver , Ricardo Wurmus , 30311@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Danny Milosavljevic writes: >> I don=E2=80=99t understand this patch. How does it work? >> >> What is the effect of replacing /sys/firmware/efi with >> /sys/firmware/non-efi? > > It won't find EFI since it's looking in the wrong place. > > That's what we want :) So the value =E2=80=9C/sys/firmware/non-efi=E2=80=9D might as well be =E2=80=9C/does-not-exist=E2=80=9D? Your patch subject says =E2=80=9CMake sure that non-EFI grub doesn't try to= use EFI=E2=80=9D, but the problem I had was that GRUB insisted on being passed = a =E2=80=9C--target=E2=80=9D option. That was with a GRUB installation on a = system in legacy mode. Do you mean that this failed because GRUB erroneously attempted an EFI installation? I=E2=80=99m thoroughly confused. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net