From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: boot-parameters are not documented Resent-From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 20 May 2017 20:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 27007@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.149531043216030 (code B ref -1); Sat, 20 May 2017 20:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 May 2017 20:00:32 +0000 Received: from localhost ([127.0.0.1]:57299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCAYC-0004AU-7Y for submit@debbugs.gnu.org; Sat, 20 May 2017 16:00:32 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCAYB-0004AI-0Q for submit@debbugs.gnu.org; Sat, 20 May 2017 16:00:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCAY4-0006WL-Sx for submit@debbugs.gnu.org; Sat, 20 May 2017 16:00:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53895) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dCAY4-0006WE-PT for submit@debbugs.gnu.org; Sat, 20 May 2017 16:00:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCAY3-0002DR-PA for bug-guix@gnu.org; Sat, 20 May 2017 16:00:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCAXy-0006UC-Uj for bug-guix@gnu.org; Sat, 20 May 2017 16:00:23 -0400 Received: from mx2.suse.de ([195.135.220.15]:45129 helo=mx1.suse.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dCAXy-0006TS-Nf for bug-guix@gnu.org; Sat, 20 May 2017 16:00:18 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 6307EAC04 for ; Sat, 20 May 2017 20:00:16 +0000 (UTC) Date: Sat, 20 May 2017 22:00:15 +0200 From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Message-ID: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> Mail-Followup-To: bug-guix@gnu.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nvx7vknh7rohoaab" Content-Disposition: inline User-Agent: Mutt/1.6.2 (2016-07-01) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) 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: -4.0 (----) --nvx7vknh7rohoaab Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline I'm running from GIT with HEAD on 12eecbf0bb798f99454a46c191bb0ec6bdef1aa5. It seems that menu-entry is still described in documentation doc/guix.texi:15337 but code seems to abandon the use already in favor of boot-parameters at least to my level of understanding. My question without answer is - how can I specify bootloader menu entries now? TIA, S_W --nvx7vknh7rohoaab Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEDOrssfr9jDQthC2PSiPjT6AzQ20FAlkgoE8ACgkQSiPjT6Az Q23NTA/+JXWpw01g4NkICzjFeh2y6X9oE2rZf4hu9LSOg5Fa93gfzFlF2ay76InF zYIjj7rpfyjkpUmjAhcUmGvTyz+xDZ3gNtRhR7JQDCqZ23U6Zx4zHYY9I9hMYP+F kv+f7XIzf4fpeLg5+ffSLH/9OCL5rO8O4pqFGbbz7b1wR/Dt5ZNU9XJ96QoPgUm7 rXn7AJDrPyM+7peY7MMZ+3adhvvsjaTR7ysiObLhGVSlDiavH9YiFTy/NQUSavfo AmGPHBkWlErqKfaYgug7SypIGdwAKNKFytQmrB8DJ5Ci2qlx1jvfXAl7UL+TTPTr Ako9aon7Mp/y9JXE7/h67C06bADD59dJ7DbYKLv0sSC4cD+vf7uB1+zuF8k87JKF Z716DEYmEmfE4e8BrruIGIN4wzmo4wXPlsbIckBKwBKfTNTZ/mlb+Q+gkI2xGavK 7bHJcizmFpltveK3qJLbXtm6Mlu46z/LBYG85qf6hHQOnzDyqAUIn8Jnmqn8nIb0 md9uHL5qidPvI+Vbiaiz1aQhrNkLTWU3+sKn70KyfOljB7KeE9deuN1kzn6H5Ckg 9Nm6+emVKWHKQAuxsAhsGStmVx4lUk4Ntn8MyRTO+1lJEn+SgSe0td73ONTenfD6 XO+H4ep8OctOA/LBa6xMbtdJ+EcUTCnxiryySamEZSsOErrjJBk= =u+8q -----END PGP SIGNATURE----- --nvx7vknh7rohoaab-- From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: boot-parameters are not documented Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 20 May 2017 20:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Cc: 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149531232818848 (code B ref 27007); Sat, 20 May 2017 20:33:01 +0000 Received: (at 27007) by debbugs.gnu.org; 20 May 2017 20:32:08 +0000 Received: from localhost ([127.0.0.1]:57318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCB2m-0004tw-3s for submit@debbugs.gnu.org; Sat, 20 May 2017 16:32:08 -0400 Received: from mail-wr0-f170.google.com ([209.85.128.170]:35837) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCB2k-0004tQ-Dw for 27007@debbugs.gnu.org; Sat, 20 May 2017 16:32:06 -0400 Received: by mail-wr0-f170.google.com with SMTP id z52so32000766wrc.2 for <27007@debbugs.gnu.org>; Sat, 20 May 2017 13:32:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=iSfDqs+rz9fe9N8a6EKLi36Zfy+AyVCq5RG9aGTvSpo=; b=sgp03C5PCnml6q18W/3zAkt0L7FP1ytHwkZZh0ES3usyZTa7BFzMe0MqwMRqlvAykr fZMyjMXvTgPqgcUTzx6Wcmu57ss3hmlXRnFhkVxODqXUCj26LVIuGrs3oPIYIBgLwvOg JmEauEgqDHAjy9tJ1UHx1DrYXABO6VuplKtghnC/ko20XGBEFBO6sb82TMtlr0hVAzLW 3VPIYsmiXerC77g6/myfSRWq6O560OKvhit3Oe3De6P0abbx2bUVVMp1Ryqj9aHS17Lf XiNpmRkOXenSYaYdXduQhHVu/oHTEtc2QCNNwoy6vqluNag5Nes97iIde9rz03MKA0Sl M2KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=iSfDqs+rz9fe9N8a6EKLi36Zfy+AyVCq5RG9aGTvSpo=; b=PzgxvdlIyh98wnGX2KcfPtQBZ9MNOtWNdKSVST7Oufe6ptRYR0re9CVvWhOTEcuQmV lC8nODP+9BC+1AWIR89p+qmM6F2hhsxj7i9O/meL6h1JHGRgtQ7iOICAfKvnd7LqQD6P gJOrCpJXqk64drt230IMT3xPQVetwOBYHeh2/gV/PgioS0ww5M3DrwsjTw1qjvRGDm3b +N8wjs1SocCE5i3s0B1WvdY6nJANhrWK7Q3zhqoNudkpP+s7IT8dqWHwaOpLih6NRrN+ 2dvxIB1FK9+xx9CAOCIojYazy60D1z+dAgBlEzftqvjD+35+FTNDncosT8tSHrnHKI9p SzJA== X-Gm-Message-State: AODbwcCj4HiwddK1ZISHAvccFfMnLvPg7Fq8lbpOyrrV9GPH5UNfpzOB qxyx+SwA4Xlp6w== X-Received: by 10.223.136.134 with SMTP id f6mr6385622wrf.187.1495312320680; Sat, 20 May 2017 13:32:00 -0700 (PDT) Received: from cervin (85-169-37-239.rev.numericable.fr. [85.169.37.239]) by smtp.gmail.com with ESMTPSA id u200sm27081821wmd.16.2017.05.20.13.31.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 20 May 2017 13:31:59 -0700 (PDT) References: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Mathieu Othacehe In-reply-to: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> Date: Sat, 20 May 2017 22:31:59 +0200 Message-ID: <87wp9bl16o.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.8 (--) 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.8 (--) Hi Tomáš, > My question without answer is - how can I specify bootloader menu entries now? You're right, you have to pass a now. The documentation patch is still in review, you can find it here : https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26339#489 The example has been updated : --8<---------------cut here---------------start------------->8--- @example -(menu-entry +(boot-parameters (label "The Other Distro") - (linux "/boot/old/vmlinux-2.6.32") - (linux-arguments '("root=/dev/sda2")) + (root-device "my-root") + (boot-name 'grub) + (store-device "my-root") + (store-mount-point "/") + (kernel "/boot/old/vmlinux-2.6.32") + (kernel-arguments '("root=/dev/sda2")) (initrd "/boot/old/initrd")) @end example --8<---------------cut here---------------end--------------->8--- It will maybe change again in the future, I'm not sure are our best option here. Anyway, let me now if it works for you. Thanks, Mathieu From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: boot-parameters are not documented Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 20 May 2017 20:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Cc: 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149531356127505 (code B ref 27007); Sat, 20 May 2017 20:53:01 +0000 Received: (at 27007) by debbugs.gnu.org; 20 May 2017 20:52:41 +0000 Received: from localhost ([127.0.0.1]:57336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCBMf-00079Y-A2 for submit@debbugs.gnu.org; Sat, 20 May 2017 16:52:41 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:46234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCBMd-00079P-AF for 27007@debbugs.gnu.org; Sat, 20 May 2017 16:52:39 -0400 Received: from localhost (178.113.140.102.wireless.dyn.drei.com [178.113.140.102]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 565CF1CA006C; Sat, 20 May 2017 22:52:38 +0200 (CEST) Date: Sat, 20 May 2017 22:52:34 +0200 From: Danny Milosavljevic Message-ID: <20170520225234.5414d304@scratchpost.org> In-Reply-To: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> References: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) 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: -0.7 (/) Hi, there's a doc patch in review by Mathieu (16 May 2017 15:03 +0200, "doc: Adapt to multiple bootloader support", bug# 26339) in guix-patches. Although I wonder what menu-entries can be used for. What are you using it for? From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: boot-parameters are not documented Resent-From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 20 May 2017 21:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic Cc: 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149531405428293 (code B ref 27007); Sat, 20 May 2017 21:01:02 +0000 Received: (at 27007) by debbugs.gnu.org; 20 May 2017 21:00:54 +0000 Received: from localhost ([127.0.0.1]:57355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCBUb-0007MH-OU for submit@debbugs.gnu.org; Sat, 20 May 2017 17:00:53 -0400 Received: from mx2.suse.de ([195.135.220.15]:38984 helo=mx1.suse.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCBUa-0007M9-83 for 27007@debbugs.gnu.org; Sat, 20 May 2017 17:00:52 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 09822AC39; Sat, 20 May 2017 21:00:51 +0000 (UTC) Date: Sat, 20 May 2017 23:00:49 +0200 From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Message-ID: <20170520210049.bvq4ztjzlrsaebbn@penguin.suse.cz> References: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> <20170520225234.5414d304@scratchpost.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pauhyek25gsrmrje" Content-Disposition: inline In-Reply-To: <20170520225234.5414d304@scratchpost.org> User-Agent: Mutt/1.6.2 (2016-07-01) X-Spam-Score: -2.3 (--) 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.3 (--) --pauhyek25gsrmrje Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline On Sat, May 20, 2017 at 10:52:34PM +0200, Danny Milosavljevic wrote: >Hi, > >there's a doc patch in review by Mathieu (16 May 2017 15:03 +0200, "doc: Adapt to multiple bootloader support", bug# 26339) in guix-patches. As I have seen this feature on ML some time ago already, I didn't expect to be in between acceptance of both patches. Sorry. >Although I wonder what menu-entries can be used for. What are you using it for? > Defining other operating system entry: (menu-entry (label "openSUSE") (linux "(hd0,msdos1)/vmlinuz") (linux-arguments (list "root=/dev/penguin/opensuse" "init=/usr/lib/systemd/systemd")) (initrd "(hd0,msdos1)/initrd")))))) Best regards, S_W --pauhyek25gsrmrje Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEDOrssfr9jDQthC2PSiPjT6AzQ20FAlkgroEACgkQSiPjT6Az Q23jBA//YYgtIdL0+mc8Moqoilhf1St3sMGhSD3bXJrbuy2latY9Ir3I7AGM9+az ej+1WiEwRHB748dqWXHAYZyk2uQlXHxq1wTegfBG/0I7FuEkFEZAB+0hPvZGOUM/ zA5h4wG4wbfOqiwu9xfATRP5aTWp5pZ9eQVsp89E025MSwIXx2l34ovBToLHK/dT uRULRbaFGNdcQ67v/MjZtIokrDsgd1ILS4AIDbJqhS34GmOZl5pl8y4j1eSvscBm gt3aSO7NMddP3eQlc3VeL5z5mBUd65MnrZZjwMDrRNQDNYjQze4EqN3HQZsPHm31 ByGTFQiO9Oocucz7os9bpZ5mkz6WEi1wDFrhzPsrpUGXJAe7A6qpp6snXVqPLKKO BAgaWm9lXOe2bMmOK1DCqvcNgHbKsgHPiQGPEHl0zPgL9+5mmT3XwzthjlHD9SSE ErH0RNkIbLmENh0Bk77JwkmB2T183ln8A88DjxdAM/bBg6DnS7BsJriPHDBvFMSW MFZ8JkVKUy6JBn0NiodpxExUAFgYEm3+fGTSoi27cE7KM/qBquFBw38xwpxlo9Gm 3lOyvZ1jB8Q1x80OfzA5iS76eZ+QMbcDCkCiND8qDozBg622Et1EQZAy2JcbLw08 EMcaq1YoVhIG5MQ8zNTxu/VkockpnJfYy6NzgblD22px48c9n/Y= =+tx5 -----END PGP SIGNATURE----- --pauhyek25gsrmrje-- From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: boot-parameters are not documented Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 20 May 2017 21:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= , 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149531443928847 (code B ref 27007); Sat, 20 May 2017 21:08:02 +0000 Received: (at 27007) by debbugs.gnu.org; 20 May 2017 21:07:19 +0000 Received: from localhost ([127.0.0.1]:57361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCBap-0007VD-Ed for submit@debbugs.gnu.org; Sat, 20 May 2017 17:07:19 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:60597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCBan-0007V6-Uc for 27007@debbugs.gnu.org; Sat, 20 May 2017 17:07:18 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 557B8209CC; Sat, 20 May 2017 17:07:14 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sat, 20 May 2017 17:07:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-transfer-encoding:content-type:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=PC9 qzYoGUFJOjIsK3XrO0cXfGRg7VKe62e1S5u5s9ig=; b=rJIo7bEjmyOUM9qLpe3 qPd+NJtI/omc4VsDQHXCnh0If4GNTwMZX26TQlN1WZQwUXBNqIVy1sXtHwMmdc7H fytW4ZfaP+dW08bYtDL2FA4NnAgmmTVtim4CZ+XSp3L+VcXU7HiWympRP5ljrB41 JyLJ5cC10qnKLKJVSTM/Jxkw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=PC9qzYoGUFJOjIsK3XrO0cXfGRg7VKe62e1S5u5s9ig=; b=p1TCO/AX IK0UL9BaiJuM4eEwZ4AS83O3vrqPpVpQ5YM3Mmui3DZ7Qh+ms6ErXPaH/DFtVQnG 04wtyFu8quWZe7sC6ypKztHZ4zzRVeJq5WVUqQALke77rb4ityiH8RMYh083uNYr XXLr2AOxhOswgV4yv3U0LZ0DhvLYoM8kvo8u3RAFY2NF/lFcdb73/HE9agHAbbqw d8iSmjG4BonHEdK8uYtehfcSYtSuBCK/pSXkVZBR6xUFKPbxWrEBm1Q1NSlmjySm wbiCkiZSS50PqF/N7gzotxbiD3+vTmeB9pGjcFmjDohMRJSbunl8GIlbWTb1+98V r1w8s754K+vbYg== X-ME-Sender: X-Sasl-enc: Xs0grC8S1Z0uJePEdX+ShU1QeLoKIOiWpbqauKTrcKcW 1495314434 Received: from localhost (c-73-165-108-70.hsd1.pa.comcast.net [73.165.108.70]) by mail.messagingengine.com (Postfix) with ESMTPA id 1777E24766; Sat, 20 May 2017 17:07:14 -0400 (EDT) Date: Sat, 20 May 2017 17:07:11 -0400 From: Leo Famulari Message-ID: <20170520210711.GA7474@jasmine> References: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> <87wp9bl16o.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87wp9bl16o.fsf@gmail.com> User-Agent: Mutt/1.8.2 (2017-04-18) X-Spam-Score: -0.7 (/) 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: -0.7 (/) On Sat, May 20, 2017 at 10:31:59PM +0200, Mathieu Othacehe wrote: > > Hi Tomáš, > > > My question without answer is - how can I specify bootloader menu entries now? > > You're right, you have to pass a now. The > documentation patch is still in review, you can find it here : > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26339#489 Okay. Generally, I think changes that affect users should be pushed with documentation, even if we plan to change things again soon. The master branch should always be "deployable". If we need to experiment with big changes, we can do it on another branch. From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: boot-parameters are not documented Resent-From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 20 May 2017 21:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149531662932151 (code B ref 27007); Sat, 20 May 2017 21:44:01 +0000 Received: (at 27007) by debbugs.gnu.org; 20 May 2017 21:43:49 +0000 Received: from localhost ([127.0.0.1]:57387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCCA9-0008MV-1n for submit@debbugs.gnu.org; Sat, 20 May 2017 17:43:49 -0400 Received: from mx2.suse.de ([195.135.220.15]:41104 helo=mx1.suse.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCCA7-0008MM-Ex for 27007@debbugs.gnu.org; Sat, 20 May 2017 17:43:47 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 9B0F6AC31; Sat, 20 May 2017 21:43:46 +0000 (UTC) Date: Sat, 20 May 2017 23:43:44 +0200 From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Message-ID: <20170520214344.nyh7wsfg43l3wcgv@penguin.suse.cz> References: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> <87wp9bl16o.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rtwin733me6beoj3" Content-Disposition: inline In-Reply-To: <87wp9bl16o.fsf@gmail.com> User-Agent: Mutt/1.6.2 (2016-07-01) X-Spam-Score: -2.3 (--) 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.3 (--) --rtwin733me6beoj3 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 20, 2017 at 10:31:59PM +0200, Mathieu Othacehe wrote: > >Hi Tom=C3=A1=C5=A1, > >> My question without answer is - how can I specify bootloader menu entrie= s now? > >You're right, you have to pass a now. The >documentation patch is still in review, you can find it here : > >https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D26339#489 > >The example has been updated : > >--8<---------------cut here---------------start------------->8--- > @example >-(menu-entry >+(boot-parameters > (label "The Other Distro") >- (linux "/boot/old/vmlinux-2.6.32") >- (linux-arguments '("root=3D/dev/sda2")) >+ (root-device "my-root") >+ (boot-name 'grub) >+ (store-device "my-root") >+ (store-mount-point "/") >+ (kernel "/boot/old/vmlinux-2.6.32") >+ (kernel-arguments '("root=3D/dev/sda2")) > (initrd "/boot/old/initrd")) > @end example >--8<---------------cut here---------------end--------------->8--- > >It will maybe change again in the future, I'm not sure >are our best option here. It's a bit complicated but much more flexible compared to menu-entry. 'store-device' and 'store-mount-point' are Guix-centric parameters and it is not obvious how to configure it for distributions with kernel and initrd in /boot. >Anyway, let me now if it works for you. After following these changes I'm able to build system again. I'll check the result GRUB configuration and report issue if there is one. Thanks for your help, S_W --rtwin733me6beoj3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEDOrssfr9jDQthC2PSiPjT6AzQ20FAlkguJAACgkQSiPjT6Az Q239ChAAherrzMUPxzdnhnkqYOPvHBtH0msZxN+/6oAblPytTK90K/1TgnqIZPPk nYFQmy6HeevZ1LyzOtaKm1fe2dpG9ODqbInuhiiOUTvs2XJ4ICeRYv6cQRd1+VEQ 6SAWRFMeQuhKMqVnekh7RGX9fqNGrhcI3ojcZKANusbIZKc2+U9jtk0AAW53otEJ AolT0M8lfwXFIOCl3njfyFrwbksLrLeKINE4QDLZnZWVk8BmBcewRDS2664zsP4T k7qSGgsOQ/dpOagmPiDLv2ENGES4ESUOU7rytHG1Ct2wVDqdfyD1mtUjf9R1kzX1 q11+G3fbhNhLnhLvBPZiVQpijyX3TrM83mIM+HocKYOhuTAgdOQY7Emsai69I0qg k1AuNFERXbDd0y/7RiTdHK4M8sMlM9hDuHoKOpwxWhiDsrDLJQ3I/OLOQNjDuBDu oKvh2Uf4qHUztg/2iA56VwBb/u4hN2kBU/8VCV52Ce/mn6MtzRadiKWnx7DNRhDH gFtQPC2FVq4bAGMRlm8Y8bUfC2mgPhhlt7cm4+dMMDPNgWFw/QuCWkVj9/RIEhz1 JfqluF6LT7C1sVD87n/yO0zUNXb1soAAGvanFrZOsxFtidCnX9kt/ZBXOLI0AHSF RCzcgiWIfV10QXdjPgAF5cClLBQ6UEXxmMlsBrSm+EnSvoGWQYU= =BM9J -----END PGP SIGNATURE----- --rtwin733me6beoj3-- From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: boot-parameters are not documented Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 May 2017 15:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Cc: Danny Milosavljevic , 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149546853230412 (code B ref 27007); Mon, 22 May 2017 15:56:02 +0000 Received: (at 27007) by debbugs.gnu.org; 22 May 2017 15:55:32 +0000 Received: from localhost ([127.0.0.1]:33107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCpgC-0007uR-Dt for submit@debbugs.gnu.org; Mon, 22 May 2017 11:55:32 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41347) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCpgA-0007uE-KX for 27007@debbugs.gnu.org; Mon, 22 May 2017 11:55:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCpg2-0002I2-9c for 27007@debbugs.gnu.org; Mon, 22 May 2017 11:55:25 -0400 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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCpg2-0002Hw-5G; Mon, 22 May 2017 11:55:22 -0400 Received: from [193.50.110.84] (port=52952 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dCpg1-0003ma-Dg; Mon, 22 May 2017 11:55:21 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> <20170520225234.5414d304@scratchpost.org> <20170520210049.bvq4ztjzlrsaebbn@penguin.suse.cz> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 3 Prairial an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Mon, 22 May 2017 17:55:19 +0200 In-Reply-To: <20170520210049.bvq4ztjzlrsaebbn@penguin.suse.cz> ("=?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?="'s message of "Sat, 20 May 2017 23:00:49 +0200") Message-ID: <877f18ubrs.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Hi! Tom=C3=A1=C5=A1 =C4=8Cech skribis: > Defining other operating system entry: > > (menu-entry > (label "openSUSE") > (linux "(hd0,msdos1)/vmlinuz") > (linux-arguments (list "root=3D/dev/penguin/opensuse" "init=3D/usr/lib= /systemd/systemd")) > (initrd "(hd0,msdos1)/initrd")))))) I think is the right abstraction level for this use case; may be overkill for that. To me was an internal thing, I didn=E2=80=99t understand = we were going to expose it. Can=E2=80=99t we keep exposing =E2=80=98menu-entr= y=E2=80=99? We=E2=80=99ll probably have support the =E2=80=98menu-entry=E2=80=99 form for backward-co= mpatibility reasons at least. Thoughts? Thanks, Ludo=E2=80=99. From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: boot-parameters are not documented Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 May 2017 17:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Danny Milosavljevic , =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= , 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.14954742806908 (code B ref 27007); Mon, 22 May 2017 17:32:01 +0000 Received: (at 27007) by debbugs.gnu.org; 22 May 2017 17:31:20 +0000 Received: from localhost ([127.0.0.1]:33170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCrAt-0001nK-Np for submit@debbugs.gnu.org; Mon, 22 May 2017 13:31:19 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:33163) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCrAq-0001n3-20 for 27007@debbugs.gnu.org; Mon, 22 May 2017 13:31:16 -0400 Received: by mail-wr0-f196.google.com with SMTP id w50so7655271wrc.0 for <27007@debbugs.gnu.org>; Mon, 22 May 2017 10:31:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=sGQFt8ltcqsMsTl1X2+PArpFUXAjliOfaVeaZWVdR2k=; b=pbXcL41CuIvAI8P97k4hVso021RSG2IdGEQmpmzvOtPFs/BQC2JsfWfSMzAG7X0YK6 GtJ/eex9DO4QV+ZR0MLItkT+jYI5vTI3T2kZfyt94rWtB24q983auMgWjevp0Uzr9vCu +SJU9V8QOVzJXKW9aAvoag4oTjQeApKuaE9GaQl3n6GF6aG+FPlnQmGymg+N6eZNDqZt VcXX2jcnQZIPhcRiJGa/fPE7Q9AU67AzHxc4E3lrncUUhekmnSxMdsrVIQ1Omh3SJ6o0 RDc77P1Ka8/7JHlcdvvcYuwIfjL0g1w332TPLXlmPEjjtvthNjdQc+AG0U6BHPjIw9C2 ApWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=sGQFt8ltcqsMsTl1X2+PArpFUXAjliOfaVeaZWVdR2k=; b=Mr3Ew9nGjZA7n5rdKc4IWeyWzb0sc5dmg8sjAwrqXpkwaxJ3JvP5+0BcBLSRFnUabz geCh59UHv3x2GWxB9BfUh6R2t6if47fS975vtdCqd4Qe8eHo4rXiExsl4tbQPAt98AZD 12QUZgNByntht/qycBBnw0sX93LnkJsLuU+Szrw5gSJHHdYIkQw5rHP6TRngz3J0hOpM 6QdwpKUsFd8O1U37yw0MVUa+BzgXYYCcOIEGSrgiaPHv7apgm0Av8gfsCmVvINAMD0gZ PYAXttzsctbh+1m24NBwH1ONNQXalYVhbXcUk6HtQeDOzo+7IofjpdbjFCA70kzBqdrr XdWQ== X-Gm-Message-State: AODbwcA/ifqCDJPufzAJ8LPYpqTEHPinIGQGC6Tnu1zkdh1zdnaEICRU UkOsJE6g12a+Zw== X-Received: by 10.223.160.219 with SMTP id n27mr12161986wrn.201.1495474270310; Mon, 22 May 2017 10:31:10 -0700 (PDT) Received: from cervin (85-169-37-239.rev.numericable.fr. [85.169.37.239]) by smtp.gmail.com with ESMTPSA id t76sm621035wme.16.2017.05.22.10.31.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 May 2017 10:31:09 -0700 (PDT) References: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> <20170520225234.5414d304@scratchpost.org> <20170520210049.bvq4ztjzlrsaebbn@penguin.suse.cz> <877f18ubrs.fsf@gnu.org> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Mathieu Othacehe In-reply-to: <877f18ubrs.fsf@gnu.org> Date: Mon, 22 May 2017 19:31:08 +0200 Message-ID: <8760gsg5nn.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) 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.3 (--) Hi Ludo, Since the rework, are in (gnu bootloader grub). They can no longer be used in menu-entries field of . The is used instead. and are very similar though. What we can do here is : * Give default values as per (as proposed by Danny in doc patch review). * Rename "menu-entries" field of to something not so GRUB related, such as "entries" or "custom-entries". * Maybe also remove from (gnu bootloader grub) and use directly as in (gnu bootloader extlinux). WDYT ? Thanks, Mathieu From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: boot-parameters are not documented Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 23 May 2017 08:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: Danny Milosavljevic , =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= , 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.14955272073350 (code B ref 27007); Tue, 23 May 2017 08:14:01 +0000 Received: (at 27007) by debbugs.gnu.org; 23 May 2017 08:13:27 +0000 Received: from localhost ([127.0.0.1]:33886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dD4wZ-0000ry-B2 for submit@debbugs.gnu.org; Tue, 23 May 2017 04:13:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dD4wY-0000rm-4G for 27007@debbugs.gnu.org; Tue, 23 May 2017 04:13:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dD4wQ-0001h6-7M for 27007@debbugs.gnu.org; Tue, 23 May 2017 04:13:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dD4wQ-0001gx-2S; Tue, 23 May 2017 04:13:18 -0400 Received: from [193.50.110.67] (port=50346 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dD4wL-00057t-Hi; Tue, 23 May 2017 04:13:14 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> <20170520225234.5414d304@scratchpost.org> <20170520210049.bvq4ztjzlrsaebbn@penguin.suse.cz> <877f18ubrs.fsf@gnu.org> <8760gsg5nn.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 Prairial an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Tue, 23 May 2017 10:13:11 +0200 In-Reply-To: <8760gsg5nn.fsf@gmail.com> (Mathieu Othacehe's message of "Mon, 22 May 2017 19:31:08 +0200") Message-ID: <87zie4yors.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Heya! Mathieu Othacehe skribis: > Since the rework, are in (gnu bootloader grub). They can no > longer be used in menu-entries field of . > > The is used instead. and > are very similar though. So how does the =E2=80=98menu-entry=E2=80=99 example that Tom=C3=A1=C5=A1 g= ave translate with this new API? (Apologies for asking, I admit I haven=E2=80=99t fully adjusted t= o the new API mentally. :-)) > What we can do here is : > > * Give default values as per (as proposed > by Danny in doc patch review). Sounds good in general, as long as we have default values that make sense. > * Rename "menu-entries" field of to something > not so GRUB related, such as "entries" or "custom-entries". Can we assume that all the bootloaders have a notion of =E2=80=9Cmenu=E2=80= =9D and =E2=80=9Cmenu entries=E2=80=9D? Or do you think that very notion is not shared by all of them? > * Maybe also remove from (gnu bootloader grub) and use > directly as in (gnu bootloader extlinux). Sure; having the implementations in (gnu bootloader xyz) follow the same model sounds like a good idea. Thank you! Ludo=E2=80=99. From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: boot-parameters are not documented Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 23 May 2017 09:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Danny Milosavljevic , =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= , 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149553187810778 (code B ref 27007); Tue, 23 May 2017 09:32:01 +0000 Received: (at 27007) by debbugs.gnu.org; 23 May 2017 09:31:18 +0000 Received: from localhost ([127.0.0.1]:33969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dD69u-0002nm-8j for submit@debbugs.gnu.org; Tue, 23 May 2017 05:31:18 -0400 Received: from mail-wr0-f179.google.com ([209.85.128.179]:33025) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dD69s-0002nX-Ko for 27007@debbugs.gnu.org; Tue, 23 May 2017 05:31:16 -0400 Received: by mail-wr0-f179.google.com with SMTP id w50so53043517wrc.0 for <27007@debbugs.gnu.org>; Tue, 23 May 2017 02:31:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=2aQm0FAkp0gj1mXHTi2bnb1XvXriihI1fue3mm/PdPc=; b=o4en1nlouEaEDTITUvf70j62uxfRcCVa1BkF0I4TQIEXT6PrEYm1KSKl11l8OxTL7L WXhiIIc2/PI/HXaEAJlH1YQi/cq1i+vDY9G+mqbgMzHi8HE+Ka2PckxRR8vG8HxNgtjl fK6vtF/JKLEcD7g+zxydyPT9sSGUanvpZA08eYaPQFKeq42Ekf9JBoPvXkGxF7FGhNKz +ylh2onqawI3/g1rHjLFZvZa0BFFSNHuBpP5uwq/bNtQH5ndlQuNRSMeqO+PiGdYugmw ypaSl5b9oINNqc+p830Ct6UVPkkgVKWeleq7kf0xbpTNdkfId6RcQE2BpV3qybmSC+3y MUCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=2aQm0FAkp0gj1mXHTi2bnb1XvXriihI1fue3mm/PdPc=; b=jfdp1fTihQsXxxd7Ql+t2ymmmnQPAVeA5MGA8f/nX8SXrOkO9VoMmtRUcgR+Tesyi/ SsMkiQMUO/HJMQ1MIsBo1e28+oNC+QcCpgWHEwUgyy1DLAgObj0ENi58WCzuAv3jx2lR LoGmFQR2HwFBlDxtDB8vsXuOPFt59BtJo1lj1x+Ruj0Sdgtm1m02DaQotegOnI7fFn2R L8vSHyrp65DWaIKPDOTihzZpHP6DqWtKJqikFsBQZJfU6+hcGo7uTID5txlcVgYVIjTj ydbZLcw7xQ4kNa2T6eh/0+M0dRp5BAphKEQfxTdd1Pq2uUCsJUlU0F1DHyntZL1q/t1t qySQ== X-Gm-Message-State: AODbwcBVVTcv7eblWZs+VygXlRUGwqkaZoFgg/FI3Wvxiym2u51S2UKO I1meU0jjxsOh5g== X-Received: by 10.223.163.158 with SMTP id l30mr16179179wrb.174.1495531870762; Tue, 23 May 2017 02:31:10 -0700 (PDT) Received: from zbook ([46.218.109.88]) by smtp.gmail.com with ESMTPSA id o200sm235450wmg.22.2017.05.23.02.31.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 May 2017 02:31:09 -0700 (PDT) References: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> <20170520225234.5414d304@scratchpost.org> <20170520210049.bvq4ztjzlrsaebbn@penguin.suse.cz> <877f18ubrs.fsf@gnu.org> <8760gsg5nn.fsf@gmail.com> <87zie4yors.fsf@gnu.org> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Mathieu Othacehe In-reply-to: <87zie4yors.fsf@gnu.org> Date: Tue, 23 May 2017 11:31:12 +0200 Message-ID: <86r2zfkjhb.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.8 (--) 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.8 (--) Hello, > So how does the ‘menu-entry’ example that Tomáš gave translate with this > new API? (Apologies for asking, I admit I haven’t fully adjusted to the > new API mentally. :-)) Well it's still moving :) We can ask him but I guess something like that : --8<---------------cut here---------------start------------->8--- (boot-parameters (label "openSUSE") (root-device #f) (boot-name 'grub) (store-device #f) (store-mount-point "/") (kernel "(hd0,msdos1)/vmlinuz") (kernel-arguments (list "root=/dev/penguin/opensuse" "init=/usr/lib/systemd/systemd")) (initrd "(hd0,msdos1)/initrd")) --8<---------------cut here---------------end--------------->8--- Note that root-device, boot-name, store-device and store-mount-point are useless here. > Sounds good in general, as long as we have default values that make > sense. Ok. > Can we assume that all the bootloaders have a notion of “menu” and “menu > entries”? Or do you think that very notion is not shared by all of > them? We can suppose that it's always possible to add custom entries to generated bootloader configuration. That would allow someone switching from grub to extlinux to keep his custom entries. > Sure; having the implementations in (gnu bootloader xyz) follow the same > model sounds like a good idea. Ok ! Thanks, Mathieu From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: boot-parameters are not documented Resent-From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 23 May 2017 09:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: Danny Milosavljevic , Ludovic =?UTF-8?Q?Court=C3=A8s?= , 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149553342713162 (code B ref 27007); Tue, 23 May 2017 09:58:02 +0000 Received: (at 27007) by debbugs.gnu.org; 23 May 2017 09:57:07 +0000 Received: from localhost ([127.0.0.1]:33994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dD6Yt-0003QE-16 for submit@debbugs.gnu.org; Tue, 23 May 2017 05:57:07 -0400 Received: from mx2.suse.de ([195.135.220.15]:51799 helo=mx1.suse.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dD6Yr-0003Q6-Iy for 27007@debbugs.gnu.org; Tue, 23 May 2017 05:57:05 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 7309FAC31; Tue, 23 May 2017 09:57:04 +0000 (UTC) Date: Tue, 23 May 2017 11:57:03 +0200 From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Message-ID: <20170523095703.wvay4ganh4kynny3@penguin.suse.cz> References: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> <20170520225234.5414d304@scratchpost.org> <20170520210049.bvq4ztjzlrsaebbn@penguin.suse.cz> <877f18ubrs.fsf@gnu.org> <8760gsg5nn.fsf@gmail.com> <87zie4yors.fsf@gnu.org> <86r2zfkjhb.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ofg5kpjh2upmxxvp" Content-Disposition: inline In-Reply-To: <86r2zfkjhb.fsf@gmail.com> User-Agent: Mutt/1.6.2 (2016-07-01) X-Spam-Score: -2.3 (--) 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.3 (--) --ofg5kpjh2upmxxvp Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 23, 2017 at 11:31:12AM +0200, Mathieu Othacehe wrote: > >Hello, > >> So how does the =E2=80=98menu-entry=E2=80=99 example that Tom=C3=A1=C5= =A1 gave translate with this >> new API? (Apologies for asking, I admit I haven=E2=80=99t fully adjuste= d to the >> new API mentally. :-)) > >Well it's still moving :) > >We can ask him but I guess something like that : > >--8<---------------cut here---------------start------------->8--- >(boot-parameters > (label "openSUSE") > (root-device #f) > (boot-name 'grub) > (store-device #f) > (store-mount-point "/") > (kernel "(hd0,msdos1)/vmlinuz") > (kernel-arguments (list "root=3D/dev/penguin/opensuse" "init=3D/usr/li= b/systemd/systemd")) > (initrd "(hd0,msdos1)/initrd")) >--8<---------------cut here---------------end--------------->8--- > >Note that root-device, boot-name, store-device and store-mount-point are >useless here. I came with something similar: (boot-parameters (label "openSUSE") (root-device "/dev/penguin/opensuse") (boot-name 'grub) (store-device "(hd0,msdos1)") (store-mount-point "/") (kernel "(hd0,msdos1)/vmlinuz") (kernel-arguments '("root=3D/dev/penguin/opensuse" "init=3D/usr/lib/systemd/systemd")) (initrd "(hd0,msdos1)/initrd")))))) Unfortunately useless entries were still required (I didn't have that idea with setting them to #f). I couldn't verify the result configuration yet as I'm facing another, unrelated problem. Thanks, S_W --ofg5kpjh2upmxxvp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEDOrssfr9jDQthC2PSiPjT6AzQ20FAlkkB2kACgkQSiPjT6Az Q20asA/7BmLVhuTJdeaNynFMwgOeR8du0dVnIG18VV0DVp72UNqYB+vL3CtZ4+zI OSFetnOCXv8hcz+h+7mO8k/dadx0dPCxJKBAN175kmbeCmgaTyoU7/IFzAiT2IJP hcAfdmqSSiJp1al2PELy6kJHRFB/cY2CrGSrctiXlZIE1UHMvhzi1gCvaxIohuAJ MULZP5CDv6Zr7sKYyaLK3L+IAMgPFxXGMXaUh8jXg3ji/zq3AWH8rE9PecYqwy60 LDEfYIQvQwXVHQtU2+mej3oxUzYCvbmO5lQr7+BTLx2sL0g3lsE9mmYqtbgxMf2S id3M7pht5xYvzBBJ644xmkf6idcD2VR8ckLphcOOtW/k04xY17fDkCRSRbzg1BKC ovp8xtE/cr1ZM3BaCOc80gqGvv9cdpquDaJYMYYBxQlJ8Mnr+F8JEf0uBplroDbl VtYjax1t4xMEXSNglNh9HLAhRd4y1IyBer17JYfr79BKecNUZI46WPiXnr2R6EZk CUXzwdmvMZQZoODVgOqI54ZQgX1c5KUlKVHhk/m2lTfxIchiW7zgm2s8Qkab6AX1 4MV30tUzu7eshDIhp5Jl+6QKr9GocW0EMVT7Eki5wvHO+mg264zS6bWInWxuGZSu DptJtbAacC0f4cbZjJ3Vxc3LQ5/AFBzIG0YtYo1+pDFsamNXEp0= =9P7y -----END PGP SIGNATURE----- --ofg5kpjh2upmxxvp-- From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: boot-parameters are not documented Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 23 May 2017 11:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: Danny Milosavljevic , =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= , 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149553860321135 (code B ref 27007); Tue, 23 May 2017 11:24:02 +0000 Received: (at 27007) by debbugs.gnu.org; 23 May 2017 11:23:23 +0000 Received: from localhost ([127.0.0.1]:34079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dD7uM-0005Up-MR for submit@debbugs.gnu.org; Tue, 23 May 2017 07:23:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55403) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dD7uL-0005Uc-T3 for 27007@debbugs.gnu.org; Tue, 23 May 2017 07:23:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dD7uB-00083b-Uq for 27007@debbugs.gnu.org; Tue, 23 May 2017 07:23:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dD7uB-00083V-RA; Tue, 23 May 2017 07:23:11 -0400 Received: from [193.50.110.67] (port=50718 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dD7uA-0007xv-UY; Tue, 23 May 2017 07:23:11 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> <20170520225234.5414d304@scratchpost.org> <20170520210049.bvq4ztjzlrsaebbn@penguin.suse.cz> <877f18ubrs.fsf@gnu.org> <8760gsg5nn.fsf@gmail.com> <87zie4yors.fsf@gnu.org> <86r2zfkjhb.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 Prairial an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Tue, 23 May 2017 13:23:08 +0200 In-Reply-To: <86r2zfkjhb.fsf@gmail.com> (Mathieu Othacehe's message of "Tue, 23 May 2017 11:31:12 +0200") Message-ID: <87efvfyfz7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Hi, Mathieu Othacehe skribis: > We can ask him but I guess something like that : > > (boot-parameters > (label "openSUSE") > (root-device #f) > (boot-name 'grub) > (store-device #f) > (store-mount-point "/") > (kernel "(hd0,msdos1)/vmlinuz") > (kernel-arguments (list "root=3D/dev/penguin/opensuse" "init=3D/usr/l= ib/systemd/systemd")) > (initrd "(hd0,msdos1)/initrd")) > > Note that root-device, boot-name, store-device and store-mount-point are > useless here. I see. The fact that there are these extra fields that are hard to grasp as an external user of the API makes me thing that something simpler like =E2=80=98menu-entry=E2=80=99 still makes sense for users. (Of= course is the right thing to use internally, no argument here.) Concretely, I imagine the user-facing API would remain similar in spirit; users would write (operating-system ;; =E2=80=A6 (bootloader (bootloader-configuration ;; =E2=80=A6 ;; Provide custom/extra menu entries here: (entries (list (menu-entry =E2=80=A6)))))) and those entries would be =E2=80=9Clowered=E2=80=9D to s= omewhere. That way we=E2=80=99d provide the abstraction level that users may expect (= =E2=80=9Chow do I add a menu entry for my other distro?=E2=80=9D) and at the same time r= educe the risk of mistakes (=E2=80=9CI didn=E2=80=99t what to put in =E2=80=98sto= re-device=E2=80=99 I put my pet=E2=80=99s name there=E2=80=9D). WDYT? :-) >> Sounds good in general, as long as we have default values that make >> sense. > > Ok. > >> Can we assume that all the bootloaders have a notion of =E2=80=9Cmenu=E2= =80=9D and =E2=80=9Cmenu >> entries=E2=80=9D? Or do you think that very notion is not shared by all= of >> them? > > We can suppose that it's always possible to add custom entries to > generated bootloader configuration. That would allow someone switching > from grub to extlinux to keep his custom entries. OK, sounds good. Thanks, Ludo=E2=80=99. From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: boot-parameters are not documented Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 23 May 2017 11:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Danny Milosavljevic , =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= , 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149553964529587 (code B ref 27007); Tue, 23 May 2017 11:41:01 +0000 Received: (at 27007) by debbugs.gnu.org; 23 May 2017 11:40:45 +0000 Received: from localhost ([127.0.0.1]:34102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dD8BB-0007h9-L7 for submit@debbugs.gnu.org; Tue, 23 May 2017 07:40:45 -0400 Received: from mail-wm0-f50.google.com ([74.125.82.50]:36257) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dD8B9-0007gw-J4 for 27007@debbugs.gnu.org; Tue, 23 May 2017 07:40:43 -0400 Received: by mail-wm0-f50.google.com with SMTP id 7so20790027wmo.1 for <27007@debbugs.gnu.org>; Tue, 23 May 2017 04:40:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=gXRce57l75cMOrqe+jguRjyDN4qxWt38/U3HNvfabvc=; b=DGRrAtpPFbw81//piS+xFgMygYctZSIQcin/MdActQBaqlgOm8GQTl+viFMhU/rmO2 JS7CcE40yhe6jX+Ey14ZT0x31Iimi+JRz9U62gZG5COwkWf78FKxG6HiYikDqoGj/XA4 +ciGF2Xt8MrlmPJhzO604sE6aRFRgZIVmuHNWjXVCXsUcP7ca3uLH1SISnZUS37tMyH7 iVx/0CCjuI45fLmiB0EojePGX570Qfrei5xv34t9+rVJ98D+TUvMbE23nglp9hxuosC8 G+Ayqk/NvIXSoTQjGHd6DWmcI6ZWSBC88Pl5VbcEBioSn7KG9ccZdOapZJUGu5+irfYO XtFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=gXRce57l75cMOrqe+jguRjyDN4qxWt38/U3HNvfabvc=; b=UsL9l/NNa6YOrVO6U7177pd1najDISsNDsp9scszfj6DhFWoiIfWY/HDBYSlGDed2j oJBZRwowSR9HS7BODJq+ApA6XeAT2/Pk77PuyDOXX/u+ICUN4IQbp7dz/l7dn/J15471 8QcJcnqC6hug7jp6OEisu79CiQJYy8Hgs68AssE4ihOc6PkvGGf5584B3Sq1tvzbCEeF 9p7Fw0UOC+l7rH9jXEhyOaYE1n1wrd5d4McIcPLOFC1wqI2QlD9s03a/5ZXiDMLemvRW PVJM8+7bF7s39TmM5NpSo7oga0g6Wzs0XYYggWh5gkROIEVjKsnQiYfmAgReTMZquxj6 JB9Q== X-Gm-Message-State: AODbwcAbpdqER4k8apogaPcuZx67rTdrabWUFWUBAd0t8MbiPiM1/L2Y pNcOnYIR1kf4hg== X-Received: by 10.28.63.9 with SMTP id m9mr2049116wma.87.1495539637714; Tue, 23 May 2017 04:40:37 -0700 (PDT) Received: from zbook ([46.218.109.88]) by smtp.gmail.com with ESMTPSA id p5sm709071wma.17.2017.05.23.04.40.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 May 2017 04:40:36 -0700 (PDT) References: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> <20170520225234.5414d304@scratchpost.org> <20170520210049.bvq4ztjzlrsaebbn@penguin.suse.cz> <877f18ubrs.fsf@gnu.org> <8760gsg5nn.fsf@gmail.com> <87zie4yors.fsf@gnu.org> <86r2zfkjhb.fsf@gmail.com> <87efvfyfz7.fsf@gnu.org> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Mathieu Othacehe In-reply-to: <87efvfyfz7.fsf@gnu.org> Date: Tue, 23 May 2017 13:40:38 +0200 Message-ID: <86poezkdhl.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) 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: -0.0 (/) > and those entries would be “lowered” to somewhere. > That way we’d provide the abstraction level that users may expect (“how > do I add a menu entry for my other distro?”) and at the same time reduce > the risk of mistakes (“I didn’t what to put in ‘store-device’ I put my > pet’s name there”). > > WDYT? :-) > It seems fine ! So to summarize, would be moved to (gnu bootloader). A procedure menu-entry->boot-parameters would assure the mapping in (gnu bootloader). Each booloader in (gnu bootloader xxx), would add bootloader-configuration-menu-entries to generated entries. I'll be afk for a week, but I'll submit a patch and the updated documentation for this point when coming back. Thanks for your fast answers :) Mathieu From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: boot-parameters are not documented Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 23 May 2017 12:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: Danny Milosavljevic , =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= , 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.14955423111106 (code B ref 27007); Tue, 23 May 2017 12:26:01 +0000 Received: (at 27007) by debbugs.gnu.org; 23 May 2017 12:25:11 +0000 Received: from localhost ([127.0.0.1]:34144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dD8sB-0000Hm-EI for submit@debbugs.gnu.org; Tue, 23 May 2017 08:25:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dD8s9-0000HZ-G2 for 27007@debbugs.gnu.org; Tue, 23 May 2017 08:25:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dD8rw-0006Wh-Vi for 27007@debbugs.gnu.org; Tue, 23 May 2017 08:25:03 -0400 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_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59485) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dD8rw-0006WX-Sk; Tue, 23 May 2017 08:24:56 -0400 Received: from [193.50.110.67] (port=50816 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dD8rw-0008MQ-1r; Tue, 23 May 2017 08:24:56 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> <20170520225234.5414d304@scratchpost.org> <20170520210049.bvq4ztjzlrsaebbn@penguin.suse.cz> <877f18ubrs.fsf@gnu.org> <8760gsg5nn.fsf@gmail.com> <87zie4yors.fsf@gnu.org> <86r2zfkjhb.fsf@gmail.com> <87efvfyfz7.fsf@gnu.org> <86poezkdhl.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 Prairial an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Tue, 23 May 2017 14:24:54 +0200 In-Reply-To: <86poezkdhl.fsf@gmail.com> (Mathieu Othacehe's message of "Tue, 23 May 2017 13:40:38 +0200") Message-ID: <87shjvsquh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Mathieu Othacehe skribis: >> and those entries would be =E2=80=9Clowered=E2=80=9D to somewhere. >> That way we=E2=80=99d provide the abstraction level that users may expec= t (=E2=80=9Chow >> do I add a menu entry for my other distro?=E2=80=9D) and at the same tim= e reduce >> the risk of mistakes (=E2=80=9CI didn=E2=80=99t what to put in =E2=80=98= store-device=E2=80=99 I put my >> pet=E2=80=99s name there=E2=80=9D). >> >> WDYT? :-) >> > > It seems fine ! So to summarize, would be moved to (gnu > bootloader). A procedure menu-entry->boot-parameters would assure > the mapping in (gnu bootloader). > > Each booloader in (gnu bootloader xxx), would add > bootloader-configuration-menu-entries to generated entries. > > I'll be afk for a week, but I'll submit a patch and the updated > documentation for this point when coming back. Sounds like a good plan, thank you! Ludo=E2=80=99. From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: boot-parameters are not documented Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 24 May 2017 20:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Cc: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= , Mathieu Othacehe , 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149565666927092 (code B ref 27007); Wed, 24 May 2017 20:12:01 +0000 Received: (at 27007) by debbugs.gnu.org; 24 May 2017 20:11:09 +0000 Received: from localhost ([127.0.0.1]:36631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDccf-00072t-6D for submit@debbugs.gnu.org; Wed, 24 May 2017 16:11:09 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:56096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDccd-00072l-NG for 27007@debbugs.gnu.org; Wed, 24 May 2017 16:11:08 -0400 Received: from localhost (178.113.182.227.wireless.dyn.drei.com [178.113.182.227]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 2DDCE1CA00C1; Wed, 24 May 2017 22:11:06 +0200 (CEST) Date: Wed, 24 May 2017 22:11:01 +0200 From: Danny Milosavljevic Message-ID: <20170524221101.1c9081de@scratchpost.org> In-Reply-To: <87zie4yors.fsf@gnu.org> References: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> <20170520225234.5414d304@scratchpost.org> <20170520210049.bvq4ztjzlrsaebbn@penguin.suse.cz> <877f18ubrs.fsf@gnu.org> <8760gsg5nn.fsf@gmail.com> <87zie4yors.fsf@gnu.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) 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: -0.7 (/) On Tue, 23 May 2017 10:13:11 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Can we assume that all the bootloaders have a notion of =E2=80=9Cmenu=E2= =80=9D and =E2=80=9Cmenu > entries=E2=80=9D?=20 I think so. But there are bootloaders that [also can] do the traditional thing: When yo= u select an entry, it can chainload the bootsector of that partition. For = example Grub can do that. We don't support that use case yet. Grub can al= so load Windows NT bootloader directly or chainload an UEFI file etcetc - t= here are actually a lot of different kinds of "menu entries" even with the = same bootloader. See also . It's just a question of what of all that stuff we want to support (as in ma= intain). From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: boot-parameters are not documented Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 26 May 2017 08:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic Cc: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= , Mathieu Othacehe , 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149578843817291 (code B ref 27007); Fri, 26 May 2017 08:48:01 +0000 Received: (at 27007) by debbugs.gnu.org; 26 May 2017 08:47:18 +0000 Received: from localhost ([127.0.0.1]:38596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dEAty-0004Up-Gt for submit@debbugs.gnu.org; Fri, 26 May 2017 04:47:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dEAtw-0004Uc-PN for 27007@debbugs.gnu.org; Fri, 26 May 2017 04:47:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dEAtn-0000WK-BF for 27007@debbugs.gnu.org; Fri, 26 May 2017 04:47:11 -0400 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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEAtn-0000WF-7j; Fri, 26 May 2017 04:47:07 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:58060 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dEAtm-0003mv-8i; Fri, 26 May 2017 04:47:06 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> <20170520225234.5414d304@scratchpost.org> <20170520210049.bvq4ztjzlrsaebbn@penguin.suse.cz> <877f18ubrs.fsf@gnu.org> <8760gsg5nn.fsf@gmail.com> <87zie4yors.fsf@gnu.org> <20170524221101.1c9081de@scratchpost.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 7 Prairial an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Fri, 26 May 2017 10:47:02 +0200 In-Reply-To: <20170524221101.1c9081de@scratchpost.org> (Danny Milosavljevic's message of "Wed, 24 May 2017 22:11:01 +0200") Message-ID: <87d1awxawp.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Danny Milosavljevic skribis: > On Tue, 23 May 2017 10:13:11 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) > wrote: >> Can we assume that all the bootloaders have a notion of =E2=80=9Cmenu=E2= =80=9D and >> =E2=80=9Cmenu entries=E2=80=9D? > > I think so. > > But there are bootloaders that [also can] do the traditional thing: > When you select an entry, it can chainload the bootsector of that > partition. For example Grub can do that. We don't support that use > case yet. Grub can also load Windows NT bootloader directly or > chainload an UEFI file etcetc - there are actually a lot of different > kinds of "menu entries" even with the same bootloader. Right, but this is about the content of the menu entry. If we want to support that, we can provide an =E2=80=9Cescape hatch=E2=80=9D in the =E2= =80=98menu-entry=E2=80=99 object, which would be a string that goes as-is in the bootloader=E2=80=99s config file. I wonder if we should support everything you mention though. OTOH it would not feel right if we can=E2=80=99t load other free operating systems = like FreeBSD, etc. Maybe we should just start with support for GNU variants only and improve it later as people ask for it. Thoughts? Ludo=E2=80=99. From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: boot-parameters are not documented References: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 26 May 2017 09:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "Ludovic =?UTF-8?Q?Court=C3=A8s?=" Cc: Danny Milosavljevic , 27007 <27007@debbugs.gnu.org> Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149578942718753 (code B ref 27007); Fri, 26 May 2017 09:04:01 +0000 Received: (at 27007) by debbugs.gnu.org; 26 May 2017 09:03:47 +0000 Received: from localhost ([127.0.0.1]:38605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dEB9v-0004sP-9m for submit@debbugs.gnu.org; Fri, 26 May 2017 05:03:47 -0400 Received: from aibo.runbox.com ([91.220.196.211]:48884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dEB9t-0004sF-Ff for 27007@debbugs.gnu.org; Fri, 26 May 2017 05:03:46 -0400 Received: from [10.9.9.127] (helo=rmmprod05.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1dEB9q-0006Vp-04; Fri, 26 May 2017 11:03:42 +0200 Received: from mail by rmmprod05.runbox with local (Exim 4.86_2) (envelope-from ) id 1dEB9p-00074a-Ue; Fri, 26 May 2017 11:03:41 +0200 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received: from [Authenticated user (892961)] by runbox.com with http (RMM6); Fri, 26 May 2017 09:03:41 GMT From: Date: Fri, 26 May 2017 11:03:41 +0200 (CEST) X-Mailer: RMM6 In-Reply-To: <87d1awxawp.fsf@gnu.org> Message-Id: X-Spam-Score: -0.7 (/) 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: -0.7 (/) On Fri, 26 May 2017 10:47:02 +0200, ludo@gnu.org (Ludovic Court=C3=A8s) wro= te: > Danny Milosavljevic skribis: >=20 > > On Tue, 23 May 2017 10:13:11 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) > > wrote: > >> Can we assume that all the bootloaders have a notion of =E2=80=9Cmenu= =E2=80=9D and > >> =E2=80=9Cmenu entries=E2=80=9D? > > > > I think so. > > > > But there are bootloaders that [also can] do the traditional thing: > > When you select an entry, it can chainload the bootsector of that > > partition. For example Grub can do that. We don't support that use > > case yet. Grub can also load Windows NT bootloader directly or > > chainload an UEFI file etcetc - there are actually a lot of different > > kinds of "menu entries" even with the same bootloader. >=20 > Right, but this is about the content of the menu entry. If we want to > support that, we can provide an =E2=80=9Cescape hatch=E2=80=9D in the =E2= =80=98menu-entry=E2=80=99 > object, which would be a string that goes as-is in the bootloader=E2=80= =99s > config file. >=20 > I wonder if we should support everything you mention though. OTOH it > would not feel right if we can=E2=80=99t load other free operating system= s like > FreeBSD, etc. Maybe we should just start with support for GNU variants > only and improve it later as people ask for it. >=20 > Thoughts? >=20 > Ludo=E2=80=99. I think it's a matter of freedom of choice that we support all systems unco= nditionally if they exist on the system the person uses. We can start with GNU systems but should add support for everything afterwa= rds, no matter if people ask or not. Maybe they can't ask because they don't kno= w what is wrong and they just assume that their old system is now gone and they ca= n not dualboot as they assumed.= From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: [PATCH 0/2] Use menu-entry to define custom bootloader entries. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 31 May 2017 07:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 27007@debbugs.gnu.org Cc: Mathieu Othacehe Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.14962154297568 (code B ref 27007); Wed, 31 May 2017 07:24:02 +0000 Received: (at 27007) by debbugs.gnu.org; 31 May 2017 07:23:49 +0000 Received: from localhost ([127.0.0.1]:46124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFxyv-0001y0-36 for submit@debbugs.gnu.org; Wed, 31 May 2017 03:23:49 -0400 Received: from mail-wr0-f179.google.com ([209.85.128.179]:33384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFxyt-0001xm-EV for 27007@debbugs.gnu.org; Wed, 31 May 2017 03:23:47 -0400 Received: by mail-wr0-f179.google.com with SMTP id v104so3845499wrb.0 for <27007@debbugs.gnu.org>; Wed, 31 May 2017 00:23:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hp4pHOTSbFVYkkly/CyyNWI9CQirGf+XSCgmcBsJhwU=; b=nKJJy/KWPFVINa+nm76/HQJsVM6nIb88NIBi/CnBbSDOoi0JPhEHpoOqKIpgwFvW5U jf6+4n5JdIpEni3l4LhHB0XaCYTDBc3WMO/ZnHAHz+tpgyr8I75XP4atsl9yUUtkA6BZ V2escsxP/6aH8KJsN4+zGEicXbUyCxKxBT8WkAGqnv0Kh8H0XxjO38GKz74TO6Iee0VY rJo/f7AD0OEROZk5OpMQRJvJ4YnX1b4rXR553FWj5BB3EDd0Cvhl5IIwO2ypCI1W8m06 547qb2MphmDEwqW1/7+dv5XhCJSM7TbzC4Zn3hzEcIpEj0O+Cs5pB61YD6AjIHQXxUjg Nc/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=hp4pHOTSbFVYkkly/CyyNWI9CQirGf+XSCgmcBsJhwU=; b=W5j3h392T1Ik9haAVhhykpJ3UuoUTOj8FdBQF6Oyr0Bl7MEiRx4k+Lht3oScDqPUZ/ +ZL1zsvLQgKMs/eQXZfsr26mi7VMr44RkNEO+qll69amAWi5ANxpXhy9Znp44Dmgqpfi wcaIln/3QuWWMviC8DK1I+ATDz1tU+FbR0UEik/fwrbMpz1CRvshyEOM5wdt/olto1Om bbqfZuPl7eqx3jSz8Ju1qvH7851nNFN+fxj/XvGnovsUwEsxUhCtgDxPZbioDIAggcKS uBWbd9fIT+Ufl389GB/LbAqIF/7GCWRNXjBJWy7ShN4Gh0u55iFaaWd2+zSC//Ui0TRR dT8Q== X-Gm-Message-State: AODbwcBd4vq7nhLzhG/2ZnLCAVrZ07YnKa5to2TRkjaiCZNko0Lpdo+J ExQomea+U1pDbfDB X-Received: by 10.223.183.20 with SMTP id l20mr16590988wre.178.1496215421545; Wed, 31 May 2017 00:23:41 -0700 (PDT) Received: from cervin.8.8.8.8 (85-169-37-239.rev.numericable.fr. [85.169.37.239]) by smtp.gmail.com with ESMTPSA id l30sm10163590wre.25.2017.05.31.00.23.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 May 2017 00:23:40 -0700 (PDT) From: Mathieu Othacehe Date: Wed, 31 May 2017 09:23:26 +0200 Message-Id: <20170531072328.16116-1-m.othacehe@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <87shjvsquh.fsf@gnu.org> References: <87shjvsquh.fsf@gnu.org> X-Spam-Score: -2.3 (--) 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.3 (--) Hi, Here's the patch to use menu-entry instead of boot-parameters to define custom bootloaders entries as discussed. The second patch is the updated documentation for bootloader rework. Thanks, Mathieu Mathieu Othacehe (2): bootloader: Use menu-entry to define custom bootloader entries. doc: Adapt to multiple bootloader support. doc/guix.texi | 164 ++++++++++++++++++++++++-------------------- gnu/bootloader.scm | 29 +++++++- gnu/bootloader/extlinux.scm | 3 +- gnu/bootloader/grub.scm | 62 ++++++----------- gnu/system.scm | 14 ++++ 5 files changed, 156 insertions(+), 116 deletions(-) -- 2.13.0 From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: [PATCH 1/2] bootloader: Use menu-entry to define custom bootloader entries. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 31 May 2017 07:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 27007@debbugs.gnu.org Cc: Mathieu Othacehe Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.14962154337585 (code B ref 27007); Wed, 31 May 2017 07:24:02 +0000 Received: (at 27007) by debbugs.gnu.org; 31 May 2017 07:23:53 +0000 Received: from localhost ([127.0.0.1]:46127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFxyz-0001yH-8z for submit@debbugs.gnu.org; Wed, 31 May 2017 03:23:53 -0400 Received: from mail-wm0-f42.google.com ([74.125.82.42]:36072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFxyy-0001xs-Br for 27007@debbugs.gnu.org; Wed, 31 May 2017 03:23:52 -0400 Received: by mail-wm0-f42.google.com with SMTP id 7so108902262wmo.1 for <27007@debbugs.gnu.org>; Wed, 31 May 2017 00:23:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qtZUfLGcoMIdBIH8nqgt5nYtr93JHOXnmus/4FHuh20=; b=L8xqX/AMt0+rsdsKD9CHtriW1f6S2V324whoZB/yfwJyV9mlWF/O2RGpniYF16leI/ OJMWkhoNBJoweYnDqbydRHFPmJB9o5pyyCv2RWZJTxB83VxGxzYZMeP9kcqffBix5rq5 cP4RFfDa49rdjoBTdUvJ3XsK2U8Q4AiOWet/8h9PuW0wrUv/mSQKihVBamVA8l0IDWl8 omAAKEK5vMuBuQ6NEh0mxv7rGXynNpcpWDyuOAT8SKEKBqFstxdWrh6MfnCt2r8tqA0x qBVP4r4lbdKaB5rCkkvxf8fHKSX1Zx7/UZm1AXc90FlEDeho4fX4av2E4goBk9i0Ildm oRMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=qtZUfLGcoMIdBIH8nqgt5nYtr93JHOXnmus/4FHuh20=; b=DkFAtokQ8hGbl8dq6ew060xbr70yVhw20DlTRoi69nIWYCk6KExdo0TDQyVPRhZYbD F4JhJF7tyNJIDU9tOX1U1xirOFp0YmNHSf3nvGMkPrEYDVM4HWWZ34uYQiIjjx+i8OL8 YZyZZYrHwXZuajP7tISvrNubQhvvgHCVwWPIzgAVI9Ujw46CK48+kUNs7JbI/2vRufIX N1BaU5fez11JmaIyAlkYzGao0OHDrW8bhKazA55DM3dKnJEeictHNrYIZ5AscXG8WJv8 Cx4u2bWIn4eKNArKzmMbyoBoBGWWgXzCX1SIxDnlfS3LMrTLBHlIpVMKQBLbXlwG2h8Y +/4g== X-Gm-Message-State: AODbwcCbNa8liKIO5B1lSnCsZH/katJgSavxf0z/mgYO8ZZictoie3aE wTC7FTYjvTIhOXfm X-Received: by 10.28.147.9 with SMTP id v9mr4516615wmd.80.1496215426108; Wed, 31 May 2017 00:23:46 -0700 (PDT) Received: from cervin.8.8.8.8 (85-169-37-239.rev.numericable.fr. [85.169.37.239]) by smtp.gmail.com with ESMTPSA id l30sm10163590wre.25.2017.05.31.00.23.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 May 2017 00:23:45 -0700 (PDT) From: Mathieu Othacehe Date: Wed, 31 May 2017 09:23:27 +0200 Message-Id: <20170531072328.16116-2-m.othacehe@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170531072328.16116-1-m.othacehe@gmail.com> References: <87shjvsquh.fsf@gnu.org> <20170531072328.16116-1-m.othacehe@gmail.com> X-Spam-Score: 0.5 (/) 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: 0.5 (/) * gnu/bootloader.scm (): New variable. Export associated getters, This record is extracted from grub module. * gnu/bootloader/extlinux.scm (extlinux-configuration-file): Use menu-entry->boot-parameters to convert menu-entry records to boot-parameters. * gnu/bootloader/grub.scm (): Remove. (boot-parameters->menu-entry): Remove. (grub-configuration-file): Use boot-parameters to create configuration entries. * gnu/system.scm (menu-entry->boot-parameters): New exported procedure. --- gnu/bootloader.scm | 29 ++++++++++++++++++++- gnu/bootloader/extlinux.scm | 3 ++- gnu/bootloader/grub.scm | 62 +++++++++++++++------------------------------ gnu/system.scm | 14 ++++++++++ 4 files changed, 65 insertions(+), 43 deletions(-) diff --git a/gnu/bootloader.scm b/gnu/bootloader.scm index 4e77974d3..dfce2e2df 100644 --- a/gnu/bootloader.scm +++ b/gnu/bootloader.scm @@ -23,7 +23,16 @@ #:use-module (guix records) #:use-module (guix ui) #:use-module (srfi srfi-1) - #:export (bootloader + #:export (menu-entry + menu-entry? + menu-entry-label + menu-entry-device + menu-entry-device-mount-point + menu-entry-linux + menu-entry-linux-arguments + menu-entry-initrd + + bootloader bootloader? bootloader-name bootloader-package @@ -50,6 +59,24 @@ ;;; +;;; Menu-entry record. +;;; + +(define-record-type* + menu-entry make-menu-entry + menu-entry? + (label menu-entry-label) + (device menu-entry-device ; file system uuid, label, or #f + (default #f)) + (device-mount-point menu-entry-device-mount-point + (default "/")) + (linux menu-entry-linux) + (linux-arguments menu-entry-linux-arguments + (default '())) ; list of string-valued gexps + (initrd menu-entry-initrd)) ; file name of the initrd as a gexp + + +;;; ;;; Bootloader record. ;;; diff --git a/gnu/bootloader/extlinux.scm b/gnu/bootloader/extlinux.scm index 67b8815d4..0a1263aed 100644 --- a/gnu/bootloader/extlinux.scm +++ b/gnu/bootloader/extlinux.scm @@ -37,7 +37,8 @@ corresponding to old generations of the system." (define all-entries - (append entries (bootloader-configuration-menu-entries config))) + (append entries (map menu-entry->boot-parameters + (bootloader-configuration-menu-entries config)))) (define (boot-parameters->gexp params) (let ((label (boot-parameters-label params)) diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm index 49616b716..2ea2bb69a 100644 --- a/gnu/bootloader/grub.scm +++ b/gnu/bootloader/grub.scm @@ -103,19 +103,6 @@ denoting a file name." (color-highlight '((fg . yellow) (bg . black))) (color-normal '((fg . light-gray) (bg . black))))) ;XXX: #x303030 -(define-record-type* - menu-entry make-menu-entry - menu-entry? - (label menu-entry-label) - (device menu-entry-device ; file system uuid, label, or #f - (default #f)) - (device-mount-point menu-entry-device-mount-point - (default "/")) - (linux menu-entry-linux) - (linux-arguments menu-entry-linux-arguments - (default '())) ; list of string-valued gexps - (initrd menu-entry-initrd)) ; file name of the initrd as a gexp - ;;; ;;; Background image & themes. @@ -312,16 +299,6 @@ code." (#f #~(format #f "search --file --set ~a" #$file))))) -(define (boot-parameters->menu-entry conf) - "Convert a instance to a corresponding ." - (menu-entry - (label (boot-parameters-label conf)) - (device (boot-parameters-store-device conf)) - (device-mount-point (boot-parameters-store-mount-point conf)) - (linux (boot-parameters-kernel conf)) - (linux-arguments (boot-parameters-kernel-arguments conf)) - (initrd (boot-parameters-initrd conf)))) - (define* (grub-configuration-file config entries #:key (system (%current-system)) @@ -331,33 +308,36 @@ code." STORE-FS, a object. OLD-ENTRIES is taken to be a list of menu entries corresponding to old generations of the system." (define all-entries - (map boot-parameters->menu-entry - (append entries - (bootloader-configuration-menu-entries config)))) - - (define entry->gexp - (match-lambda - (($ label device device-mount-point - linux arguments initrd) + (append entries (map menu-entry->boot-parameters + (bootloader-configuration-menu-entries config)))) + + (define (boot-parameters->gexp params) + (let ((device (boot-parameters-store-device params)) + (device-mount-point (boot-parameters-store-mount-point params)) + (label (boot-parameters-label params)) + (kernel (boot-parameters-kernel params)) + (arguments (boot-parameters-kernel-arguments params)) + (initrd (boot-parameters-initrd params))) ;; Here DEVICE is the store and DEVICE-MOUNT-POINT is its mount point. - ;; Use the right file names for LINUX and INITRD in case + ;; Use the right file names for KERNEL and INITRD in case ;; DEVICE-MOUNT-POINT is not "/", meaning that the store is on a ;; separate partition. - (let ((linux (strip-mount-point device-mount-point linux)) - (initrd (strip-mount-point device-mount-point initrd))) + (let ((kernel (strip-mount-point device-mount-point kernel)) + (initrd (strip-mount-point device-mount-point initrd))) #~(format port "menuentry ~s { ~a linux ~a ~a initrd ~a }~%" #$label - #$(grub-root-search device linux) - #$linux (string-join (list #$@arguments)) - #$initrd))))) + #$(grub-root-search device kernel) + #$kernel (string-join (list #$@arguments)) + #$initrd)))) (mlet %store-monad ((sugar (eye-candy config - (menu-entry-device (first all-entries)) - (menu-entry-device-mount-point + (boot-parameters-store-device + (first all-entries)) + (boot-parameters-store-mount-point (first all-entries)) #:system system #:port #~port))) @@ -374,12 +354,12 @@ set default=~a set timeout=~a~%" #$(bootloader-configuration-default-entry config) #$(bootloader-configuration-timeout config)) - #$@(map entry->gexp all-entries) + #$@(map boot-parameters->gexp all-entries) #$@(if (pair? old-entries) #~((format port " submenu \"GNU system, old configurations...\" {~%") - #$@(map entry->gexp (map boot-parameters->menu-entry old-entries)) + #$@(map boot-parameters->gexp old-entries) (format port "}~%")) #~())))) diff --git a/gnu/system.scm b/gnu/system.scm index 0076f2fcb..96ef06a48 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -112,6 +112,7 @@ boot-parameters-initrd read-boot-parameters read-boot-parameters-file + menu-entry->boot-parameters local-host-aliases %setuid-programs @@ -299,6 +300,19 @@ The object has its kernel-arguments extended in order to make it bootable." system root-device))) #f))) + +(define (menu-entry->boot-parameters menu-entry) + "Convert a instance to a corresponding ." + (boot-parameters + (label (menu-entry-label menu-entry)) + (root-device #f) + (boot-name 'custom) + (store-device (menu-entry-device menu-entry)) + (store-mount-point (menu-entry-device-mount-point menu-entry)) + (kernel (menu-entry-linux menu-entry)) + (kernel-arguments (menu-entry-linux-arguments menu-entry)) + (initrd (menu-entry-initrd menu-entry)))) + ;;; ;;; Services. -- 2.13.0 From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: [PATCH 2/2] doc: Adapt to multiple bootloader support. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 31 May 2017 07:24:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 27007@debbugs.gnu.org Cc: Mathieu Othacehe Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.14962154387604 (code B ref 27007); Wed, 31 May 2017 07:24:03 +0000 Received: (at 27007) by debbugs.gnu.org; 31 May 2017 07:23:58 +0000 Received: from localhost ([127.0.0.1]:46130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFxz3-0001ya-L3 for submit@debbugs.gnu.org; Wed, 31 May 2017 03:23:58 -0400 Received: from mail-wm0-f44.google.com ([74.125.82.44]:37879) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFxz1-0001y8-Gg for 27007@debbugs.gnu.org; Wed, 31 May 2017 03:23:56 -0400 Received: by mail-wm0-f44.google.com with SMTP id d127so8725074wmf.0 for <27007@debbugs.gnu.org>; Wed, 31 May 2017 00:23:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=mUxN1cxCkb4pUJSNHURf0CVCvS875MKxAGdVRE4HYek=; b=HwXQSs4smmo/Z05CvbOF6EpWCvd1JgYJp2i+OlY+7xfd1LUe9at1uNhTod1UrPSdxg 3oeMcct+yt9uyOse3l4HMHTznjXwWCEpZHXo6AExk0Yc28Bsn/o++I3WODE637fgo34X C02i5qptivynBNmXFrF3JJ70V0VQTD1DR6hq9i6fBHRuhTa8ybCyVDWdAEddG0uPzjiO hLg/INygv5fNPrtvq+cF9RYhfIY91bvqK0GNBj7j+kaf9eo1EyXX3W1vFxjSGg42XG1/ eFmByuQ4CoYZ1noc0TNacmPZXoFfghn3W5JphcNl4LWJ/8s3qobyyKee2YdLOcm6m5qs YfEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mUxN1cxCkb4pUJSNHURf0CVCvS875MKxAGdVRE4HYek=; b=jNeJvESh7/pcGoUsRDMaSyY8wG8R/GB5nm5GFWHOgMF7F/Q7MHviBqxF0byusAMM3z YXPcOOKmITnnms+WtjyGGG3HTfsjW8IMX3zn9euf1GBLfccBeUVCV0kfjuqUbBd8ZbrH hh2I6KsnPjV9rYsVZXndexy0hnqvFMPn3yETy8WQ/cIM1x5UjT3l824oFC02ajVS50bm iBhMpC+l65GmrjB5JGIYkT9hnQLqrOPPjPvCew4pECDPHkxnFR6aeTcIw6znklFCrUcz EGTuQi4n0fG3v0jYjIAjeLW3VYpLiFxfas61evQUvxAr2u2ufBlPSr1JS9mU4MlJHsjy 2Jkg== X-Gm-Message-State: AODbwcA+0S+ApPXo/hgAXap4EDZ5z1F+gICAA2L3hmeCTUhIGyHvFB/v PD1KNK24Oaa+Ym4a X-Received: by 10.28.94.82 with SMTP id s79mr4038986wmb.92.1496215429327; Wed, 31 May 2017 00:23:49 -0700 (PDT) Received: from cervin.8.8.8.8 (85-169-37-239.rev.numericable.fr. [85.169.37.239]) by smtp.gmail.com with ESMTPSA id l30sm10163590wre.25.2017.05.31.00.23.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 May 2017 00:23:48 -0700 (PDT) From: Mathieu Othacehe Date: Wed, 31 May 2017 09:23:28 +0200 Message-Id: <20170531072328.16116-3-m.othacehe@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170531072328.16116-1-m.othacehe@gmail.com> References: <87shjvsquh.fsf@gnu.org> <20170531072328.16116-1-m.othacehe@gmail.com> X-Spam-Score: 0.5 (/) 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: 0.5 (/) * doc/guix.texi (GRUB configuration): Rename to "Bootloader configuration". Adapt occurences of "GRUB" in other sections. --- doc/guix.texi | 164 ++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 91 insertions(+), 73 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 0f2c11bd3..e7bca4719 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -199,7 +199,7 @@ System Configuration * X.509 Certificates:: Authenticating HTTPS servers. * Name Service Switch:: Configuring libc's name service switch. * Initial RAM Disk:: Linux-Libre bootstrapping. -* GRUB Configuration:: Configuring the boot loader. +* Bootloader Configuration:: Configuring the boot loader. * Invoking guix system:: Instantiating a system configuration. * Running GuixSD in a VM:: How to run GuixSD in a virtual machine. * Defining Services:: Adding new service definitions. @@ -7766,7 +7766,7 @@ instance to support new system services. * X.509 Certificates:: Authenticating HTTPS servers. * Name Service Switch:: Configuring libc's name service switch. * Initial RAM Disk:: Linux-Libre bootstrapping. -* GRUB Configuration:: Configuring the boot loader. +* Bootloader Configuration:: Configuring the boot loader. * Invoking guix system:: Instantiating a system configuration. * Running GuixSD in a VM:: How to run GuixSD in a virtual machine. * Defining Services:: Adding new service definitions. @@ -7949,7 +7949,7 @@ system, should you ever need to. Speaking of roll-back, each time you run @command{guix system reconfigure}, a new @dfn{generation} of the system is created---without modifying or deleting previous generations. Old system generations get -an entry in the GRUB boot menu, allowing you to boot them in case +an entry in the bootloader boot menu, allowing you to boot them in case something went wrong with the latest generation. Reassuring, no? The @command{guix system list-generations} command lists the system generations available on disk. It is also possible to roll back the @@ -8005,7 +8005,7 @@ List of strings or gexps representing additional arguments to pass on the command-line of the kernel---e.g., @code{("console=ttyS0")}. @item @code{bootloader} -The system bootloader configuration object. @xref{GRUB Configuration}. +The system bootloader configuration object. @xref{Bootloader Configuration}. @item @code{initrd} (default: @code{base-initrd}) @cindex initrd @@ -15674,32 +15674,50 @@ upon booting. All the derivations referenced by @var{exp} are automatically copied to the initrd. @end deffn -@node GRUB Configuration -@subsection GRUB Configuration +@node Bootloader Configuration +@subsection Bootloader Configuration -@cindex GRUB +@cindex Bootloader @cindex boot loader -The operating system uses GNU@tie{}GRUB as its boot loader -(@pxref{Overview, overview of GRUB,, grub, GNU GRUB Manual}). It is -configured using a @code{grub-configuration} declaration. This data type -is exported by the @code{(gnu system grub)} module and described below. +The operating system supports multiple bootloaders. The bootloader is +configured using @code{bootloader-configuration} declaration. All the +fields of this structure are bootloader agnostic except for one field, +@code{bootloader} that indicates the bootloader to be configured and +installed. -@deftp {Data Type} grub-configuration -The type of a GRUB configuration declaration. +Note that all fields of @code{bootloader-configuration} are not +necessarily handled by all GuixSD supported bootloaders. + +@deftp {Data Type} bootloader-configuration +The type of a bootloader configuration declaration. @table @asis +@item @code{bootloader} +@cindex EFI, bootloader +@cindex UEFI, bootloader +@cindex BIOS, bootloader +The bootloader to use, as a @code{bootloader} object. For now +@code{grub-bootloader}, @code{grub-efi-bootloader} and +@code{extlinux-bootloader} are supported. @code{grub-efi-bootloader}, +allows to boot on modern systems using the @dfn{Unified Extensible +Firmware Interface} (UEFI). + +Available bootloaders are described in @code{(gnu bootloader @dots{})} +modules. + @item @code{device} This is a string denoting the boot device. It must be a device name -understood by the @command{grub-install} command, such as -@code{/dev/sda} or @code{(hd0)} (@pxref{Invoking grub-install,,, grub, +understood by the bootloader @command{installer} command, such as +@code{/dev/sda} or @code{(hd0)} (for GRUB, @pxref{Invoking grub-install,,, grub, GNU GRUB Manual}). @item @code{menu-entries} (default: @code{()}) A possibly empty list of @code{menu-entry} objects (see below), denoting -entries to appear in the GRUB boot menu, in addition to the current +entries to appear in the bootloader menu, in addition to the current system entry and the entry pointing to previous system generations. +generations. @item @code{default-entry} (default: @code{0}) The index of the default boot menu entry. Index 0 is for the entry of the @@ -15709,42 +15727,37 @@ current system. The number of seconds to wait for keyboard input before booting. Set to 0 to boot immediately, and to -1 to wait indefinitely. -@item @code{theme} (default: @var{%default-theme}) -The @code{grub-theme} object describing the theme to use. - -@item @code{grub} (default: @code{grub}) -@cindex EFI, bootloader -@cindex UEFI, bootloader -@cindex BIOS, bootloader -The GRUB package to use. Currently either @code{grub}, for ``legacy'' -x86 BIOS systems, or @code{grub-efi}, for modern systems using the -@dfn{Unified Extensible Firmware Interface} (UEFI). +@item @code{theme} (default: @var{#f}) +The bootloader theme object describing the theme to use. If no theme +is provided, some bootloaders might use a default theme, that's true +for GRUB. @item @code{terminal-outputs} (default: @code{'gfxterm}) -The output terminals used for the GRUB boot menu, as a list of symbols. -These values are accepted: @code{console}, @code{serial}, -@code{serial_@{0-3@}}, @code{gfxterm}, @code{vga_text}, @code{mda_text}, -@code{morse}, and @code{pkmodem}. This field corresponds to the GRUB -variable GRUB_TERMINAL_OUTPUT (@pxref{Simple configuration,,, grub,GNU -GRUB manual}). +The output terminals used for the bootloader boot menu, as a list of +symbols. GRUB accepts the values: @code{console}, @code{serial}, +@code{serial_@{0-3@}}, @code{gfxterm}, @code{vga_text}, +@code{mda_text}, @code{morse}, and @code{pkmodem}. This field +corresponds to the GRUB variable GRUB_TERMINAL_OUTPUT (@pxref{Simple +configuration,,, grub,GNU GRUB manual}). @item @code{terminal-inputs} (default: @code{'()}) -The input terminals used for the GRUB boot menu, as a list of symbols. -The default is the native platform terminal as determined by GRUB at -run-time. These values are accepted: @code{console}, @code{serial}, -@code{serial_@{0-3@}}, @code{at_keyboard}, and @code{usb_keyboard}. -This field corresponds to the GRUB variable GRUB_TERMINAL_INPUT -(@pxref{Simple configuration,,, grub,GNU GRUB manual}). +The input terminals used for the bootloader boot menu, as a list of +symbols. For GRUB, the default is the native platform terminal as +determined at run-time. GRUB accepts the values: @code{console}, +@code{serial}, @code{serial_@{0-3@}}, @code{at_keyboard}, and +@code{usb_keyboard}. This field corresponds to the GRUB variable +GRUB_TERMINAL_INPUT (@pxref{Simple configuration,,, grub,GNU GRUB +manual}). @item @code{serial-unit} (default: @code{#f}) -The serial unit used by GRUB, as an integer from 0 to 3. The default -value is chosen by GRUB at run-time; currently GRUB chooses 0, which +The serial unit used by the bootloader, as an integer from 0 to 3. +For GRUB it is choosen at run-time; currently GRUB chooses 0, which corresponds to COM1 (@pxref{Serial terminal,,, grub,GNU GRUB manual}). @item @code{serial-speed} (default: @code{#f}) -The speed of the serial interface, as an integer. The default value is -chosen by GRUB at run-time; currently GRUB chooses 9600@tie{}bps -(@pxref{Serial terminal,,, grub,GNU GRUB manual}). +The speed of the serial interface, as an integer. For GRUB, the +default value is chosen at run-time; currently GRUB chooses +9600@tie{}bps (@pxref{Serial terminal,,, grub,GNU GRUB manual}). @end table @end deftp @@ -15768,7 +15781,7 @@ along these lines: Details below. @deftp {Data Type} menu-entry -The type of an entry in the GRUB boot menu. +The type of an entry in the bootloader menu. @table @asis @@ -15782,9 +15795,9 @@ The Linux kernel image to boot, for example: (file-append linux-libre "/bzImage") @end example -It is also possible to specify a device explicitly in the file path -using GRUB's device naming convention (@pxref{Naming convention,,, grub, -GNU GRUB manual}), for example: +For GRUB, It is also possible to specify a device explicitly in the +file path using GRUB's device naming convention (@pxref{Naming +convention,,, grub, GNU GRUB manual}), for example: @example "(hd0,msdos1)/boot/vmlinuz" @@ -15800,16 +15813,15 @@ The list of extra Linux kernel command-line arguments---e.g., @item @code{initrd} A G-Expression or string denoting the file name of the initial RAM disk to use (@pxref{G-Expressions}). - @item @code{device} (default: @code{#f}) -The device where the kernel and initrd are to be found---i.e., the GRUB +The device where the kernel and initrd are to be found---i.e., for GRUB, @dfn{root} for this menu entry (@pxref{root,,, grub, GNU GRUB manual}). This may be a file system label (a string), a file system UUID (a -bytevector, @pxref{File Systems}), or @code{#f}, in which case GRUB will -search the device containing the file specified by the @code{linux} -field (@pxref{search,,, grub, GNU GRUB manual}). It must @emph{not} be -an OS device name such as @file{/dev/sda1}. +bytevector, @pxref{File Systems}), or @code{#f}, in which case +the bootloader will search the device containing the file specified by +the @code{linux} field (@pxref{search,,, grub, GNU GRUB manual}). It +must @emph{not} be an OS device name such as @file{/dev/sda1}. @item @code{device-mount-point} (default: @code{"/"}) The mount point of the above device on the system. You probably do not @@ -15821,12 +15833,16 @@ on a separate partition. @end deftp @c FIXME: Write documentation once it's stable. -Themes are created using the @code{grub-theme} form, which is not -documented yet. +Fow now only GRUB has theme support. GRUB Themes are created using +the @code{grub-theme} form, which is not documented yet. @defvr {Scheme Variable} %default-theme -This is the default GRUB theme used by the operating system, with a -fancy background image displaying the GNU and Guix logos. +This is the default GRUB theme used by the operating system if no +@code{theme} field is specified in @code{bootloader-configuration} +record. + +It comes with a fancy background image displaying the GNU and Guix +logos. @end defvr @@ -15866,9 +15882,9 @@ list-generations}). If that generation already exists, it will be overwritten. This behavior mirrors that of @command{guix package} (@pxref{Invoking guix package}). -It also adds a GRUB menu entry for the new OS configuration, and moves -entries for older configurations to a submenu---unless -@option{--no-bootloader} is passed. +It also adds a bootloader menu entry for the new OS configuration, +---unless @option{--no-bootloader} is passed. For GRUB, it moves +entries for older configurations to a submenu. @quotation Note @c The paragraph below refers to the problem discussed at @@ -15882,11 +15898,12 @@ once @command{reconfigure} has completed. @item switch-generation @cindex generations Switch to an existing system generation. This action atomically -switches the system profile to the specified system generation. It also -rearranges the system's existing GRUB menu entries. It makes the menu -entry for the specified system generation the default, and it moves the -entries for the other generations to a submenu. The next time the -system boots, it will use the specified system generation. +switches the system profile to the specified system generation. It +also rearranges the system's existing bootloader menu entries. It +makes the menu entry for the specified system generation the default, +and it moves the entries for the other generations to a submenu. The +next time the system boots, it will use the specified system +generation. The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to system @@ -15908,11 +15925,11 @@ guix system switch-generation -- -1 @end example Currently, the effect of invoking this action is @emph{only} to switch -the system profile to an existing generation and rearrange the GRUB menu -entries. To actually start using the target system generation, you must -reboot after running this action. In the future, it will be updated to -do the same things as @command{reconfigure}, like activating and -deactivating services. +the system profile to an existing generation and rearrange the +bootloader menu entries. To actually start using the target system +generation, you must reboot after running this action. In the future, +it will be updated to do the same things as @command{reconfigure}, +like activating and deactivating services. This action will fail if the specified generation does not exist. @@ -15947,8 +15964,9 @@ files, packages, and so on. It also creates other essential files needed for the system to operate correctly---e.g., the @file{/etc}, @file{/var}, and @file{/run} directories, and the @file{/bin/sh} file. -This command also installs GRUB on the device specified in -@file{my-os-config}, unless the @option{--no-bootloader} option was passed. +This command also installs bootloader on the device specified in +@file{my-os-config}, unless the @option{--no-bootloader} option was +passed. @item vm @cindex virtual machine @@ -16088,7 +16106,7 @@ build users of the daemon (@pxref{Build Environment Setup}). Once you have built, configured, re-configured, and re-re-configured your GuixSD installation, you may find it useful to list the operating system generations available on disk---and that you can choose from the -GRUB boot menu: +bootloader boot menu: @table @code -- 2.13.0 From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: [PATCH 2/2] doc: Adapt to multiple bootloader support. Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 31 May 2017 21:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149626783320699 (code B ref 27007); Wed, 31 May 2017 21:58:01 +0000 Received: (at 27007) by debbugs.gnu.org; 31 May 2017 21:57:13 +0000 Received: from localhost ([127.0.0.1]:48063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGBc8-0005Nm-RW for submit@debbugs.gnu.org; Wed, 31 May 2017 17:57:13 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:47118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGBc8-0005Nf-2y for 27007@debbugs.gnu.org; Wed, 31 May 2017 17:57:12 -0400 Received: from localhost (178.113.243.58.wireless.dyn.drei.com [178.113.243.58]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 000CA1CA00B1; Wed, 31 May 2017 23:57:09 +0200 (CEST) Date: Wed, 31 May 2017 23:57:06 +0200 From: Danny Milosavljevic Message-ID: <20170531235706.53ab11dc@scratchpost.org> In-Reply-To: <20170531072328.16116-3-m.othacehe@gmail.com> References: <87shjvsquh.fsf@gnu.org> <20170531072328.16116-1-m.othacehe@gmail.com> <20170531072328.16116-3-m.othacehe@gmail.com> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) 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: -0.7 (/) > +Note that all fields of @code{bootloader-configuration} are not > +necessarily handled by all GuixSD supported bootloaders. Sounds weird to me. How about "Note that not all fields of ... are necessarily handled by every GuixSD-supported bootloader" ? Otherwise LGTM! From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: [PATCH 1/2] bootloader: Use menu-entry to define custom bootloader entries. Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 31 May 2017 22:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149626870022034 (code B ref 27007); Wed, 31 May 2017 22:12:01 +0000 Received: (at 27007) by debbugs.gnu.org; 31 May 2017 22:11:40 +0000 Received: from localhost ([127.0.0.1]:48084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGBq6-0005jJ-P9 for submit@debbugs.gnu.org; Wed, 31 May 2017 18:11:40 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:48256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGBq4-0005j9-Jk for 27007@debbugs.gnu.org; Wed, 31 May 2017 18:11:36 -0400 Received: from localhost (178.113.243.58.wireless.dyn.drei.com [178.113.243.58]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 6BABB1CA0678; Thu, 1 Jun 2017 00:11:35 +0200 (CEST) Date: Thu, 1 Jun 2017 00:11:31 +0200 From: Danny Milosavljevic Message-ID: <20170601001131.70855905@scratchpost.org> In-Reply-To: <20170531072328.16116-2-m.othacehe@gmail.com> References: <87shjvsquh.fsf@gnu.org> <20170531072328.16116-1-m.othacehe@gmail.com> <20170531072328.16116-2-m.othacehe@gmail.com> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) 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: -0.7 (/) Hi Mathieu, On Wed, 31 May 2017 09:23:27 +0200 Mathieu Othacehe wrote: > +(define-record-type* ... > + (initrd menu-entry-initrd)) ; file name of the initrd as a gexp For another future patch: Hmm, should we make this optional? I didn't have an initrd for many years. > --- a/gnu/bootloader/extlinux.scm > +++ b/gnu/bootloader/extlinux.scm > @@ -37,7 +37,8 @@ > corresponding to old generations of the system." > > (define all-entries > - (append entries (bootloader-configuration-menu-entries config))) > + (append entries (map menu-entry->boot-parameters > + (bootloader-configuration-menu-entries config)))) Since we have menu-entry as a public datatype now, should we maybe use menu-entries for all the bootloader stuff ? I think this would be easier to maintain because boot-parameters is a serialized format we can't easily change (because it's stored into a "parameters" file per generation, and generations can't ever be deleted). In that case maybe it could rather be boot-parameters->menu-entry for the other (i.e. the GuixSD) entries instead of this. > + (define (boot-parameters->gexp params) Maybe rather menu-entry->gexp and take a menu-entry ? > +(define (menu-entry->boot-parameters menu-entry) Then we'd have menu-entry->boot-parameters *and* boot-parameters->menu-entry which is usually a dead giveaway that we are doing something strange. It would make it either a 1:1 map or lose data on the roundtrip, both of which are weird. That's why I think if we have public records anyway now, let's use them for the bootloader stuff throughout. WDYT? From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: [PATCH 1/2] bootloader: Use menu-entry to define custom bootloader entries. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 01 Jun 2017 08:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.14963060847629 (code B ref 27007); Thu, 01 Jun 2017 08:35:01 +0000 Received: (at 27007) by debbugs.gnu.org; 1 Jun 2017 08:34:44 +0000 Received: from localhost ([127.0.0.1]:48413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGLZ6-0001yz-Af for submit@debbugs.gnu.org; Thu, 01 Jun 2017 04:34:44 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:36328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGLZ4-0001ym-SA for 27007@debbugs.gnu.org; Thu, 01 Jun 2017 04:34:43 -0400 Received: by mail-wm0-f65.google.com with SMTP id k15so9373902wmh.3 for <27007@debbugs.gnu.org>; Thu, 01 Jun 2017 01:34:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=7OMYqg5RK7FDxR15nCS/1zbI8dbqqDA5lluXMD09Msg=; b=KAz4SUu+aZZYQ3IwOacbtp4kQgoP1W2IpRCwxZgJU/2tQr68bjkYsniX9haQKXlz4B t7gVZG/eCaxRGJv4abvVq3YCtyK5RB+Uc6AxBsuxJqc6k67+xFl+4Njiom0oOroIeKxM 2zNVBzADHT5/8e+J7v9P77Wprakk4yGTguqQ1TO34xBukPe4VbfLDVQyPz80mMW11i38 g2e3edYSoc91YKz2ZW7Vp3rAoHRJRaRhFXX01iTfGmudsltj6QQUO511ZhXG8dwFR/9D vh7jcvjW/4Djv/nclKIvypywvRS+74oMtXrbRgjSMUG2TXYpSlCXOB0BvBiofFKvQMuJ Wciw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=7OMYqg5RK7FDxR15nCS/1zbI8dbqqDA5lluXMD09Msg=; b=BxMgKGM319bOTfy3Op8lsrYlqCKwQvEaK9FU6vjALidfqLZ5zF9zTOdegU/75u/VoM +FqC0s2BfgIyNi6st1akBoa+DAlhTpZlpH1GfS58dJDbznAZ1IaIy1oWDzGueDupQctt SqHz1EDXyW2+ZzaelevnPAInYUCC87w1QmJwCunS6eBJ0V+nghOJEdfB+MTelI5ijFno pC9W4h+WgC8AoPmpfLW6qWekqBjWcDfwueLFjKh4Diyq+dBqXqh285A5+rH9zx+qfMF3 n67unfGqQxy+DOtymviHg+eznUHOjMpQOjNld/omRQT784ETJGBACNt3QIQuq1K1c53C w7WA== X-Gm-Message-State: AODbwcBMLzdbYi1JpwIDbYdhQfWCCZ+EBe4XhpTh6DwazudrBr+Hmpky nK7AYtlLTJIufA== X-Received: by 10.223.150.39 with SMTP id b36mr333008wra.149.1496306075750; Thu, 01 Jun 2017 01:34:35 -0700 (PDT) Received: from zbook ([46.218.109.88]) by smtp.gmail.com with ESMTPSA id w18sm13460296wra.34.2017.06.01.01.34.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Jun 2017 01:34:34 -0700 (PDT) References: <87shjvsquh.fsf@gnu.org> <20170531072328.16116-1-m.othacehe@gmail.com> <20170531072328.16116-2-m.othacehe@gmail.com> <20170601001131.70855905@scratchpost.org> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Mathieu Othacehe In-reply-to: <20170601001131.70855905@scratchpost.org> Date: Thu, 01 Jun 2017 10:34:39 +0200 Message-ID: <86lgpcjecg.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) 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: 0.5 (/) Hi Danny, > For another future patch: Hmm, should we make this optional? I didn't have an initrd for many years. Well I tried to run GuixSD without initrd and it's not possible yet. Besides mounting root partition, it's also used to start the initial guile script (/run/current-system/boot). However, that's something I'd like to see :) > >> --- a/gnu/bootloader/extlinux.scm > That's why I think if we have public records anyway now, let's use them for the bootloader stuff throughout. You're right there's something fishy here. But, if we want to remove the notion of from (gnu bootloader ...), that would mean that callers of "configuration-file-generator" will have to adapt their API and that's a more consequent rework. Ludo, any thoughts ? Mathieu From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: [PATCH 1/2] bootloader: Use menu-entry to define custom bootloader entries. Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 01 Jun 2017 11:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149631570322191 (code B ref 27007); Thu, 01 Jun 2017 11:16:02 +0000 Received: (at 27007) by debbugs.gnu.org; 1 Jun 2017 11:15:03 +0000 Received: from localhost ([127.0.0.1]:48509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGO4E-0005lq-IR for submit@debbugs.gnu.org; Thu, 01 Jun 2017 07:15:03 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:59498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGO4C-0005l9-OM for 27007@debbugs.gnu.org; Thu, 01 Jun 2017 07:15:01 -0400 Received: from localhost (178.113.243.58.wireless.dyn.drei.com [178.113.243.58]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 7E7CD1CA066C; Thu, 1 Jun 2017 13:14:59 +0200 (CEST) Date: Thu, 1 Jun 2017 13:14:54 +0200 From: Danny Milosavljevic Message-ID: <20170601131454.634a9d42@scratchpost.org> In-Reply-To: <86lgpcjecg.fsf@gmail.com> References: <87shjvsquh.fsf@gnu.org> <20170531072328.16116-1-m.othacehe@gmail.com> <20170531072328.16116-2-m.othacehe@gmail.com> <20170601001131.70855905@scratchpost.org> <86lgpcjecg.fsf@gmail.com> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) 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: -0.7 (/) Hi Mathieu, >Well I tried to run GuixSD without initrd and it's not possible yet. People apparently start other Linux distributions with it :) >a more consequent rework. Uuuh another person hit the boot-parameters usability problem. Let's get this patchset in and rework it later. How's the error reporting? If a user still has boot-parameters in his bootloader configuration menu-entries, will "guix system reconfigure" fail *before* he reboots? If so, does the error message hint on how to fix it? LGTM as is. The user interface is now the same as it had been before (in 0.13.0) - so it's an improvement. I just checked: The 0.13.0 release is safe. Phiew. From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: [PATCH 1/2] bootloader: Use menu-entry to define custom bootloader entries. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 01 Jun 2017 11:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: Danny Milosavljevic , 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149631617023072 (code B ref 27007); Thu, 01 Jun 2017 11:23:01 +0000 Received: (at 27007) by debbugs.gnu.org; 1 Jun 2017 11:22:50 +0000 Received: from localhost ([127.0.0.1]:48601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGOBl-000603-Up for submit@debbugs.gnu.org; Thu, 01 Jun 2017 07:22:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGOBj-0005zr-S9 for 27007@debbugs.gnu.org; Thu, 01 Jun 2017 07:22:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGOBb-0002U9-ME for 27007@debbugs.gnu.org; Thu, 01 Jun 2017 07:22:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53427) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGOBb-0002U3-JL; Thu, 01 Jun 2017 07:22:39 -0400 Received: from [193.50.110.69] (port=42308 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dGOBa-00052l-SQ; Thu, 01 Jun 2017 07:22:39 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87shjvsquh.fsf@gnu.org> <20170531072328.16116-1-m.othacehe@gmail.com> <20170531072328.16116-2-m.othacehe@gmail.com> <20170601001131.70855905@scratchpost.org> <86lgpcjecg.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 13 Prairial an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Thu, 01 Jun 2017 13:22:37 +0200 In-Reply-To: <86lgpcjecg.fsf@gmail.com> (Mathieu Othacehe's message of "Thu, 01 Jun 2017 10:34:39 +0200") Message-ID: <87bmq83qbm.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Hello, Mathieu Othacehe skribis: >> For another future patch: Hmm, should we make this optional? I didn't = have an initrd for many years. > > Well I tried to run GuixSD without initrd and it's not possible > yet. Besides mounting root partition, it's also used to start the > initial guile script (/run/current-system/boot). > > However, that's something I'd like to see :) I think it=E2=80=99s hard to achieve in general, unless you build the relev= ant disk and file system drivers directly inside your kernel. (The whole point of the initrd is that you can keep a small kernel build and then populate the initrd with the modules that are needed to mount the root file system.) (I=E2=80=99ll comment on the other issues separately!) Ludo=E2=80=99. From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: [PATCH 1/2] bootloader: Use menu-entry to define custom bootloader entries. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 02 Jun 2017 09:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149639578021753 (code B ref 27007); Fri, 02 Jun 2017 09:30:03 +0000 Received: (at 27007) by debbugs.gnu.org; 2 Jun 2017 09:29:40 +0000 Received: from localhost ([127.0.0.1]:50564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGito-0005en-0e for submit@debbugs.gnu.org; Fri, 02 Jun 2017 05:29:40 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:35636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGitn-0005eb-97 for 27007@debbugs.gnu.org; Fri, 02 Jun 2017 05:29:39 -0400 Received: by mail-wm0-f65.google.com with SMTP id g15so17521181wmc.2 for <27007@debbugs.gnu.org>; Fri, 02 Jun 2017 02:29:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=Jw+Pw7iGDhYU00N9wpGR+b8H6Ga38I8CNEkqe67pMwA=; b=F3NIWyYF1IhJ2EmF6VMJFMDitvwmuk+m3CE008QTDG7e+qbt9Q1H+PqgTKjNyi3M3f Rs5n0Sq9lS6TDmGE0TPFwR9G/DgCzynD1fK9tDqNPAAkmUjciHma5eRe7iYBPXc0yDge k8qO+KjMmZo5HB0+R+QqxcwEs9QWd1xLmecMA2sYXI+leu6/kW5MLteTcGzgI5FA9zDN YjaqV8/OPSiPqhg5H99/badpRquKNZEekMrLnm1Yzssuhy4ZzVnbmCV3ErRjWD17szK6 jc0mFOl16eTEtgBc0/veo4W6M1Xazh7zpd2GEdSp76rRn1P/t+kTA70uWCubRYFADsFa URsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=Jw+Pw7iGDhYU00N9wpGR+b8H6Ga38I8CNEkqe67pMwA=; b=h6EjEogKoFMt75JKVLB1msdemJ64LGolBDFq52dZ+H2jPdTBToHXBp63SY5PTo13a9 9116OXFNlHWJtid25yCdY4cpqKQwq8fv6xPjw6at/xkNzDfNKgSCAn4k6T9cQPWvRxyW hiamptW+kFrD5sQlkpMkL1r5s4/XN5rUm+VwJ0OMMWaJ2TiuHbSFdPU8h0sZnI5HzrUq hzw4hVnrWLD4q7GtuTHFFYCDCbtHKv6/3fRh5zIvkrsFbFE0nVONwRz8oKTe+tJdgIUv jgctJZ99LcwW3E9V1c/S7e7Q93vFtTzlTHLMiak36syMiPliDrZnif8TrIPJHEKVvZXX oyFw== X-Gm-Message-State: AODbwcBEEClrO6/P0aNF6cDuT9H+xMq6XF6+TcXVeOfgBcg0xN5miSJc vgirpwJdKoyQDw== X-Received: by 10.28.20.198 with SMTP id 189mr2080500wmu.17.1496395773619; Fri, 02 Jun 2017 02:29:33 -0700 (PDT) Received: from zbook ([46.218.109.88]) by smtp.gmail.com with ESMTPSA id w16sm905321wmw.10.2017.06.02.02.29.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 02 Jun 2017 02:29:32 -0700 (PDT) References: <87shjvsquh.fsf@gnu.org> <20170531072328.16116-1-m.othacehe@gmail.com> <20170531072328.16116-2-m.othacehe@gmail.com> <20170601001131.70855905@scratchpost.org> <86lgpcjecg.fsf@gmail.com> <20170601131454.634a9d42@scratchpost.org> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Mathieu Othacehe In-reply-to: <20170601131454.634a9d42@scratchpost.org> Date: Fri, 02 Jun 2017 11:29:38 +0200 Message-ID: <86inkeka9p.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) 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: 0.5 (/) Hi ! > People apparently start other Linux distributions with it :) Yes because they use initrd only to mount root partition, then kernel is starting /sbin/init provided by systemd or other init mechanism. For people who's custom kernel is able to access root partition without loading any module, maybe we could provide a kernel argument init=. Before GuixSD I didn't use an initrd to boot fastly. On GuixSD, because shepherd start is quite slow (unparallelized ?) compared to systemd, the few ms spent in initrd execution seems unsignificant. But maybe there are other advantages not to run an initrd. > How's the error reporting? If a user still has boot-parameters in his bootloader configuration menu-entries, will "guix system reconfigure" fail *before* he reboots? If so, does the error message hint on how to fix it? Yes it will fail, some users have sadly already experimented this error. > LGTM as is. The user interface is now the same as it had been before (in 0.13.0) - so it's an improvement. > > I just checked: The 0.13.0 release is safe. Phiew. Ok, let's wait for Ludo's approval then :) Thanks for reviewing Danny, Mathieu From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: [PATCH 1/2] bootloader: Use menu-entry to define custom bootloader entries. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 02 Jun 2017 14:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe , Danny Milosavljevic Cc: 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149641385523788 (code B ref 27007); Fri, 02 Jun 2017 14:31:02 +0000 Received: (at 27007) by debbugs.gnu.org; 2 Jun 2017 14:30:55 +0000 Received: from localhost ([127.0.0.1]:51711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGnbL-0006Bc-5k for submit@debbugs.gnu.org; Fri, 02 Jun 2017 10:30:55 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:41171) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGnbI-0006BS-Ku for 27007@debbugs.gnu.org; Fri, 02 Jun 2017 10:30:53 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id BCCF020A15; Fri, 2 Jun 2017 10:30:51 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Fri, 02 Jun 2017 10:30:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=N3tGEIoCfOVur/F1jaW917FANDraMd3x1R0Wu07Xz Kw=; b=aUfRJC9pJdSozyGFTWmw6UL+AgYWUGqAq3bfEHNnmMp10ZvO93w0/PVtm F7tpknITIgWWG47gopXPE5I+MCGAJQ2UKKftmnYBlXE9e/TnJW11G7NuRWE/C1lX mjbUB9YNiQpHnnQ/SIXVsmArS5Rzpllwa2mv0hHpRtAo3If8MUrOn1lbePoVAXgS t3Uwkk7+WN/ompVlwf4xwQnnNty1yT+aEhQsvIACgBTSC03FOxehHOE4KIJHpUQa Fi4bbIIK4Y3UT+hVF5iVaSpnaOTW/5TKpl2RJenVIbyD0m3K4TS2mtM69nn+smJM 9MAcwmKKf+6wN0yY9A4HkKjUhLChw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=N3tGEIoCfOVur/F1ja W917FANDraMd3x1R0Wu07XzKw=; b=oGqrVqnsXSt5yTBzrv4E4yJdJjyCWA+oRL FQFKlqvhUluUe+dEhQgXOCyMkxZ5issF5yoqtGgaDz9EU1R/LY/hT4XqchPZaS7i jLcieh1MIzQiogcpmb2aIKcMDpYpbLIuOuPQZ78ydJ0C+m2i/jv6H9kOnsfGaXzu BBUR3mPcYtxKXOwC+it1zXJP8eI5blCt15clYAYivSERm74lTL8yGwHpxIyNs5Md IfrismnVrJCQB0BigbxikDfWr7VoxSsBbgVtevPNQXLdizTf8QeVP9Rsp3RpnW3h 9VaGypfLB02hw5MaqBtJ7pILzaVST42LYQUNgLyhoKmPJIL+hodA== X-ME-Sender: X-Sasl-enc: hsO2Sg6A4kYSLoRxNl53/0ruqSui4y9HisLFoI2taxzE 1496413851 Received: from localhost (unknown [92.62.32.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 445797E7AA; Fri, 2 Jun 2017 10:30:51 -0400 (EDT) From: Marius Bakke In-Reply-To: <86inkeka9p.fsf@gmail.com> References: <87shjvsquh.fsf@gnu.org> <20170531072328.16116-1-m.othacehe@gmail.com> <20170531072328.16116-2-m.othacehe@gmail.com> <20170601001131.70855905@scratchpost.org> <86lgpcjecg.fsf@gmail.com> <20170601131454.634a9d42@scratchpost.org> <86inkeka9p.fsf@gmail.com> User-Agent: Notmuch/0.24.1 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) Date: Fri, 02 Jun 2017 16:30:49 +0200 Message-ID: <87fuficvhi.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) 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: -0.7 (/) --=-=-= Content-Type: text/plain Mathieu Othacehe writes: > But maybe there are other advantages not to run an initrd. CONFIG_MODULES=n reduces kernel attack surface significantly :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlkxdpkACgkQoqBt8qM6 VPpQKgf+PXQsi+hRQqLEw7lscJKygpJlQKeo+EuopjHFBD4sp9r0/L7f0RhT65J/ j++xEti96bLkbhHKGagGHAh59qjBIaRKi8llpe2dSI7pEHmw4R0KaJJ4cS+556HG Me8ocPmetRI7NBJoK/dDMK4dGox8NmFXprEYJPoAaWRkZI618UDmzKSO52cTZ/Mw xfk2kMKVf8OMxKhETe8lHRSYxrc6B7DTp0DTgBCPRe0/2jLKhj/2il1j2AGV0N3h IKaEQmKYMkCOiX7BFkkTY6FdUwEYwDsWv75OkKZo+O6DqRjya0p4c9LpSYJFaPTr 9O5BDVw4K1Ys9lEu3hizJ20SZyjbBQ== =eo6l -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: [PATCH 1/2] bootloader: Use menu-entry to define custom bootloader entries. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 05 Jun 2017 10:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149665822923401 (code B ref 27007); Mon, 05 Jun 2017 10:24:02 +0000 Received: (at 27007) by debbugs.gnu.org; 5 Jun 2017 10:23:49 +0000 Received: from localhost ([127.0.0.1]:56505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHpAr-00065N-M9 for submit@debbugs.gnu.org; Mon, 05 Jun 2017 06:23:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHpAp-000655-Nt for 27007@debbugs.gnu.org; Mon, 05 Jun 2017 06:23:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHpAf-0003Dz-Gc for 27007@debbugs.gnu.org; Mon, 05 Jun 2017 06:23:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37196) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHpAf-0003Dv-DK; Mon, 05 Jun 2017 06:23:37 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:58834 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dHpAe-0002kV-OV; Mon, 05 Jun 2017 06:23:37 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87shjvsquh.fsf@gnu.org> <20170531072328.16116-1-m.othacehe@gmail.com> <20170531072328.16116-2-m.othacehe@gmail.com> Date: Mon, 05 Jun 2017 12:23:33 +0200 In-Reply-To: <20170531072328.16116-2-m.othacehe@gmail.com> (Mathieu Othacehe's message of "Wed, 31 May 2017 09:23:27 +0200") Message-ID: <87efuyenru.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Hi Mathieu, Mathieu Othacehe skribis: > * gnu/bootloader.scm (): New variable. Export associated gett= ers, > This record is extracted from grub module. > * gnu/bootloader/extlinux.scm (extlinux-configuration-file): Use > menu-entry->boot-parameters to convert menu-entry records to > boot-parameters. > * gnu/bootloader/grub.scm (): Remove. > (boot-parameters->menu-entry): Remove. > (grub-configuration-file): Use boot-parameters to create configuration > entries. > * gnu/system.scm (menu-entry->boot-parameters): New exported procedure. Overall LGTM. Some comments and questions: > +(define-record-type* > + menu-entry make-menu-entry > + menu-entry? > + (label menu-entry-label) > + (device menu-entry-device ; file system uuid, label, or= #f > + (default #f)) > + (device-mount-point menu-entry-device-mount-point > + (default "/")) > + (linux menu-entry-linux) > + (linux-arguments menu-entry-linux-arguments > + (default '())) ; list of string-valued gexps > + (initrd menu-entry-initrd)) ; file name of the initrd as = a gexp Do we still need =E2=80=98device-mount-point=E2=80=99 now? For the dual-bo= ot use case, I don=E2=80=99t see how this would be used. > +(define (menu-entry->boot-parameters menu-entry) > + "Convert a instance to a corresponding ." > + (boot-parameters > + (label (menu-entry-label menu-entry)) > + (root-device #f) > + (boot-name 'custom) > + (store-device (menu-entry-device menu-entry)) > + (store-mount-point (menu-entry-device-mount-point menu-entry)) > + (kernel (menu-entry-linux menu-entry)) > + (kernel-arguments (menu-entry-linux-arguments menu-entry)) > + (initrd (menu-entry-initrd menu-entry)))) It=E2=80=99s weird to set =E2=80=98store-device=E2=80=99 and =E2=80=98store= -mount-point=E2=80=99 here since there=E2=80=99s no store (at least when defining a menu entry for another d= istro or OS). Should we set them to #f? BTW, this is unrelated to this patch series, but I think =E2=80=98boot-name= =E2=80=99 should be renamed to =E2=80=98bootloader-name=E2=80=99 since that=E2=80=99s= what it is. Thank you for working on this! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 05 06:24:25 2017 Received: (at control) by debbugs.gnu.org; 5 Jun 2017 10:24:25 +0000 Received: from localhost ([127.0.0.1]:56509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHpBQ-00066a-UP for submit@debbugs.gnu.org; Mon, 05 Jun 2017 06:24:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50045) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHpBP-00066L-0h for control@debbugs.gnu.org; Mon, 05 Jun 2017 06:24:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHpBF-0003W5-2M for control@debbugs.gnu.org; Mon, 05 Jun 2017 06:24:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHpBE-0003Vt-VV for control@debbugs.gnu.org; Mon, 05 Jun 2017 06:24:13 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:58840 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dHpBE-0002mJ-1F for control@debbugs.gnu.org; Mon, 05 Jun 2017 06:24:12 -0400 Date: Mon, 05 Jun 2017 12:24:09 +0200 Message-Id: <87d1aienqu.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #27007 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control 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: -5.0 (-----) retitle 27007 'menu-entry' disappeared from the bootloader API From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 05 06:24:27 2017 Received: (at control) by debbugs.gnu.org; 5 Jun 2017 10:24:27 +0000 Received: from localhost ([127.0.0.1]:56512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHpBT-00066p-8C for submit@debbugs.gnu.org; Mon, 05 Jun 2017 06:24:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHpBR-00066O-Fb for control@debbugs.gnu.org; Mon, 05 Jun 2017 06:24:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHpBL-0003Xr-QB for control@debbugs.gnu.org; Mon, 05 Jun 2017 06:24:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37202) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHpBL-0003Xm-NA for control@debbugs.gnu.org; Mon, 05 Jun 2017 06:24:19 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:58842 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dHpBK-0002mk-Oy for control@debbugs.gnu.org; Mon, 05 Jun 2017 06:24:19 -0400 Date: Mon, 05 Jun 2017 12:24:16 +0200 Message-Id: <87bmq2enqn.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #27007 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control 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: -5.0 (-----) severity 27007 important From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: [PATCH 2/2] doc: Adapt to multiple bootloader support. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 05 Jun 2017 10:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149665900231842 (code B ref 27007); Mon, 05 Jun 2017 10:37:02 +0000 Received: (at 27007) by debbugs.gnu.org; 5 Jun 2017 10:36:42 +0000 Received: from localhost ([127.0.0.1]:56533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHpNJ-0008HW-QB for submit@debbugs.gnu.org; Mon, 05 Jun 2017 06:36:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52429) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHpNI-0008HJ-4J for 27007@debbugs.gnu.org; Mon, 05 Jun 2017 06:36:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHpN9-0004J2-MK for 27007@debbugs.gnu.org; Mon, 05 Jun 2017 06:36:34 -0400 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_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHpN9-0004Im-Iu; Mon, 05 Jun 2017 06:36:31 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:58848 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dHpN8-0008Jz-L6; Mon, 05 Jun 2017 06:36:31 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87shjvsquh.fsf@gnu.org> <20170531072328.16116-1-m.othacehe@gmail.com> <20170531072328.16116-3-m.othacehe@gmail.com> Date: Mon, 05 Jun 2017 12:36:28 +0200 In-Reply-To: <20170531072328.16116-3-m.othacehe@gmail.com> (Mathieu Othacehe's message of "Wed, 31 May 2017 09:23:28 +0200") Message-ID: <87zidmd8lv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Mathieu Othacehe skribis: > * doc/guix.texi (GRUB configuration): Rename to "Bootloader > configuration". > Adapt occurences of "GRUB" in other sections. Awesome, thanks for reviewing and updating all the doc! Some minor comments/suggestions: > -@node GRUB Configuration > -@subsection GRUB Configuration > +@node Bootloader Configuration > +@subsection Bootloader Configuration >=20=20 > -@cindex GRUB > +@cindex Bootloader Lowercase please. > +The operating system supports multiple bootloaders. The bootloader is > +configured using @code{bootloader-configuration} declaration. All the > +fields of this structure are bootloader agnostic except for one field, > +@code{bootloader} that indicates the bootloader to be configured and > +installed. Nitpick: please make sure to leave two spaces after an end-of-sentence period. > @c FIXME: Write documentation once it's stable. > -Themes are created using the @code{grub-theme} form, which is not > -documented yet. > +Fow now only GRUB has theme support. GRUB Themes are created using s/Themes/themes/ > +It also adds a bootloader menu entry for the new OS configuration, > +---unless @option{--no-bootloader} is passed. For GRUB, it moves > +entries for older configurations to a submenu. s/to a submenu/to a submenu, allowing you to choose an older system generation at boot time should you need it/ What happens with other bootloaders? Do we get older boot entries? It might be worth mentioning. > @item switch-generation > @cindex generations > Switch to an existing system generation. This action atomically > -switches the system profile to the specified system generation. It also > -rearranges the system's existing GRUB menu entries. It makes the menu > -entry for the specified system generation the default, and it moves the > -entries for the other generations to a submenu. The next time the > -system boots, it will use the specified system generation. > +switches the system profile to the specified system generation. It > +also rearranges the system's existing bootloader menu entries. It > +makes the menu entry for the specified system generation the default, > +and it moves the entries for the other generations to a submenu. The > +next time the system boots, it will use the specified system > +generation. What happens to the bootloader itself? Does it change the bootloader to the one that was chosen back then? Thank you! Ludo=E2=80=99. From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: [PATCH 2/2] doc: Adapt to multiple bootloader support. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 05 Jun 2017 10:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic Cc: Mathieu Othacehe , 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149665910632002 (code B ref 27007); Mon, 05 Jun 2017 10:39:02 +0000 Received: (at 27007) by debbugs.gnu.org; 5 Jun 2017 10:38:26 +0000 Received: from localhost ([127.0.0.1]:56537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHpP0-0008K6-5j for submit@debbugs.gnu.org; Mon, 05 Jun 2017 06:38:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHpOy-0008Ju-N7 for 27007@debbugs.gnu.org; Mon, 05 Jun 2017 06:38:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHpOq-0005qH-I1 for 27007@debbugs.gnu.org; Mon, 05 Jun 2017 06:38:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHpOq-0005q6-FC; Mon, 05 Jun 2017 06:38:16 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:58850 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dHpOp-0008Pm-JJ; Mon, 05 Jun 2017 06:38:16 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87shjvsquh.fsf@gnu.org> <20170531072328.16116-1-m.othacehe@gmail.com> <20170531072328.16116-3-m.othacehe@gmail.com> <20170531235706.53ab11dc@scratchpost.org> Date: Mon, 05 Jun 2017 12:38:13 +0200 In-Reply-To: <20170531235706.53ab11dc@scratchpost.org> (Danny Milosavljevic's message of "Wed, 31 May 2017 23:57:06 +0200") Message-ID: <87vaoad8iy.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Danny Milosavljevic skribis: >> +Note that all fields of @code{bootloader-configuration} are not >> +necessarily handled by all GuixSD supported bootloaders. > > Sounds weird to me. > > How about "Note that not all fields of ... are necessarily handled by eve= ry GuixSD-supported bootloader" ? Or: =E2=80=9CSome of the bootloaders do not honor every field of @code{bootloader-configuration}. For instance, the extlinux bootloader does not support themes and thus ignores the @code{theme} field.=E2=80=9D ? Ludo=E2=80=99. From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: [PATCH 2/2] doc: Adapt to multiple bootloader support. Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 05 Jun 2017 14:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Cc: Mathieu Othacehe , 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.1496671924499 (code B ref 27007); Mon, 05 Jun 2017 14:13:02 +0000 Received: (at 27007) by debbugs.gnu.org; 5 Jun 2017 14:12:04 +0000 Received: from localhost ([127.0.0.1]:57691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHsjk-00007z-L6 for submit@debbugs.gnu.org; Mon, 05 Jun 2017 10:12:04 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:43740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHsjj-00007q-52 for 27007@debbugs.gnu.org; Mon, 05 Jun 2017 10:12:03 -0400 Received: from localhost (77.118.242.17.wireless.dyn.drei.com [77.118.242.17]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 953231CA0026; Mon, 5 Jun 2017 16:12:01 +0200 (CEST) Date: Mon, 5 Jun 2017 16:11:57 +0200 From: Danny Milosavljevic Message-ID: <20170605161157.7faa9480@scratchpost.org> In-Reply-To: <87zidmd8lv.fsf@gnu.org> References: <87shjvsquh.fsf@gnu.org> <20170531072328.16116-1-m.othacehe@gmail.com> <20170531072328.16116-3-m.othacehe@gmail.com> <87zidmd8lv.fsf@gnu.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) 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: -0.7 (/) Hi Ludo, On Mon, 05 Jun 2017 12:36:28 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > What happens with other bootloaders? Do we get older boot entries? Yes, but U-Boot has no support for submenus, only one menu [1]. Extlinux-t= he-format technically does support submenus [2]. > > @item switch-generation > What happens to the bootloader itself? Does it change the bootloader to > the one that was chosen back then? No. We had been thinking about it but it's unsafe to do that. So instead switch-generation will always reuse the bootloader that was used= in the current generation. switch-generation has the same effect as manually selecting another menu en= try from the boot menu on bootup would have had - it just additionally defa= ults to that entry. On the other hand, when you run "guix system reconfigure" or "guix system i= nit": There, it will install and use the (newly) specified one. [1] See also . [2] See also . From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: [PATCH 1/2] bootloader: Use menu-entry to define custom bootloader entries. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 06 Jun 2017 08:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.14967368653925 (code B ref 27007); Tue, 06 Jun 2017 08:15:01 +0000 Received: (at 27007) by debbugs.gnu.org; 6 Jun 2017 08:14:25 +0000 Received: from localhost ([127.0.0.1]:58453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dI9dB-00011F-Mi for submit@debbugs.gnu.org; Tue, 06 Jun 2017 04:14:25 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:37312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dI9dA-000113-E8 for 27007@debbugs.gnu.org; Tue, 06 Jun 2017 04:14:24 -0400 Received: by mail-wm0-f54.google.com with SMTP id d73so43025647wma.0 for <27007@debbugs.gnu.org>; Tue, 06 Jun 2017 01:14:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=sxc2hhK6jeGqDRvT3/YS9YVjoxhGo0kBu4Kb0/gMqMo=; b=HjayIa+BUBnXOBN5laAoOByDfpELnJDpyyqNiCYTewTpo12r8V5KZYNMAiZ8rtGyY3 hw05NJqdB2RWITsVIzaZN1p/6NTBC3rAtDuW+Cr4gOv/+QwLABNWe3JgMANcwchAUGY2 79Gjpw3rb9Rmh+ExWmkiPEqU13wiASObSE18sAqruTR3ljhJnc2ZkRE5CgonuoyvqBvj bGwz06F7wD13hxNyak0uYbj+Yq0tBreNAPPdppC33pdw2/U26+d8yjb9CVZQXJ2Ul7/9 2qDXtAXW5yx/eA7o6BXf0sfcz4Njd3dy5VNzXWrdTH/hjNdhu+/vSxkFA9+FWgEZRjVe YsKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=sxc2hhK6jeGqDRvT3/YS9YVjoxhGo0kBu4Kb0/gMqMo=; b=e41C4uRB/SBPmCgDsJPzEZwJ234ek38+65nsDYRk/ZBykbWNJsJyBUraKpnErPil/o EeyikMrqranbrJBJTLSETMyi89Ri+vzseMEfYK2Tc6T5P2MGw60Fn0YQ2eqNioBFb/02 6LBcnkjPP2nY8Udg4cnLKSitgvSeHIWqWXY+N1tn5YdgDFIZBobgiMu9iH3AGaDNMnTF zF9/yNLyV9SRCzZcMEiu5l3sx8uqoGdBYIcI7iLDDHv4NekedAnWEITqhLpA1JUYKT5c MOMp6e/JCLuuhsXZtQ1Hl+E5C9OvoxqyHdS8cdbdOp9Oz1J4QGrXba/jOf0KXxkIL1iZ 43xg== X-Gm-Message-State: AODbwcBnOAyAdt2qmwA3D46rA4nJ2b+kA5E8Y6WZJ4G889WycygUNQcj toTThcI1uRddQgSb X-Received: by 10.28.30.199 with SMTP id e190mr10174019wme.96.1496736858310; Tue, 06 Jun 2017 01:14:18 -0700 (PDT) Received: from zbook ([46.218.109.88]) by smtp.gmail.com with ESMTPSA id 9sm14317631wmh.17.2017.06.06.01.14.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Jun 2017 01:14:17 -0700 (PDT) References: <87shjvsquh.fsf@gnu.org> <20170531072328.16116-1-m.othacehe@gmail.com> <20170531072328.16116-2-m.othacehe@gmail.com> <87efuyenru.fsf@gnu.org> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Mathieu Othacehe In-reply-to: <87efuyenru.fsf@gnu.org> Date: Tue, 06 Jun 2017 10:14:24 +0200 Message-ID: <86bmq1jzxb.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) 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: -0.0 (/) Hi Ludo, > Do we still need ‘device-mount-point’ now? For the dual-boot use case, > I don’t see how this would be used. Nope, you're right it's not needed in . >> + (initrd (menu-entry-initrd menu-entry)))) > > It’s weird to set ‘store-device’ and ‘store-mount-point’ here since > there’s no store (at least when defining a menu entry for another distro > or OS). Should we set them to #f? Sound ok ! > BTW, this is unrelated to this patch series, but I think ‘boot-name’ > should be renamed to ‘bootloader-name’ since that’s what it is. Ok. > Thank you for working on this! Thanks for reviewing :) Mathieu From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: [PATCH 2/2] doc: Adapt to multiple bootloader support. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 06 Jun 2017 09:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.14967408479723 (code B ref 27007); Tue, 06 Jun 2017 09:21:02 +0000 Received: (at 27007) by debbugs.gnu.org; 6 Jun 2017 09:20:47 +0000 Received: from localhost ([127.0.0.1]:58498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIAfP-0002Wl-FR for submit@debbugs.gnu.org; Tue, 06 Jun 2017 05:20:47 -0400 Received: from mail-wr0-f176.google.com ([209.85.128.176]:34384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIAfN-0002WS-OQ for 27007@debbugs.gnu.org; Tue, 06 Jun 2017 05:20:46 -0400 Received: by mail-wr0-f176.google.com with SMTP id g76so51289884wrd.1 for <27007@debbugs.gnu.org>; Tue, 06 Jun 2017 02:20:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=4zupmy/b/X2/A5IIMr4Ha7R7Xw6QGuEGbMTOR5VUAVc=; b=rqiSHuBvL5f3eoe1QltE9dvW8WXk0WoGAohNRtXbKekNc4jpbqHYcSzyILOXIf0R9T /yg7QQ6jDwBtfQrwOWVGoeL0LzDNYm8GbmwcEPzFTKOivNcGpfE656/UtfOTuBJFvt32 vLXbNr6Hw08jzUtCPPwZWK5V30swCM7qENeSJfa6ORjJskrzPq9hKPkCQLJSmpD0x5HJ gcmGfW92FQuJNcoI4sUeN8gtZD6pFxAsLU3ILsEj3aoW9feUEuo7Rg2LiUUCBH6Ya9ri 1QZBJ5iDT2w9f3eQn2jVpqyrJL1QP5GZn9f6v24YMMx9V5lKE3rAU74a5g7f5YCGlITn eFaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=4zupmy/b/X2/A5IIMr4Ha7R7Xw6QGuEGbMTOR5VUAVc=; b=kpnHjSCS1IoNvRAkbIGlQtY2vzXeBwRt72ketQR8f0jJiGIk9mbds+A/z5MZwM/ebs BdeCwWceG+NzEz1s13jAItTkf5swqdaaW7CG0MDW5Hi8IVVjnDYmsr7Iz8T6pakZZbrO PVtiq0CA3YXjZaKWp7r9qIpNTfmjSFEkjtkRVXm2/8lpKZUGRUC0XkNQmh4i7xuVBG2b 00tIZBv95dkqr3ptCeX85gKeAhu2whGUrG4azeUy1EZER7LmkolfS58bb8r50QQ/BtbG WuslWYkJzF/ak3W3JR3O9VXaU3Cu4QoDHVfZ27EL/4zyxkIKNTzcQsw+W1OQF9crA+DI aaQg== X-Gm-Message-State: AODbwcBy2aA/rDTtR+TYDJPfDmIdjjnAvfnUk7KdrcaH+elMl8RFZPPK eWFnQrK/2WXBjKRA X-Received: by 10.223.133.240 with SMTP id 45mr16445265wru.51.1496740839703; Tue, 06 Jun 2017 02:20:39 -0700 (PDT) Received: from zbook ([46.218.109.88]) by smtp.gmail.com with ESMTPSA id 9sm14503761wmh.17.2017.06.06.02.20.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Jun 2017 02:20:38 -0700 (PDT) References: <87shjvsquh.fsf@gnu.org> <20170531072328.16116-1-m.othacehe@gmail.com> <20170531072328.16116-3-m.othacehe@gmail.com> <87zidmd8lv.fsf@gnu.org> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Mathieu Othacehe In-reply-to: <87zidmd8lv.fsf@gnu.org> Date: Tue, 06 Jun 2017 11:20:45 +0200 Message-ID: <86a85ljwuq.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.8 (--) 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.8 (--) > What happens with other bootloaders? Do we get older boot entries? It > might be worth mentioning. On extlinux we also get older boot entries but not in a submenu. I plan to add submenu support in a new serie. I'll mention that this is true for all supported bootloaders when this will be done. > What happens to the bootloader itself? Does it change the bootloader to > the one that was chosen back then? Nope, as Danny stated, the bootloader in not reinstalled, but the conf file is updated. I'll add this info to the doc. Thanks, Mathieu From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: [PATCH 2/2] doc: Adapt to multiple bootloader support. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 06 Jun 2017 22:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic Cc: Mathieu Othacehe , 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.14967895453505 (code B ref 27007); Tue, 06 Jun 2017 22:53:01 +0000 Received: (at 27007) by debbugs.gnu.org; 6 Jun 2017 22:52:25 +0000 Received: from localhost ([127.0.0.1]:59989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dINKo-0000uP-3y for submit@debbugs.gnu.org; Tue, 06 Jun 2017 18:52:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dINKi-0000u5-Hh for 27007@debbugs.gnu.org; Tue, 06 Jun 2017 18:52:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dINKY-0004Vw-CJ for 27007@debbugs.gnu.org; Tue, 06 Jun 2017 18:52:11 -0400 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,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dINKY-0004Vo-93; Tue, 06 Jun 2017 18:52:06 -0400 Received: from astlambert-651-1-208-19.w92-151.abo.wanadoo.fr ([92.151.64.19]:37524 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dINKX-0000X4-H1; Tue, 06 Jun 2017 18:52:05 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87shjvsquh.fsf@gnu.org> <20170531072328.16116-1-m.othacehe@gmail.com> <20170531072328.16116-3-m.othacehe@gmail.com> <87zidmd8lv.fsf@gnu.org> <20170605161157.7faa9480@scratchpost.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 19 Prairial an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Wed, 07 Jun 2017 00:51:56 +0200 In-Reply-To: <20170605161157.7faa9480@scratchpost.org> (Danny Milosavljevic's message of "Mon, 5 Jun 2017 16:11:57 +0200") Message-ID: <87efuw91bn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Hi Danny, Danny Milosavljevic skribis: > On Mon, 05 Jun 2017 12:36:28 +0200 > ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > >> What happens with other bootloaders? Do we get older boot entries? > > Yes, but U-Boot has no support for submenus, only one menu [1]. Extlinux= -the-format technically does support submenus [2]. OK. >> > @item switch-generation > >> What happens to the bootloader itself? Does it change the bootloader to >> the one that was chosen back then? > > No. We had been thinking about it but it's unsafe to do that. > > So instead switch-generation will always reuse the bootloader that was us= ed in the current generation. > > switch-generation has the same effect as manually selecting another menu = entry from the boot menu on bootup would have had - it just additionally de= faults to that entry. > > On the other hand, when you run "guix system reconfigure" or "guix system= init": There, it will install and use the (newly) specified one. OK, got it, thanks for clarifying! I think it would make sense to be explicit about this in the manual. Ludo=E2=80=99. From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: [PATCH v2 1/2] bootloader: Use menu-entry to define custom bootloader entries. References: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> In-Reply-To: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 08 Jun 2017 10:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 27007@debbugs.gnu.org Cc: Mathieu Othacehe Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.14969194713442 (code B ref 27007); Thu, 08 Jun 2017 10:58:01 +0000 Received: (at 27007) by debbugs.gnu.org; 8 Jun 2017 10:57:51 +0000 Received: from localhost ([127.0.0.1]:34143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIv8Q-0000tS-UZ for submit@debbugs.gnu.org; Thu, 08 Jun 2017 06:57:51 -0400 Received: from mail-wr0-f178.google.com ([209.85.128.178]:33988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIv8P-0000tD-6O for 27007@debbugs.gnu.org; Thu, 08 Jun 2017 06:57:49 -0400 Received: by mail-wr0-f178.google.com with SMTP id g76so16862092wrd.1 for <27007@debbugs.gnu.org>; Thu, 08 Jun 2017 03:57:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Uy0og3UY+BvQSW3FfR9W2zLPXqbiVVrX5yS1/JWFdI4=; b=q/BXCorZEpUmNnheCfzfko3UsrewJ6n+VW0ZA4Tjm253Q7w4REknObKQanFexHM2vo mk8Lb8jwMTtgndsz5G1UNdzsoNgmmqGtjYhUfmOi76pzX+lniQEHiGebKpeqY8j8+kfy 42Rni28KTrem1S6B1O0Fj4uFBXwqK5YuKvR/UhQY7DJNrB34sbBtTj64rXHD1GKcZ/pR lJ8FMp/hQubLhfve0VbwiPZ3/a4dYPXh/8YphAswZ+b45OQTcn0lhTiROMfuL5DaF/+K yGV0HPhb4EjKA9ER1xBLQwwjQ1HYyJINirOTj+Xz6Zw5J5Aehej13KZ26NcACBdp8QUD 5tjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Uy0og3UY+BvQSW3FfR9W2zLPXqbiVVrX5yS1/JWFdI4=; b=AvyI2SXzQHyYOmQzbqMaWRLKZ+D+xhKP5HbiD835+NXciORbje0zNhDDrH86gEKXrG QswG+mOX61V1JCf3QUZ+cPGt7zCzWSpd2f0IkO/3VX5kIlUMB5DUgyo09y4/lUp23b1h kl+NFKmmb8C43VDRkL4t9VuzKDMFxKmh2e0fNyHLZA64mrO+26zZPBncq4BqQsaSMplU FK8/TK7AnyRFLgDUERt29rt/uVncztMDjSAEBe02QWwx1br2HP17Ps1su7bTr6+gr6ow 1cVp2VaPqdIbCuHY7kislgYJ72UfQREwLp8S01XJcL0X7qNue0zfFt51tTkExnrD3Iy9 Z7SQ== X-Gm-Message-State: AODbwcCwyZiwQyj/jiRaTpYXSBn/lfih/qZojiERymxuYRRssey0sgEn IZwCZuotqtX0SBbC X-Received: by 10.223.134.97 with SMTP id 30mr25269137wrw.161.1496919462935; Thu, 08 Jun 2017 03:57:42 -0700 (PDT) Received: from cervin.8.8.8.8 (85-169-37-239.rev.numericable.fr. [85.169.37.239]) by smtp.gmail.com with ESMTPSA id t27sm4391094wra.35.2017.06.08.03.57.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Jun 2017 03:57:42 -0700 (PDT) From: Mathieu Othacehe Date: Thu, 8 Jun 2017 12:57:37 +0200 Message-Id: <20170608105738.14445-1-m.othacehe@gmail.com> X-Mailer: git-send-email 2.13.0 X-Spam-Score: -1.0 (-) 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: -1.0 (-) * gnu/bootloader.scm (): New variable. Export associated getters, This record is extracted from grub module. * gnu/bootloader/extlinux.scm (extlinux-configuration-file): Use menu-entry->boot-parameters to convert menu-entry records to boot-parameters. * gnu/bootloader/grub.scm (): Remove. (boot-parameters->menu-entry): Remove. (grub-configuration-file): Use boot-parameters to create configuration entries. * gnu/system.scm (menu-entry->boot-parameters): New exported procedure. --- gnu/bootloader.scm | 26 ++++++++++++++- gnu/bootloader/extlinux.scm | 3 +- gnu/bootloader/grub.scm | 77 ++++++++++++++++++--------------------------- gnu/system.scm | 14 +++++++++ 4 files changed, 71 insertions(+), 49 deletions(-) diff --git a/gnu/bootloader.scm b/gnu/bootloader.scm index 4e77974d3..d5fcf30f0 100644 --- a/gnu/bootloader.scm +++ b/gnu/bootloader.scm @@ -23,7 +23,15 @@ #:use-module (guix records) #:use-module (guix ui) #:use-module (srfi srfi-1) - #:export (bootloader + #:export (menu-entry + menu-entry? + menu-entry-label + menu-entry-device + menu-entry-linux + menu-entry-linux-arguments + menu-entry-initrd + + bootloader bootloader? bootloader-name bootloader-package @@ -50,6 +58,22 @@ ;;; +;;; Menu-entry record. +;;; + +(define-record-type* + menu-entry make-menu-entry + menu-entry? + (label menu-entry-label) + (device menu-entry-device ; file system uuid, label, or #f + (default #f)) + (linux menu-entry-linux) + (linux-arguments menu-entry-linux-arguments + (default '())) ; list of string-valued gexps + (initrd menu-entry-initrd)) ; file name of the initrd as a gexp + + +;;; ;;; Bootloader record. ;;; diff --git a/gnu/bootloader/extlinux.scm b/gnu/bootloader/extlinux.scm index 67b8815d4..0a1263aed 100644 --- a/gnu/bootloader/extlinux.scm +++ b/gnu/bootloader/extlinux.scm @@ -37,7 +37,8 @@ corresponding to old generations of the system." (define all-entries - (append entries (bootloader-configuration-menu-entries config))) + (append entries (map menu-entry->boot-parameters + (bootloader-configuration-menu-entries config)))) (define (boot-parameters->gexp params) (let ((label (boot-parameters-label params)) diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm index 49616b716..f1cc3324d 100644 --- a/gnu/bootloader/grub.scm +++ b/gnu/bootloader/grub.scm @@ -66,12 +66,15 @@ (define (strip-mount-point mount-point file) "Strip MOUNT-POINT from FILE, which is a gexp or other lowerable object denoting a file name." - (if (string=? mount-point "/") - file - #~(let ((file #$file)) - (if (string-prefix? #$mount-point file) - (substring #$file #$(string-length mount-point)) - file)))) + (match mount-point + ((? string? mount-point) + (if (string=? mount-point "/") + file + #~(let ((file #$file)) + (if (string-prefix? #$mount-point file) + (substring #$file #$(string-length mount-point)) + file)))) + (#f file))) (define-record-type* grub-image make-grub-image @@ -103,19 +106,6 @@ denoting a file name." (color-highlight '((fg . yellow) (bg . black))) (color-normal '((fg . light-gray) (bg . black))))) ;XXX: #x303030 -(define-record-type* - menu-entry make-menu-entry - menu-entry? - (label menu-entry-label) - (device menu-entry-device ; file system uuid, label, or #f - (default #f)) - (device-mount-point menu-entry-device-mount-point - (default "/")) - (linux menu-entry-linux) - (linux-arguments menu-entry-linux-arguments - (default '())) ; list of string-valued gexps - (initrd menu-entry-initrd)) ; file name of the initrd as a gexp - ;;; ;;; Background image & themes. @@ -312,16 +302,6 @@ code." (#f #~(format #f "search --file --set ~a" #$file))))) -(define (boot-parameters->menu-entry conf) - "Convert a instance to a corresponding ." - (menu-entry - (label (boot-parameters-label conf)) - (device (boot-parameters-store-device conf)) - (device-mount-point (boot-parameters-store-mount-point conf)) - (linux (boot-parameters-kernel conf)) - (linux-arguments (boot-parameters-kernel-arguments conf)) - (initrd (boot-parameters-initrd conf)))) - (define* (grub-configuration-file config entries #:key (system (%current-system)) @@ -331,33 +311,36 @@ code." STORE-FS, a object. OLD-ENTRIES is taken to be a list of menu entries corresponding to old generations of the system." (define all-entries - (map boot-parameters->menu-entry - (append entries - (bootloader-configuration-menu-entries config)))) - - (define entry->gexp - (match-lambda - (($ label device device-mount-point - linux arguments initrd) + (append entries (map menu-entry->boot-parameters + (bootloader-configuration-menu-entries config)))) + + (define (boot-parameters->gexp params) + (let ((device (boot-parameters-store-device params)) + (device-mount-point (boot-parameters-store-mount-point params)) + (label (boot-parameters-label params)) + (kernel (boot-parameters-kernel params)) + (arguments (boot-parameters-kernel-arguments params)) + (initrd (boot-parameters-initrd params))) ;; Here DEVICE is the store and DEVICE-MOUNT-POINT is its mount point. - ;; Use the right file names for LINUX and INITRD in case + ;; Use the right file names for KERNEL and INITRD in case ;; DEVICE-MOUNT-POINT is not "/", meaning that the store is on a ;; separate partition. - (let ((linux (strip-mount-point device-mount-point linux)) - (initrd (strip-mount-point device-mount-point initrd))) + (let ((kernel (strip-mount-point device-mount-point kernel)) + (initrd (strip-mount-point device-mount-point initrd))) #~(format port "menuentry ~s { ~a linux ~a ~a initrd ~a }~%" #$label - #$(grub-root-search device linux) - #$linux (string-join (list #$@arguments)) - #$initrd))))) + #$(grub-root-search device kernel) + #$kernel (string-join (list #$@arguments)) + #$initrd)))) (mlet %store-monad ((sugar (eye-candy config - (menu-entry-device (first all-entries)) - (menu-entry-device-mount-point + (boot-parameters-store-device + (first all-entries)) + (boot-parameters-store-mount-point (first all-entries)) #:system system #:port #~port))) @@ -374,12 +357,12 @@ set default=~a set timeout=~a~%" #$(bootloader-configuration-default-entry config) #$(bootloader-configuration-timeout config)) - #$@(map entry->gexp all-entries) + #$@(map boot-parameters->gexp all-entries) #$@(if (pair? old-entries) #~((format port " submenu \"GNU system, old configurations...\" {~%") - #$@(map entry->gexp (map boot-parameters->menu-entry old-entries)) + #$@(map boot-parameters->gexp old-entries) (format port "}~%")) #~())))) diff --git a/gnu/system.scm b/gnu/system.scm index 0076f2fcb..674c6f85b 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -112,6 +112,7 @@ boot-parameters-initrd read-boot-parameters read-boot-parameters-file + menu-entry->boot-parameters local-host-aliases %setuid-programs @@ -299,6 +300,19 @@ The object has its kernel-arguments extended in order to make it bootable." system root-device))) #f))) + +(define (menu-entry->boot-parameters menu-entry) + "Convert a instance to a corresponding ." + (boot-parameters + (label (menu-entry-label menu-entry)) + (root-device #f) + (boot-name 'custom) + (store-device #f) + (store-mount-point #f) + (kernel (menu-entry-linux menu-entry)) + (kernel-arguments (menu-entry-linux-arguments menu-entry)) + (initrd (menu-entry-initrd menu-entry)))) + ;;; ;;; Services. -- 2.13.0 From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: [PATCH v2 2/2] doc: Adapt to multiple bootloader support. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 08 Jun 2017 10:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 27007@debbugs.gnu.org Cc: Mathieu Othacehe Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.14969194743459 (code B ref 27007); Thu, 08 Jun 2017 10:58:02 +0000 Received: (at 27007) by debbugs.gnu.org; 8 Jun 2017 10:57:54 +0000 Received: from localhost ([127.0.0.1]:34146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIv8T-0000ti-Bp for submit@debbugs.gnu.org; Thu, 08 Jun 2017 06:57:53 -0400 Received: from mail-wr0-f169.google.com ([209.85.128.169]:35513) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIv8R-0000tI-VJ for 27007@debbugs.gnu.org; Thu, 08 Jun 2017 06:57:52 -0400 Received: by mail-wr0-f169.google.com with SMTP id q97so16910935wrb.2 for <27007@debbugs.gnu.org>; Thu, 08 Jun 2017 03:57:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=rCtfA89jRRJVxHejc33IWIZyhVxaPDAWdF3y7celJrA=; b=nKFhuo8aVMu3kd5npETqdggRKh0lEAiNwQhBP3t0UXUMmLVy+0PSExqBmxz1AP4MhS t5FV09kdmtU0ApBLwOAyNDHIl+/62+UyM1I6B5yDLXvX9Prqvtl0MLBYhuqDlEfToDQD e7Ci0SbO2oOVOu52eopBDjXCVianH5TKXhNWRHR0gvO9XNT2ONdJM/xlWgs7MrjplzZa VDkc+3IJ1JDC0dd9aIZBx5ueF8sxyhwik2iOrj3qZGvVy3FaSSFipinLo+93xntj/YxL cvBOe7fY/2CNtFfsKZnTxPYUWpNMdiVFuxfSIANswORmKr8gyPcWfqs27V2mESRDoWUX 7F/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=rCtfA89jRRJVxHejc33IWIZyhVxaPDAWdF3y7celJrA=; b=VzMe4+LoF8N2HkhQNYvyoIIuomXTj2uhGSszRv0ay9G85DY2/skgFThNl7qFdAaRN9 Ekq3IrcYki7NboUXY2WswB0ruDD10agwXKieUnp9pLcmfEgpZPtus+dwUs/zQutyrMpw 63VXcp8roE30PzG3iBkXPsVMlEsiP7rHsSzzA5yXnPuMwQNc1XgoqmYiryXDf2w2Z5pB Y8b9d18gJfqvY+juhtWsVdhD4zD1uee5EqxnKx/USgC85473CBPK1sBY+bEzj/aXy+YK YZ7Q+mkOCvcNepFFmCxsIA3QOt/83GnQVWaAoTHaP4RNgHv+brJP3LJXUfs/RXB0NHZe NPJQ== X-Gm-Message-State: AODbwcBt7F1GqLO6rAyEeFbFDxhonAcHHCfwM6NFZAw5ypcrTr8LQeFY RI9F7MykjUFoymyW X-Received: by 10.223.170.153 with SMTP id h25mr20618543wrc.140.1496919465831; Thu, 08 Jun 2017 03:57:45 -0700 (PDT) Received: from cervin.8.8.8.8 (85-169-37-239.rev.numericable.fr. [85.169.37.239]) by smtp.gmail.com with ESMTPSA id t27sm4391094wra.35.2017.06.08.03.57.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Jun 2017 03:57:45 -0700 (PDT) From: Mathieu Othacehe Date: Thu, 8 Jun 2017 12:57:38 +0200 Message-Id: <20170608105738.14445-2-m.othacehe@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170608105738.14445-1-m.othacehe@gmail.com> References: <20170608105738.14445-1-m.othacehe@gmail.com> X-Spam-Score: -1.0 (-) 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: -1.0 (-) * doc/guix.texi (GRUB configuration): Rename to "Bootloader configuration". Remove device-mount-point field from menu-entry description. Adapt occurences of "GRUB" in other sections. --- doc/guix.texi | 177 ++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 98 insertions(+), 79 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index f69c84dea..00bf24d3f 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -199,7 +199,7 @@ System Configuration * X.509 Certificates:: Authenticating HTTPS servers. * Name Service Switch:: Configuring libc's name service switch. * Initial RAM Disk:: Linux-Libre bootstrapping. -* GRUB Configuration:: Configuring the boot loader. +* Bootloader Configuration:: Configuring the boot loader. * Invoking guix system:: Instantiating a system configuration. * Running GuixSD in a VM:: How to run GuixSD in a virtual machine. * Defining Services:: Adding new service definitions. @@ -7797,7 +7797,7 @@ instance to support new system services. * X.509 Certificates:: Authenticating HTTPS servers. * Name Service Switch:: Configuring libc's name service switch. * Initial RAM Disk:: Linux-Libre bootstrapping. -* GRUB Configuration:: Configuring the boot loader. +* Bootloader Configuration:: Configuring the boot loader. * Invoking guix system:: Instantiating a system configuration. * Running GuixSD in a VM:: How to run GuixSD in a virtual machine. * Defining Services:: Adding new service definitions. @@ -7980,7 +7980,7 @@ system, should you ever need to. Speaking of roll-back, each time you run @command{guix system reconfigure}, a new @dfn{generation} of the system is created---without modifying or deleting previous generations. Old system generations get -an entry in the GRUB boot menu, allowing you to boot them in case +an entry in the bootloader boot menu, allowing you to boot them in case something went wrong with the latest generation. Reassuring, no? The @command{guix system list-generations} command lists the system generations available on disk. It is also possible to roll back the @@ -8036,7 +8036,7 @@ List of strings or gexps representing additional arguments to pass on the command-line of the kernel---e.g., @code{("console=ttyS0")}. @item @code{bootloader} -The system bootloader configuration object. @xref{GRUB Configuration}. +The system bootloader configuration object. @xref{Bootloader Configuration}. @item @code{initrd} (default: @code{base-initrd}) @cindex initrd @@ -15711,32 +15711,52 @@ upon booting. All the derivations referenced by @var{exp} are automatically copied to the initrd. @end deffn -@node GRUB Configuration -@subsection GRUB Configuration +@node Bootloader Configuration +@subsection Bootloader Configuration -@cindex GRUB +@cindex bootloader @cindex boot loader -The operating system uses GNU@tie{}GRUB as its boot loader -(@pxref{Overview, overview of GRUB,, grub, GNU GRUB Manual}). It is -configured using a @code{grub-configuration} declaration. This data type -is exported by the @code{(gnu system grub)} module and described below. +The operating system supports multiple bootloaders. The bootloader is +configured using @code{bootloader-configuration} declaration. All the +fields of this structure are bootloader agnostic except for one field, +@code{bootloader} that indicates the bootloader to be configured and +installed. -@deftp {Data Type} grub-configuration -The type of a GRUB configuration declaration. +Some of the bootloaders do not honor every field of +@code{bootloader-configuration}. For instance, the extlinux +bootloader does not support themes and thus ignores the @code{theme} +field. + +@deftp {Data Type} bootloader-configuration +The type of a bootloader configuration declaration. @table @asis +@item @code{bootloader} +@cindex EFI, bootloader +@cindex UEFI, bootloader +@cindex BIOS, bootloader +The bootloader to use, as a @code{bootloader} object. For now +@code{grub-bootloader}, @code{grub-efi-bootloader} and +@code{extlinux-bootloader} are supported. @code{grub-efi-bootloader}, +allows to boot on modern systems using the @dfn{Unified Extensible +Firmware Interface} (UEFI). + +Available bootloaders are described in @code{(gnu bootloader @dots{})} +modules. + @item @code{device} This is a string denoting the boot device. It must be a device name -understood by the @command{grub-install} command, such as -@code{/dev/sda} or @code{(hd0)} (@pxref{Invoking grub-install,,, grub, +understood by the bootloader @command{installer} command, such as +@code{/dev/sda} or @code{(hd0)} (for GRUB, @pxref{Invoking grub-install,,, grub, GNU GRUB Manual}). @item @code{menu-entries} (default: @code{()}) A possibly empty list of @code{menu-entry} objects (see below), denoting -entries to appear in the GRUB boot menu, in addition to the current +entries to appear in the bootloader menu, in addition to the current system entry and the entry pointing to previous system generations. +generations. @item @code{default-entry} (default: @code{0}) The index of the default boot menu entry. Index 0 is for the entry of the @@ -15746,42 +15766,37 @@ current system. The number of seconds to wait for keyboard input before booting. Set to 0 to boot immediately, and to -1 to wait indefinitely. -@item @code{theme} (default: @var{%default-theme}) -The @code{grub-theme} object describing the theme to use. - -@item @code{grub} (default: @code{grub}) -@cindex EFI, bootloader -@cindex UEFI, bootloader -@cindex BIOS, bootloader -The GRUB package to use. Currently either @code{grub}, for ``legacy'' -x86 BIOS systems, or @code{grub-efi}, for modern systems using the -@dfn{Unified Extensible Firmware Interface} (UEFI). +@item @code{theme} (default: @var{#f}) +The bootloader theme object describing the theme to use. If no theme +is provided, some bootloaders might use a default theme, that's true +for GRUB. @item @code{terminal-outputs} (default: @code{'gfxterm}) -The output terminals used for the GRUB boot menu, as a list of symbols. -These values are accepted: @code{console}, @code{serial}, -@code{serial_@{0-3@}}, @code{gfxterm}, @code{vga_text}, @code{mda_text}, -@code{morse}, and @code{pkmodem}. This field corresponds to the GRUB -variable GRUB_TERMINAL_OUTPUT (@pxref{Simple configuration,,, grub,GNU -GRUB manual}). +The output terminals used for the bootloader boot menu, as a list of +symbols. GRUB accepts the values: @code{console}, @code{serial}, +@code{serial_@{0-3@}}, @code{gfxterm}, @code{vga_text}, +@code{mda_text}, @code{morse}, and @code{pkmodem}. This field +corresponds to the GRUB variable GRUB_TERMINAL_OUTPUT (@pxref{Simple +configuration,,, grub,GNU GRUB manual}). @item @code{terminal-inputs} (default: @code{'()}) -The input terminals used for the GRUB boot menu, as a list of symbols. -The default is the native platform terminal as determined by GRUB at -run-time. These values are accepted: @code{console}, @code{serial}, -@code{serial_@{0-3@}}, @code{at_keyboard}, and @code{usb_keyboard}. -This field corresponds to the GRUB variable GRUB_TERMINAL_INPUT -(@pxref{Simple configuration,,, grub,GNU GRUB manual}). +The input terminals used for the bootloader boot menu, as a list of +symbols. For GRUB, the default is the native platform terminal as +determined at run-time. GRUB accepts the values: @code{console}, +@code{serial}, @code{serial_@{0-3@}}, @code{at_keyboard}, and +@code{usb_keyboard}. This field corresponds to the GRUB variable +GRUB_TERMINAL_INPUT (@pxref{Simple configuration,,, grub,GNU GRUB +manual}). @item @code{serial-unit} (default: @code{#f}) -The serial unit used by GRUB, as an integer from 0 to 3. The default -value is chosen by GRUB at run-time; currently GRUB chooses 0, which +The serial unit used by the bootloader, as an integer from 0 to 3. +For GRUB it is choosen at run-time; currently GRUB chooses 0, which corresponds to COM1 (@pxref{Serial terminal,,, grub,GNU GRUB manual}). @item @code{serial-speed} (default: @code{#f}) -The speed of the serial interface, as an integer. The default value is -chosen by GRUB at run-time; currently GRUB chooses 9600@tie{}bps -(@pxref{Serial terminal,,, grub,GNU GRUB manual}). +The speed of the serial interface, as an integer. For GRUB, the +default value is chosen at run-time; currently GRUB chooses +9600@tie{}bps (@pxref{Serial terminal,,, grub,GNU GRUB manual}). @end table @end deftp @@ -15805,7 +15820,7 @@ along these lines: Details below. @deftp {Data Type} menu-entry -The type of an entry in the GRUB boot menu. +The type of an entry in the bootloader menu. @table @asis @@ -15819,9 +15834,9 @@ The Linux kernel image to boot, for example: (file-append linux-libre "/bzImage") @end example -It is also possible to specify a device explicitly in the file path -using GRUB's device naming convention (@pxref{Naming convention,,, grub, -GNU GRUB manual}), for example: +For GRUB, it is also possible to specify a device explicitly in the +file path using GRUB's device naming convention (@pxref{Naming +convention,,, grub, GNU GRUB manual}), for example: @example "(hd0,msdos1)/boot/vmlinuz" @@ -15837,33 +15852,30 @@ The list of extra Linux kernel command-line arguments---e.g., @item @code{initrd} A G-Expression or string denoting the file name of the initial RAM disk to use (@pxref{G-Expressions}). - @item @code{device} (default: @code{#f}) -The device where the kernel and initrd are to be found---i.e., the GRUB +The device where the kernel and initrd are to be found---i.e., for GRUB, @dfn{root} for this menu entry (@pxref{root,,, grub, GNU GRUB manual}). This may be a file system label (a string), a file system UUID (a -bytevector, @pxref{File Systems}), or @code{#f}, in which case GRUB will -search the device containing the file specified by the @code{linux} -field (@pxref{search,,, grub, GNU GRUB manual}). It must @emph{not} be -an OS device name such as @file{/dev/sda1}. - -@item @code{device-mount-point} (default: @code{"/"}) -The mount point of the above device on the system. You probably do not -need to change the default value. GuixSD uses it to strip the prefix of -store file names for systems where @file{/gnu} or @file{/gnu/store} is -on a separate partition. +bytevector, @pxref{File Systems}), or @code{#f}, in which case +the bootloader will search the device containing the file specified by +the @code{linux} field (@pxref{search,,, grub, GNU GRUB manual}). It +must @emph{not} be an OS device name such as @file{/dev/sda1}. @end table @end deftp @c FIXME: Write documentation once it's stable. -Themes are created using the @code{grub-theme} form, which is not -documented yet. +Fow now only GRUB has theme support. GRUB themes are created using +the @code{grub-theme} form, which is not documented yet. @defvr {Scheme Variable} %default-theme -This is the default GRUB theme used by the operating system, with a -fancy background image displaying the GNU and Guix logos. +This is the default GRUB theme used by the operating system if no +@code{theme} field is specified in @code{bootloader-configuration} +record. + +It comes with a fancy background image displaying the GNU and Guix +logos. @end defvr @@ -15903,9 +15915,10 @@ list-generations}). If that generation already exists, it will be overwritten. This behavior mirrors that of @command{guix package} (@pxref{Invoking guix package}). -It also adds a GRUB menu entry for the new OS configuration, and moves -entries for older configurations to a submenu---unless -@option{--no-bootloader} is passed. +It also adds a bootloader menu entry for the new OS configuration, +---unless @option{--no-bootloader} is passed. For GRUB, it moves +entries for older configurations to a submenu, allowing you to choose +an older system generation at boot time should you need it. @quotation Note @c The paragraph below refers to the problem discussed at @@ -15919,11 +15932,16 @@ once @command{reconfigure} has completed. @item switch-generation @cindex generations Switch to an existing system generation. This action atomically -switches the system profile to the specified system generation. It also -rearranges the system's existing GRUB menu entries. It makes the menu -entry for the specified system generation the default, and it moves the -entries for the other generations to a submenu. The next time the -system boots, it will use the specified system generation. +switches the system profile to the specified system generation. It +also rearranges the system's existing bootloader menu entries. It +makes the menu entry for the specified system generation the default, +and it moves the entries for the other generatiors to a submenu, if +supported by the bootloader being used. The next time the system +boots, it will use the specified system generation. + +The bootloader itself is not being reinstalled when using this +command. Thus, the installed bootloader is used with an updated +configuration file. The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to system @@ -15945,11 +15963,11 @@ guix system switch-generation -- -1 @end example Currently, the effect of invoking this action is @emph{only} to switch -the system profile to an existing generation and rearrange the GRUB menu -entries. To actually start using the target system generation, you must -reboot after running this action. In the future, it will be updated to -do the same things as @command{reconfigure}, like activating and -deactivating services. +the system profile to an existing generation and rearrange the +bootloader menu entries. To actually start using the target system +generation, you must reboot after running this action. In the future, +it will be updated to do the same things as @command{reconfigure}, +like activating and deactivating services. This action will fail if the specified generation does not exist. @@ -15984,8 +16002,9 @@ files, packages, and so on. It also creates other essential files needed for the system to operate correctly---e.g., the @file{/etc}, @file{/var}, and @file{/run} directories, and the @file{/bin/sh} file. -This command also installs GRUB on the device specified in -@file{my-os-config}, unless the @option{--no-bootloader} option was passed. +This command also installs bootloader on the device specified in +@file{my-os-config}, unless the @option{--no-bootloader} option was +passed. @item vm @cindex virtual machine @@ -16125,7 +16144,7 @@ build users of the daemon (@pxref{Build Environment Setup}). Once you have built, configured, re-configured, and re-re-configured your GuixSD installation, you may find it useful to list the operating system generations available on disk---and that you can choose from the -GRUB boot menu: +bootloader boot menu: @table @code -- 2.13.0 From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: [PATCH 2/2] doc: Adapt to multiple bootloader support. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 08 Jun 2017 11:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Danny Milosavljevic , 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.14969195503803 (code B ref 27007); Thu, 08 Jun 2017 11:00:02 +0000 Received: (at 27007) by debbugs.gnu.org; 8 Jun 2017 10:59:10 +0000 Received: from localhost ([127.0.0.1]:34155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIv9i-0000zH-1u for submit@debbugs.gnu.org; Thu, 08 Jun 2017 06:59:10 -0400 Received: from mail-wm0-f46.google.com ([74.125.82.46]:34340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIv9f-0000xP-8f for 27007@debbugs.gnu.org; Thu, 08 Jun 2017 06:59:08 -0400 Received: by mail-wm0-f46.google.com with SMTP id d64so13520775wmf.1 for <27007@debbugs.gnu.org>; Thu, 08 Jun 2017 03:59:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=fjqqZW/PbDV9dunQdhCM6FBiSloR6SsX8uS//XY7xVw=; b=Z9pYvgHDpls6GTovQskfI9SLY3KBWOeT0QSMd9NRubOF7O2BT/xe9hKJbr4bDNW4ox RY8uN+nDihNAwnaazCCiqgAHxzSJePUpvoajz59NLLu452pPvWa43Dx0sonGWf/IeJm8 vcI5YoRTdwG1ljNpRjSJLaFvdy2jeSZRSX0xMqbEf6NoQjA4ZN8RywLlEwHpCRLVVOmm X0EjEuxZGpaerVsIyoPqWoHr5O/pfkinmawwZlSdZv6xkY3lT2seHx7ixvqlKkCuI+YP ghVW2Q84fwDuHZuYNMsvE0EWI5opFPFH6PFEKAzVEkJqA6rPLW1NGmB0nd93K0Mw7Ne/ u1iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=fjqqZW/PbDV9dunQdhCM6FBiSloR6SsX8uS//XY7xVw=; b=fVf3fJAsvL6aQkvrSFSmiIAdPnG8/985tNx+STK2Siixe6QHe7PXT/ZZFkk1pA6mMu xPw5Ph1uZRRi9SnqfiVU8Iz6zBTnUBPVqemRa1ZMuHK5CvURr2u3cwOukTA0YBygXKqa tv9o88NEN6wXsiaAmIW+hd+A7VZHJPBH3f/ZrVERys4lPQs1WlDd/xdCIFoVJWZO5apA S6GhHhqIETSXhieGvfzZ2tYM2BuO34Q0rRdruksj0mHUpVImAYLbjFAx3UKKVDHF/Lrm 5TbDL9ebRlOUSrjkqfo4sn6v3I1cTHs/f07dhJ4QfwRhUubO117PXcYkJVYqo0JHF+CF aXpw== X-Gm-Message-State: AODbwcBybi1MsBPdwfkaplujNuA6gXyOxBmVyi71ZSCs3oJDzeZZ4QGH sd6IqP2f+ETV4v9E X-Received: by 10.28.206.67 with SMTP id e64mr3121115wmg.104.1496919541321; Thu, 08 Jun 2017 03:59:01 -0700 (PDT) Received: from zbook ([46.218.109.88]) by smtp.gmail.com with ESMTPSA id s13sm5629527wma.21.2017.06.08.03.59.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Jun 2017 03:59:00 -0700 (PDT) References: <87shjvsquh.fsf@gnu.org> <20170531072328.16116-1-m.othacehe@gmail.com> <20170531072328.16116-3-m.othacehe@gmail.com> <87zidmd8lv.fsf@gnu.org> <20170605161157.7faa9480@scratchpost.org> <87efuw91bn.fsf@gnu.org> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Mathieu Othacehe In-reply-to: <87efuw91bn.fsf@gnu.org> Date: Thu, 08 Jun 2017 12:59:06 +0200 Message-ID: <86vao6iw3p.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) 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: -0.0 (/) Hi, Just sent a v2 addressing your remarks ! Thanks, Mathieu > I think it would make sense to be explicit about this in the manual. > > Ludo’. From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: [PATCH v2 1/2] bootloader: Use menu-entry to define custom bootloader entries. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 08 Jun 2017 12:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149692537719350 (code B ref 27007); Thu, 08 Jun 2017 12:37:02 +0000 Received: (at 27007) by debbugs.gnu.org; 8 Jun 2017 12:36:17 +0000 Received: from localhost ([127.0.0.1]:34218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIwfh-000522-Kg for submit@debbugs.gnu.org; Thu, 08 Jun 2017 08:36:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIwfg-00051q-8O for 27007@debbugs.gnu.org; Thu, 08 Jun 2017 08:36:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIwfV-00019e-AC for 27007@debbugs.gnu.org; Thu, 08 Jun 2017 08:36:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIwfV-00019Z-0X; Thu, 08 Jun 2017 08:36:05 -0400 Received: from wifi-eduroam-161098.inria.fr ([128.93.161.98]:46020 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dIwfU-0005ti-8s; Thu, 08 Jun 2017 08:36:04 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> <20170608105738.14445-1-m.othacehe@gmail.com> Date: Thu, 08 Jun 2017 14:36:00 +0200 In-Reply-To: <20170608105738.14445-1-m.othacehe@gmail.com> (Mathieu Othacehe's message of "Thu, 8 Jun 2017 12:57:37 +0200") Message-ID: <87r2yuwtan.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Hi! Mathieu Othacehe skribis: > * gnu/bootloader.scm (): New variable. Export associated gett= ers, > This record is extracted from grub module. > * gnu/bootloader/extlinux.scm (extlinux-configuration-file): Use > menu-entry->boot-parameters to convert menu-entry records to > boot-parameters. > * gnu/bootloader/grub.scm (): Remove. > (boot-parameters->menu-entry): Remove. > (grub-configuration-file): Use boot-parameters to create configuration > entries. > * gnu/system.scm (menu-entry->boot-parameters): New exported procedure. LGTM! Ludo=E2=80=99. From unknown Sat Aug 16 19:20:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27007: [PATCH v2 2/2] doc: Adapt to multiple bootloader support. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 08 Jun 2017 12:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27007 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: 27007@debbugs.gnu.org Received: via spool by 27007-submit@debbugs.gnu.org id=B27007.149692555519606 (code B ref 27007); Thu, 08 Jun 2017 12:40:01 +0000 Received: (at 27007) by debbugs.gnu.org; 8 Jun 2017 12:39:15 +0000 Received: from localhost ([127.0.0.1]:34222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIwiZ-00056A-2O for submit@debbugs.gnu.org; Thu, 08 Jun 2017 08:39:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIwiX-00055u-C6 for 27007@debbugs.gnu.org; Thu, 08 Jun 2017 08:39:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIwiP-0002L0-5i for 27007@debbugs.gnu.org; Thu, 08 Jun 2017 08:39:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51389) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIwiP-0002Kq-2I; Thu, 08 Jun 2017 08:39:05 -0400 Received: from wifi-eduroam-161098.inria.fr ([128.93.161.98]:46052 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dIwiO-00067v-EP; Thu, 08 Jun 2017 08:39:04 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) In-Reply-To: <20170608105738.14445-2-m.othacehe@gmail.com> (Mathieu Othacehe's message of "Thu, 8 Jun 2017 12:57:38 +0200") References: <20170608105738.14445-1-m.othacehe@gmail.com> <20170608105738.14445-2-m.othacehe@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Date: Thu, 08 Jun 2017 14:39:01 +0200 Message-ID: <87h8zqwt5m.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Mathieu Othacehe skribis: > * doc/guix.texi (GRUB configuration): Rename to "Bootloader > configuration". > Remove device-mount-point field from menu-entry description. > Adapt occurences of "GRUB" in other sections. LGTM. In the future, I think it=E2=80=99ll be preferable to commit code/tests/doc together. That is, in the commit that changes the API from being GRUB-specific to supporting multiple bootloaders, we include not only the code but also the doc update. This simplifies review, makes sure each commit is self-contained, and ensure that users get consistent documentation. Thanks again! Ludo=E2=80=99. From unknown Sat Aug 16 19:20:38 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Subject: bug#27007: closed (Re: bug#27007: [PATCH v2 2/2] doc: Adapt to multiple bootloader support.) Message-ID: References: <86shjaim6q.fsf@gmail.com> <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> X-Gnu-PR-Message: they-closed 27007 X-Gnu-PR-Package: guix Reply-To: 27007@debbugs.gnu.org Date: Thu, 08 Jun 2017 14:34:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1496932442-30949-1" This is a multi-part message in MIME format... ------------=_1496932442-30949-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #27007: 'menu-entry' disappeared from the bootloader API which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 27007@debbugs.gnu.org. --=20 27007: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D27007 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1496932442-30949-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 27007-done) by debbugs.gnu.org; 8 Jun 2017 14:33:20 +0000 Received: from localhost ([127.0.0.1]:35207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIyUy-000827-4p for submit@debbugs.gnu.org; Thu, 08 Jun 2017 10:33:20 -0400 Received: from mail-wr0-f177.google.com ([209.85.128.177]:34947) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIyUw-00081m-3d for 27007-done@debbugs.gnu.org; Thu, 08 Jun 2017 10:33:18 -0400 Received: by mail-wr0-f177.google.com with SMTP id q97so19439056wrb.2 for <27007-done@debbugs.gnu.org>; Thu, 08 Jun 2017 07:33:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=NqcqTeAY/5eLEYaI4AEuJDACEEVXtjUwI/i7wBuFzRI=; b=JmCrPtBB6t234eWvjqsM29a7lBWCgoQXWjr4CD7jug6Oc8Q5mOOStaDdklyuGsHd7s 4ufqxRejiO1nEoPjnYv5/sy0+Q/0T5cOxGzIYZYUMFyBZr0MKs8k3BRgxgndzBrIXLjp JK4yU/3qd5RO/h0YaC5o6ULm37qglomWbVmOWQZ/3jZ9wP7dLoyWilYdqP06ufGuiISc sC5L3AGpeiYm3PeP7TMWiuJD+rixwXyg/5YNma7ixEGwt5zvcCxDOUjvN2W+vyuAQMcw TjS8vR24fTIVjlOfsSfjHTPVyyIx4rGmnjMYssIO5b/GMY57pRN3x5MfuWfxeRRa/Vhp nmUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=NqcqTeAY/5eLEYaI4AEuJDACEEVXtjUwI/i7wBuFzRI=; b=GaLsbgghjyrmJL+g23t7MKbmeZ6UUSJ5YRIrjZSKPFCncmLATmPhp+yv6EtHwUYVPu nmUzY2XJIuMETiKfwpH5z0bQRhNT5FcI/m6w3OKzoRarpzh0ONkd9ObXrlEhebXn1tto QPkM6DnCX3y1aUlfIH473DI/IYNreo5U1YJ51BJxhUFZmHkKz3IwpKnc8DGLK5reT9gH 16aBXKzMx1WM/vI/61gsR2lm30I5IoPGz0KxLer5QZlXuxX0wPKpIqaTfYFWgnH2oE8/ cLzCQk7LHFWoK5/y+As0FF2yGRK64Kp1golizAd4eJNO785ATeT0bTQWnLu6ew/qVI9J LQFQ== X-Gm-Message-State: AODbwcDXxILHAC6iBDXr66cJF53WAnoswTUNHJX+E7Hn+4Gd+2uAte2R PN10RE+KGZdV3IaL X-Received: by 10.223.175.223 with SMTP id y31mr16065241wrd.77.1496932392144; Thu, 08 Jun 2017 07:33:12 -0700 (PDT) Received: from zbook ([46.218.109.88]) by smtp.gmail.com with ESMTPSA id b131sm6208526wma.11.2017.06.08.07.33.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Jun 2017 07:33:11 -0700 (PDT) References: <20170608105738.14445-1-m.othacehe@gmail.com> <20170608105738.14445-2-m.othacehe@gmail.com> <87h8zqwt5m.fsf@gnu.org> User-agent: mu4e 0.9.18; emacs 25.2.1 From: Mathieu Othacehe To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#27007: [PATCH v2 2/2] doc: Adapt to multiple bootloader support. In-reply-to: <87h8zqwt5m.fsf@gnu.org> Date: Thu, 08 Jun 2017 16:33:17 +0200 Message-ID: <86shjaim6q.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.0 (-) X-Debbugs-Envelope-To: 27007-done Cc: 27007-done@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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > In the future, I think it’ll be preferable to commit code/tests/doc > together. That is, in the commit that changes the API from being > GRUB-specific to supporting multiple bootloaders, we include not only > the code but also the doc update. This simplifies review, makes sure > each commit is self-contained, and ensure that users get consistent > documentation. Yes I noticed this has confused some users, sorry for that :(. I pushed the two commits. Thanks, Mathieu ------------=_1496932442-30949-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 20 May 2017 20:00:32 +0000 Received: from localhost ([127.0.0.1]:57299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCAYC-0004AU-7Y for submit@debbugs.gnu.org; Sat, 20 May 2017 16:00:32 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCAYB-0004AI-0Q for submit@debbugs.gnu.org; Sat, 20 May 2017 16:00:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCAY4-0006WL-Sx for submit@debbugs.gnu.org; Sat, 20 May 2017 16:00:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53895) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dCAY4-0006WE-PT for submit@debbugs.gnu.org; Sat, 20 May 2017 16:00:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCAY3-0002DR-PA for bug-guix@gnu.org; Sat, 20 May 2017 16:00:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCAXy-0006UC-Uj for bug-guix@gnu.org; Sat, 20 May 2017 16:00:23 -0400 Received: from mx2.suse.de ([195.135.220.15]:45129 helo=mx1.suse.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dCAXy-0006TS-Nf for bug-guix@gnu.org; Sat, 20 May 2017 16:00:18 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 6307EAC04 for ; Sat, 20 May 2017 20:00:16 +0000 (UTC) Date: Sat, 20 May 2017 22:00:15 +0200 From: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= To: bug-guix@gnu.org Subject: boot-parameters are not documented Message-ID: <20170520200015.7lkqfgp5pju3clvf@penguin.suse.cz> Mail-Followup-To: bug-guix@gnu.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nvx7vknh7rohoaab" Content-Disposition: inline User-Agent: Mutt/1.6.2 (2016-07-01) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) 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: -4.0 (----) --nvx7vknh7rohoaab Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline I'm running from GIT with HEAD on 12eecbf0bb798f99454a46c191bb0ec6bdef1aa5. It seems that menu-entry is still described in documentation doc/guix.texi:15337 but code seems to abandon the use already in favor of boot-parameters at least to my level of understanding. My question without answer is - how can I specify bootloader menu entries now? TIA, S_W --nvx7vknh7rohoaab Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEDOrssfr9jDQthC2PSiPjT6AzQ20FAlkgoE8ACgkQSiPjT6Az Q23NTA/+JXWpw01g4NkICzjFeh2y6X9oE2rZf4hu9LSOg5Fa93gfzFlF2ay76InF zYIjj7rpfyjkpUmjAhcUmGvTyz+xDZ3gNtRhR7JQDCqZ23U6Zx4zHYY9I9hMYP+F kv+f7XIzf4fpeLg5+ffSLH/9OCL5rO8O4pqFGbbz7b1wR/Dt5ZNU9XJ96QoPgUm7 rXn7AJDrPyM+7peY7MMZ+3adhvvsjaTR7ysiObLhGVSlDiavH9YiFTy/NQUSavfo AmGPHBkWlErqKfaYgug7SypIGdwAKNKFytQmrB8DJ5Ci2qlx1jvfXAl7UL+TTPTr Ako9aon7Mp/y9JXE7/h67C06bADD59dJ7DbYKLv0sSC4cD+vf7uB1+zuF8k87JKF Z716DEYmEmfE4e8BrruIGIN4wzmo4wXPlsbIckBKwBKfTNTZ/mlb+Q+gkI2xGavK 7bHJcizmFpltveK3qJLbXtm6Mlu46z/LBYG85qf6hHQOnzDyqAUIn8Jnmqn8nIb0 md9uHL5qidPvI+Vbiaiz1aQhrNkLTWU3+sKn70KyfOljB7KeE9deuN1kzn6H5Ckg 9Nm6+emVKWHKQAuxsAhsGStmVx4lUk4Ntn8MyRTO+1lJEn+SgSe0td73ONTenfD6 XO+H4ep8OctOA/LBa6xMbtdJ+EcUTCnxiryySamEZSsOErrjJBk= =u+8q -----END PGP SIGNATURE----- --nvx7vknh7rohoaab-- ------------=_1496932442-30949-1--