From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id +KzuL0EVGWZCSAEA62LTzQ:P1 (envelope-from ) for ; Fri, 12 Apr 2024 13:04:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id +KzuL0EVGWZCSAEA62LTzQ (envelope-from ) for ; Fri, 12 Apr 2024 13:04:33 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=envs.net header.s=modoboa header.b=impXLM+V; 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=envs.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712919873; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=B16drzyvEGV+lH8T8xWqZ5EbA1hrC0P8U+h6sMtNQEM=; b=I5bM447K3r8wPJe8hV/8qjC4MSXgO9loystERPH38PhMxz69dMIDx9LBCycr4kyPJICtTS fsK+z3wtnz+6Y8xV24pjSwCRx9VmW6Sz2weWQijwOvl6Ehs0Yl5t07o7YBOXvubHyerBsn Ocbg8wafhOjwijCSJx/R2lQ0MO0/FSWncsG2qRVA0Y0be9NOOGTGQAE01I3IO82gUXPnTx zSjeWcLlOoY5cEMgAtqJYyRVuhH+Mfozj2nxu4Inl3kVks4xyjd4xtR9hk7/ptSbcYHbDb KBJsulWHwc6tCbdxjpgYPp0btjSN65sJyk/u3dehKecWoiO9D0953DeckzTD+g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712919873; a=rsa-sha256; cv=none; b=XVPOnk2hTpdp/g2pT33IepGkIB175RBRuNjw2z6IV/vRaW33QRHbo8LeIUoPlEFW31p7z/ WkUtEiCzCLdhCI+9XXx5gIx8yYadSW6PyqNwaD8b75/gt2inOinxjh2Zvn9egMp9g/f6bJ b32mVCa1pPcozDyDCO0ExTU3ajKnjuGV0FmIoEcwF+xK7ebghvpPAQ5nb5Mq7au7EUdmwH IRn7TSfTJiYyKNR3z1Tmv7kfucQsKyfJrCnA3r8rebI1VWkNDqIHShrVpX7S5UIsjKx2XH H852fip6N1/yp09S/pS7kzfhg9QsRjxig/d8BZrErtJONiIkYBdYFZT2j88B5g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=envs.net header.s=modoboa header.b=impXLM+V; 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=envs.net 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 AAD261659E for ; Fri, 12 Apr 2024 13:04:32 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rvEhM-0007PL-As; Fri, 12 Apr 2024 07:04:00 -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 1rvEhK-0007PB-FP for help-guix@gnu.org; Fri, 12 Apr 2024 07:03:58 -0400 Received: from mail.envs.net ([5.199.136.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rvEhH-0004H9-Su for help-guix@gnu.org; Fri, 12 Apr 2024 07:03:58 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id B7D0738A0759; Fri, 12 Apr 2024 11:03:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1712919823; bh=B16drzyvEGV+lH8T8xWqZ5EbA1hrC0P8U+h6sMtNQEM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=impXLM+VoRXj2yOwoldaIEAt+uLxFm28ICEyICZ4YiKIXqvWnJs+4PvDsulwajRSN yz5nqWcjTGF/nC9DvZs6aEBTnRA6dLgTDm3VB0jmAIbnCOF80mNVJtnZorsz5DVwRF iJ3r1g3SLdtCqnbdiXH+0WFOw+EdNf2YIxcduAXtqJOGgBmfi+i6/odUMMrz9XzR3M KshKgbMW7oZJfccDAghyRnsxzZRfN8GB2ysD8Wof8ivgoNf1CkWmUtwUMIVD1F+0P7 Czbzu5/6H2ypA+BRflhJFqzy7Hw6S3g5tppVzBPyZHX/ywqKsdPrZJ3/FOnjmhzFU3 EbRHR/zZGCJlPtl6xAsO1m7tcMfrUU/MtbdckxbDZSnzLf40sx9QzQOVE8LTM3gsJh yDKOktjCcGSni+bnWpIcd8Qh9tfJU6sNC6gAsOGpRBxySRLoOnyBY0aPWrnAmDr1ec QfKZBx1RNs/UN4xbtKT+MwYhog1kabGD1hityhetuL0ijV+CugMYmOwIED1Lj8bvTZ lAQSnSr0VqqddVp4u0SHqMFiMIFMiP1Oqgan1kwlrejulCQfd037aDsq9qJNshr3ky ghP43dW3lCLQK/CEws01Qoxms9HnrGdLpwFn4O+UPi7+yPfOq+n1nvQsGUIQlnwcE9 HzxIISWcwecjHemyTXZ/jhhk= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id EnoCVCbeiN9D; Fri, 12 Apr 2024 11:03:39 +0000 (UTC) Received: from localhost (unknown [117.174.235.88]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Fri, 12 Apr 2024 11:03:39 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id d44cfe51; Fri, 12 Apr 2024 11:04:31 +0000 (UTC) From: =?utf-8?B?5a6L5paH5q2m?= To: William Cc: help-guix@gnu.org Subject: Re: Adding a menu entry on GRUB. In-Reply-To: <20240411231803.47f1a2e2@fedora.email> (William's message of "Thu, 11 Apr 2024 23:18:03 +0200") References: <20240411231803.47f1a2e2@fedora.email> Date: Fri, 12 Apr 2024 19:04:31 +0800 Message-ID: <87il0mj0zk.fsf@envs.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=5.199.136.28; envelope-from=iyzsong@envs.net; helo=mail.envs.net 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_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=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-Migadu-Spam-Score: -9.85 X-Spam-Score: -9.85 X-Migadu-Queue-Id: AAD261659E X-Migadu-Scanner: mx12.migadu.com X-TUID: 7FQ2HJJKwHVK William writes: > 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. This looks fine to me. > > 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. The error seems from "search --fs-uuid --set d757ca6e-ae43-41b7-bc73-7e80cd270e05" You can press 'c' in the GRUB to enter its command line, and then run 'ls -l' to see if it actually find a partition with the correct UUID. Maybe the UUID reported by os-prober is wrong...