From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id gKnGHnSM6GWoHgEA62LTzQ:P1 (envelope-from ) for ; Wed, 06 Mar 2024 16:32:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id gKnGHnSM6GWoHgEA62LTzQ (envelope-from ) for ; Wed, 06 Mar 2024 16:32:04 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fedora.email header.s=aug2020 header.b="dzQVT/wE"; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=fedora.email ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709739124; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=pgyKbwH8xHSe8CRu5FJyCpjs5w5bYUIif8xvjlgDb2M=; b=iuxMpuXXaOFPDCO9k/DXrjc3hbJb1yblc6HwsFdxyBAsnen+EgM5+CrglfP647nk1DD2Pe NuUJnr6gh7jD1ii6PESwhs/X+gn8t5NgYg0Jxvvl1gbM1BVKeYGqdgWcPvUIy9HB+6UqmI WT7Pw7/rWbh8M9BO7tMFQi4sJ78PaPliNFqb0Az3WXWRsoHRx/FMrsJgGxVeDuZIB+2icH 7Hiw/xHO+/I6VPy9tF/7ElWWoxYYyKv22wxF410wsW4IHADOJBcK4XNqTBqVuUXd7InMrr cGOER4yXPjYG7J63R7NSEXFRywAfUpr1wlcWzvCSeYoQ0vIzCMngALNQChwUFw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fedora.email header.s=aug2020 header.b="dzQVT/wE"; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=fedora.email ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709739124; a=rsa-sha256; cv=none; b=HaVKNUUTuDO5NxQGVZLc4npljvBAFLqfMj4xZcMdIzzfTom8JBEMXJy022p1S2CDqpip40 CHRD6O4SdPPwYBSiTpBB0jGMgXSUWuL71L2H68kFX4Pf6zOjBSrxenhFojep+9JVwDdPc1 B/oeXw8DEvE1T2IB2vtb0Zc6LIhyUsEqF8zczIo3LhF1hd9MXXiTyREf7H88pqx9PG94Vb zY69FKY8l8RNHPejX2LVevKWB3Kpo5le42hrzlk8FtLWO8cU/ifVbyQvvF5KjXEbp9E6pk uVSPx8SnI/3Ok8TFOpY3NzUC+6WIEm7jdBPeA7V5SnjTC6C1qQvmvZSCuSqhhQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5BD483DE17 for ; Wed, 6 Mar 2024 16:32:04 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhtF0-0002Dy-04; Wed, 06 Mar 2024 10:31:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhtEy-0002Db-7n for help-guix@gnu.org; Wed, 06 Mar 2024 10:31:32 -0500 Received: from fedora.email ([205.185.120.125]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rhtEv-0005Uq-8r for help-guix@gnu.org; Wed, 06 Mar 2024 10:31:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fedora.email; q=dns/txt; s=aug2020; bh=pgyKbwH8xHSe8CRu5FJyCpjs5w5bYUIif8xvjlgDb2M=; h=from:subject:date:message-id:to:cc:mime-version:content-type:content-transfer-encoding:in-reply-to:references; b=dzQVT/wEiyWkScJzRr6tM1xnETmFhqWUoSkJEJGkunmHco/mpYrNppYOUXbOazHWKhS8hnE2v KjWZUk4O/stVX2qm06uvVYHxQ5UWNPnBY9Quj8+rLM2xMi7fl06wAHtW0Jdon6by1CuZqp4fSgC 997RajJk94uP8KQk0dcYmKU= Received: from localhost ([185.242.251.197] 185.242.251.197-ip.operadors.cat) (Authenticated sender: willbilly) by fedora.email (ZoneMTA) with ESMTPSA id 18e1463e4b00000176.001 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Wed, 06 Mar 2024 15:31:15 +0000 X-Zone-Loop: 86311ddf9f69c247a8509e766b88f1d432b4d79d1098 X-Originating-IP: [185.242.251.197] Date: Wed, 6 Mar 2024 16:31:09 +0100 From: William To: help-guix@gnu.org Cc: carlo@zancanaro.id.au Subject: Re: Unable to chain-load Debian Message-ID: <20240306163109.452ec596@fedora.email> In-Reply-To: <20240305225424.05514197@fedora.email> References: <20240305225424.05514197@fedora.email> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=205.185.120.125; envelope-from=willbilly@fedora.email; helo=fedora.email X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -9.60 X-Spam-Score: -9.60 X-Migadu-Queue-Id: 5BD483DE17 X-Migadu-Scanner: mx11.migadu.com X-TUID: T0C6P3wWDHmv On Tue, 5 Mar 2024 22:54:24 +0100 William wrote: > Hello. > > I currently have two GNU/Linux installs on this PC on two different > SSDs with their own GRUB, Guix and Debian. > Both SSDs have an MBR partition table, no GPT/EFI. > > I've been trying to add a menu entry to chain-load Debian from the > Guix GRUB menu but it doesn't seem to work as intended, upon loading > the declaration file, I check the grub configuration file at > "/boot/grub/grub.cfg" and I see the menu entry for Debian, but it > has no partition UUID defined, I don't think this entry can ever work > without UUID. > > The menu-entry declaration is written as follows: > > ``` > (menu-entries > (list > (menu-entry > (label "Debian GNU/Linux") > (device (uuid "2892086a-fc4f-4e43-8b69-46a84d80e9a4" > 'ext4)) (chain-loader "+1")))) > ``` > > As you can see, the device UUID and filesystem type is defined, but > this string has no effect on the grub.cfg, and it looks like there's > a lot of important information missing: > > ``` > menuentry "Debian GNU/Linux" { > > chainloader +1 > } > ``` > > > Am I missing something? > UPDATE: I managed to boot Debian using Guix's GRUB directly by defining kernel, init and root of filesystem instead of trying to chain-load, like this: ``` (menu-entries (list (menu-entry (label "Debian GNU/Linux") (device (uuid "2892086a-fc4f-4e43-8b69-46a84d80e9a4" 'ext4)) (linux "/boot/vmlinuz-6.1.0-18-amd64") (linux-arguments '("root=/dev/disk/by-uuid/2892086a-fc4f-4e43-8b69-46a84d80e9a4")) (initrd "/boot/initrd.img-6.1.0-18-amd64")) ``` However, I tried now chain-loading a Windows 10 install I have on another drive to see if it worked, defined as such: ``` (menu-entry (label "Windows 10") (device (uuid "80FADAC4FADAB61E" 'ntfs)) (chain-loader "/bootmgr")))) ``` And on grub.cfg: ``` menuentry "Windows 10" { search --fs-uuid --set 80FADAC4FADAB61E chainloader /bootmgr } ``` It does seem as it's bootable on GRUB but refuses to boot due to "invalid signature", I am not sure why it would complain about that when secure boot is disabled on the BIOS firmware of this motherboard. Windows can boot properly through Debian's GRUB and BIOS. Did someone manage to boot Windows/ReactOS on Guix that may lend me a hand?