From unknown Thu Jun 12 06:42:10 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#39095 <39095@debbugs.gnu.org> To: bug#39095 <39095@debbugs.gnu.org> Subject: Status: GRUB EFI should have a 'chainloader' option Reply-To: bug#39095 <39095@debbugs.gnu.org> Date: Thu, 12 Jun 2025 13:42:10 +0000 retitle 39095 GRUB EFI should have a 'chainloader' option reassign 39095 guix submitter 39095 symphonia@disroot.org severity 39095 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 12 07:08:19 2020 Received: (at submit) by debbugs.gnu.org; 12 Jan 2020 12:08:19 +0000 Received: from localhost ([127.0.0.1]:57071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqc2V-0003WG-2h for submit@debbugs.gnu.org; Sun, 12 Jan 2020 07:08:19 -0500 Received: from lists.gnu.org ([209.51.188.17]:34071) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqc2R-0003W7-Se for submit@debbugs.gnu.org; Sun, 12 Jan 2020 07:08:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34929) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqc2Q-0003f9-Gj for bug-guix@gnu.org; Sun, 12 Jan 2020 07:08:15 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,RCVD_IN_DNSWL_NONE, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iqc2P-0002KQ-6R for bug-guix@gnu.org; Sun, 12 Jan 2020 07:08:14 -0500 Received: from knopi.disroot.org ([178.21.23.139]:41260) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iqc2O-0002EO-Nd for bug-guix@gnu.org; Sun, 12 Jan 2020 07:08:13 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 22DBA35B88 for ; Sun, 12 Jan 2020 13:08:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TIwKhWVvqY_o for ; Sun, 12 Jan 2020 13:08:09 +0100 (CET) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1578830889; bh=Uh3E9xU3Us4ODUiGOjk8p/5OO2M0iJQRhUqylcDEvSc=; h=Date:From:Subject:To; b=K6tvVZuQ0w8Gk2/dOKt8PhoNC6UcJuJDGJ5Ld4RRmevFIU1bmGrynkI/sMVH4Kt0O BaRytH+/04tGkT4od7uXP33B+B1hTktwq8gh8yGp5PkA8hg3gcM/gDRRxfuY2Ra9UI Pybz3xZ6TX9H2xeAPMhjmc47pimoO7SvH+kQ5V0qP60baeNyiEY/bejjiqHt8ivGGs wIs0NXTVNV+enZPH4+QByux8T3PNHwWbwMcDelX1o2BlxvLEVCONvaQWzArC2GRfrV SYcQwuMPW/uICtBcAdSOVRDh4LqK+WU2ib6hLGhBPEBXGYfGu/sZXu1mF9TyGMRJzQ wbL49+BDZU0zg== Date: Sun, 12 Jan 2020 12:08:08 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: symphonia@disroot.org Message-ID: <3def06d55cde9f831d7dea84c1b94155@disroot.org> Subject: GRUB EFI should have a 'chainloader' option To: bug-guix@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 178.21.23.139 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit 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: -2.4 (--) To dual boot with NixOS and other operating systems it would be nice to h= ave 'chainloader' so that this configuration would work:=0A(bootloader=0A= (bootloader-configuration=0A (bootloader grub-efi-bootloader)=0A= (target "/boot/efi")=0A (menu-entries=0A (menu-entry=0A = (label "systemd-boot")=0A (chainloader "/EFI/Boot/bootx64.e= fi"))) From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 12 09:55:43 2020 Received: (at 39095) by debbugs.gnu.org; 12 Jan 2020 14:55:43 +0000 Received: from localhost ([127.0.0.1]:57766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqeeV-0003R3-G4 for submit@debbugs.gnu.org; Sun, 12 Jan 2020 09:55:43 -0500 Received: from imta-36.everyone.net ([216.200.145.36]:36290 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqeeS-0003Qx-SM for 39095@debbugs.gnu.org; Sun, 12 Jan 2020 09:55:41 -0500 Received: from pps.filterd (m0004960.ppops.net [127.0.0.1]) by imta-38.everyone.net (8.16.0.27/8.16.0.27) with SMTP id 00CErG8V010924; Sun, 12 Jan 2020 06:55:38 -0800 X-Eon-Originating-Account: o2a-n6c8q1Ele-rwbMMbBm8mgnEecarYhbqzBmdiYiw X-Eon-Dm: m0116952.ppops.net Received: by m0116952.mta.everyone.net (EON-AUTHRELAY2 - 32d0d199) id m0116952.5e0ea4bf.10c294; Sun, 12 Jan 2020 06:55:38 -0800 X-Eon-Sig: AQMHrIJeGzNqV0gtLwIAAAAC,ce2aa43b594a115b50d3c14a2406edef X-Eip: b3lr9hOIcbUMPfWTGTVTnGVJ-X1ngDV060qQONukGNs Date: Sun, 12 Jan 2020 06:55:28 -0800 From: Bengt Richter To: symphonia@disroot.org Subject: Re: bug#39095: GRUB EFI should have a 'chainloader' option Message-ID: <20200112145528.GA34843@Evo25c2ArchGx4.localdomain> References: <3def06d55cde9f831d7dea84c1b94155@disroot.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <3def06d55cde9f831d7dea84c1b94155@disroot.org> User-Agent: Mutt/1.12.2 (2019-09-21) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2020-01-12_04:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1034 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-2001120141 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 39095 Cc: 39095@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: , Reply-To: Bengt Richter Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) Hi symphonia, On +2020-01-12 12:08:08 +0000, symphonia@disroot.org wrote: > To dual boot with NixOS and other operating systems it would be nice to have 'chainloader' so that this configuration would work: > (bootloader > (bootloader-configuration > (bootloader grub-efi-bootloader) > (target "/boot/efi") > (menu-entries > (menu-entry > (label "systemd-boot") > (chainloader "/EFI/Boot/bootx64.efi"))) > > > I just got a librem13v4 with PureOS installed booting via Coreboot amd grub, and found that it will boot legacy mbr usbs, but would not boot a UEFI-bootable USB or system on external USB SSD, though it shows up in a list of bootables. (I've seen a reference to some kind of tool that converts a GPT partition to MBR style, but I don't want to do that). Does anyone know if efibootmgr and coreboot see bios nvram compatibly? Or a workaround? I saw your post and am hoping to find a possibly similar 'chainloader' solution, but worry that the second loader may mess incompatibly with bios nvram. -- Regards, Bengt Richter