From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#30311: efi-less grub install fails Date: Tue, 20 Feb 2018 22:49:19 +0100 Message-ID: <87lgfnqqlc.fsf@elephly.net> References: <87tvuel15z.fsf@netris.org> <20180218174922.47f656a7@scratchpost.org> <87o9kjqqzw.fsf@elephly.net> <20180220224317.36920bcb@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoFna-00078i-7T for bug-guix@gnu.org; Tue, 20 Feb 2018 16:50:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoFnX-0001j2-3z for bug-guix@gnu.org; Tue, 20 Feb 2018 16:50:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:45452) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eoFnW-0001iQ-Ve for bug-guix@gnu.org; Tue, 20 Feb 2018 16:50:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eoFnW-0005Qc-Is for bug-guix@gnu.org; Tue, 20 Feb 2018 16:50:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <20180220224317.36920bcb@scratchpost.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Danny Milosavljevic Cc: Ricardo Wurmus , 30311@debbugs.gnu.org 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