From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id KK1rFLpTGGaVSQAAqHPOHw:P1 (envelope-from ) for ; Thu, 11 Apr 2024 23:18:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KK1rFLpTGGaVSQAAqHPOHw (envelope-from ) for ; Thu, 11 Apr 2024 23:18:50 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fedora.email header.s=aug2020 header.b=E1kLz5va; dmarc=pass (policy=quarantine) header.from=fedora.email; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712870330; a=rsa-sha256; cv=none; b=B5sei45nrseLDC5Qhsgs4a9QciZf/I0+O9+Zbxjb4Cx4+MeGPQBJHEoUCBs9xGmdVcXzeL 6nwPQBcb4GkmDcX2OFkIKLbNlT9D4rj5uAFTN9b91q7hH21EjABVG/ZraJvLWbPHNZiTqh EPUXQdQU4RTR+bj925liHhKW0SHpSCyM8SBXflpcFlYqtyLOb21ongkHGIs9mugjvid5Zo i3HNsC53oMJ2sEYJNyl7SdJunBfiF97N3XbZrKbk/X4V/Vxaey8RNjoRDHZe2jqk5jR98h btkEUUrcbHjuIq9/9kGoALnXbzcsRi6qg4YjshTjn8SG7Yhso9OLMIMemKqyTA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fedora.email header.s=aug2020 header.b=E1kLz5va; dmarc=pass (policy=quarantine) header.from=fedora.email; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712870330; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Mo8leLtFCKfAw426g6xYgvLF/eX/EnO5GIVZG0zOW0A=; b=Lx7wmcLxtKh/Lr0UVrBb0L0/0MZxAuElFD3zi9Vswo1CP5UCKsxD9YeT8RDmBTWMhIUXpD gkwN67tndEKxCDZtifMGcy+oXOOCn6Aj7fDjZ9NpIXvPSQC+lOf9LYIRp8RiPcGtsFxLb8 6o+nreifOMmsPRrp7Ux24TZJbESwzbFPFEr2M0CeylSPS7kBKp6vOuElSML17fYvOwtC+r Z7LmVHSpXGBB455gcLcdQTfp0SuqWT03bZZi0HA09wFos/d6aboyJDg6ocEyPeTnHskKPZ ZntPWWn783HXiUCzbVQ2hvMlXpU1OccSkKVymsQMt6emj0U+OZlhLAAZdQzezQ== 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 F3B896FEB0 for ; Thu, 11 Apr 2024 23:18:49 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rv1oG-0006X5-OA; Thu, 11 Apr 2024 17:18:16 -0400 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 1rv1oF-0006Wv-2n for help-guix@gnu.org; Thu, 11 Apr 2024 17:18:15 -0400 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 1rv1oD-0001Dc-7t for help-guix@gnu.org; Thu, 11 Apr 2024 17:18:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fedora.email; q=dns/txt; s=aug2020; bh=Mo8leLtFCKfAw426g6xYgvLF/eX/EnO5GIVZG0zOW0A=; h=from:subject:date:message-id:to:mime-version:content-type:content-transfer-encoding; b=E1kLz5vaR3e2xst2hz5MS3XybHnIIfTJ6okCnB9VrFMBx3HdJNS78kds0kj2Z7eHUH60Jar5v yrgns/w/3cbP45IBHrYeMeE1A/0PEVfcGKj4AWC+TbSpXhnKt2Efpeealg9PzaIyVDLz7ILxdu/ eeinJRYlyOn7ko4j/x6gxJ4= Received: from localhost ([185.242.251.129] 185.242.251.129-ip.operadors.cat) (Authenticated sender: willbilly) by fedora.email (ZoneMTA) with ESMTPSA id 18ecf06666c0008f58.001 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Thu, 11 Apr 2024 21:18:07 +0000 X-Zone-Loop: 0cf33478030d9dc0d1744f33eec6776e22d7a709ce44 X-Originating-IP: [185.242.251.129] Date: Thu, 11 Apr 2024 23:18:03 +0200 From: William To: help-guix@gnu.org Subject: Adding a menu entry on GRUB. Message-ID: <20240411231803.47f1a2e2@fedora.email> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.41; 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 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-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -9.72 X-Migadu-Queue-Id: F3B896FEB0 X-Migadu-Spam-Score: -9.72 X-Migadu-Scanner: mx10.migadu.com X-TUID: ZfUprvmAM+Ls Hello. I'm currently trying to add a menu entry on GRUB through the Guix system declaration to boot another GNU+Linux system but I don't have much clue how to do it with this setup. The other system currently has three partitions, one for "/boot", one for "/" and one for "/home", I tried defining a menu entry like this: ``` (menu-entry (label "GNU/Linux") (device (uuid "d757ca6e-ae43-41b7-bc73-7e80cd270e05" 'ext4)) (linux "/vmlinuz-linux") (linux-arguments '("root=UUID=da4c92d2-099f-4046-ab1d-1695860f33f0 rw net.ifnames=0 quiet")) (initrd "/intel-ucode.img /amd-ucode.img /initramfs-linux.img")) ``` As you can see, it contains two different UUIDs, this is intended, as one UUID is for the "/boot" partition, the other one is for the "/" partition, I copied these values from the grub.cfg menu entry generated by os-prober during the installation of this system, and they look the same on the menu entry defined by Guix. However, this entry does not work, when I try to boot the system from the GRUB menu, it says it couldn't find the device by UUID "d757ca6e-ae43-41b7-bc73-7e80cd270e05", which is the "/boot" partition. I checked and double checked if they're the right UUIDs and they are, so the issue seems that GRUB must be aware first that this "/boot" partition relies on the "/" partition, but on the manual I don't see exactly how I could define that. Is this implemented and possible? When I tried defining a menu entry for another operating system it did work, but that install was a single partition. Both GuixSD and the other operating system are installed on MBR partitions and use the old "legacy/BIOS" bootstrap method.