From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: [PATCH 6/6] gnu: Add grub-efi. Date: Wed, 21 Dec 2016 19:55:13 +0100 Message-ID: <20161221195513.6d71653b@scratchpost.org> References: <20161105125511.29383-1-mbakke@fastmail.com> <20161105185803.GA11667@jasmine> <87h97l67kz.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <878tsww9ov.fsf@gnu.org> <87vaw087kr.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <871syny88o.fsf@gnu.org> <87oa1r8wyv.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <871sx73ink.fsf@gnu.org> <87y3zfrd7j.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <87y3zdo6cx.fsf@gnu.org> <87lgvdnw23.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <87lgvc6vp0.fsf@gnu.org> <87lgvbc41t.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <87fulj1uxc.fsf@gnu.org> <87inqfbkmr.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <87d1gmiu5b.fsf@gnu.org> <87a8bqbr0t.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <871sx2h79h.fsf@gnu.org> <877f6ubfvb.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <874m1xodco.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJm2t-0006mP-5n for guix-devel@gnu.org; Wed, 21 Dec 2016 13:55:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJm2q-0003ns-LP for guix-devel@gnu.org; Wed, 21 Dec 2016 13:55:23 -0500 In-Reply-To: <874m1xodco.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org Hi, efibootmgr is trying to add an entry for Linux to the EFI bootmanager and set the boot priority order. It won't usefully autoboot without it. That said, depending on how good the UEFI implementation on your laptop is you might be able to hit a function key on POST and select the image file manually. (There has to be a FAT partition which is supposed to contain all the things that the bootloader can boot) The problem is when you boot in legacy BIOS mode you don't have UEFI functionality available, including the calls that would modify the boot order and boot menu. The best way would to also boot the GuixSD USB image via UEFI and not MBR. I think all you need for that is the image file on the USB stick on a FAT partition under \EFI\BOOT\BOOTX64.EFI . So it should be easy to have a dual ISO image. That said, I only have Libreboot personally so I can't help much with it. I just had to fix UEFI problems for a customer of mine (two months ago) so it's still fresh in my mind. Note that many UEFI setups have a "Lock Boot Order" option. Make sure it's not locked, otherwise it doesn't matter what efibootmgr does - it will just be cleared on next reboot.