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:40:35 +0100 Message-ID: <87o9kjqqzw.fsf@elephly.net> References: <87tvuel15z.fsf@netris.org> <20180218174922.47f656a7@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]:47660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoFfq-0005YB-Ms for bug-guix@gnu.org; Tue, 20 Feb 2018 16:42:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoFfm-0004g7-P8 for bug-guix@gnu.org; Tue, 20 Feb 2018 16:42:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:45444) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eoFfm-0004ft-It for bug-guix@gnu.org; Tue, 20 Feb 2018 16:42:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eoFfm-0003IZ-CB for bug-guix@gnu.org; Tue, 20 Feb 2018 16:42:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <20180218174922.47f656a7@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 Hi Danny, >> This change breaks my mips64el-linux GuixSD system, which is supported >> by GRUB, but where "--target=3Di386-pc" is obviously not appropriate. O= n >> my system I need a different 'target' setting. > > A pretty safe workaround is to substitute /sys/firmware/efi by /sys/firmw= are/non-efi > in ./grub-core/osdep/linux/platform.c for non-efi grub. 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? --=20 Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net