From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id SFFSD8+7n2YQjQAAe85BDQ:P1 (envelope-from ) for ; Tue, 23 Jul 2024 14:18:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id SFFSD8+7n2YQjQAAe85BDQ (envelope-from ) for ; Tue, 23 Jul 2024 16:18:55 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=owlfolio.org header.s=fm2 header.b=Wy9NBLMo; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=f9MO2Twc; dmarc=pass (policy=quarantine) header.from=owlfolio.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1721744335; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Gq886DjOuCzUbd+ssJhc7mBw5CYEquPJ0YKQbFDp1CA=; b=my3nTQ6IZN0bhlteUt/1CEAFCHJAsDwQ8cyH2kjfePgRqJggbv3IzkhZzls0V1Z1dOLRuW 7C0uiPpJvLPhpyq2cj0ZzJjqp5FWQ+aGgwa2pnV/3OwVZUlHZokUC/EkRVk82gEYBsGSsS CEr+7UxvxworOawK0vAa3VQnC22UPFFboMo4vKxiWWmeeDu/Wu4F3y4xQ/+afDUeSjv+z6 q8o0osTQT5fbJgnpLNKbr2yduk8WIaUixyNlkQRci3v593nFYRi5rSVC9RyK2HGtOUF80X iwhIKcA/7okudjVI72j7wtW9detJHEBH+gzzRa2izfJO9YNAxBAlVRr1FAyr0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721744335; a=rsa-sha256; cv=none; b=FW5m1UAY53/OsoTwoDDGoxta5jOpGJ56Ylm7zZX0wDWS8E/mWlu/LWfSqVa7JxH0JHDS5K gcC5bRiAzpCKBdbK1oNxgLAPnfxoIneCwekziWvtZ16VWuAmKjfBbVpNZ/UeITQXE9Z52V 8yxKWYBoqHo1BUvqisi+gSgQ+Ld8Wlqk+btcQkJo2rA/8QBg6L5TloVwbWtsgfrhDr9etE Hr6rCyRjQNsZfkZA9xm9Ag3+3LpUPuAmgx460S5asDSYnYBN2EBt4kcVoIzhIjRysD9oWA VMDCPzLdU5j8f6PA6PRmT5QrVduHEEdl4WSkfvI+RuhcP/oOEPXWrEonORUkmQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=owlfolio.org header.s=fm2 header.b=Wy9NBLMo; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=f9MO2Twc; dmarc=pass (policy=quarantine) header.from=owlfolio.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1BE8A6C7A3 for ; Tue, 23 Jul 2024 16:18:55 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWGLY-0002T7-8U; Tue, 23 Jul 2024 10:18:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWGLI-0001Dt-EJ for help-guix@gnu.org; Tue, 23 Jul 2024 10:18:20 -0400 Received: from fhigh5-smtp.messagingengine.com ([103.168.172.156]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWGLG-0007VW-Dt for help-guix@gnu.org; Tue, 23 Jul 2024 10:18:16 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfhigh.nyi.internal (Postfix) with ESMTP id B2F4811401EB; Tue, 23 Jul 2024 10:18:12 -0400 (EDT) Received: from imap45 ([10.202.2.95]) by compute5.internal (MEProxy); Tue, 23 Jul 2024 10:18:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=owlfolio.org; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1721744292; x=1721830692; bh=Gq886DjOuC zUbd+ssJhc7mBw5CYEquPJ0YKQbFDp1CA=; b=Wy9NBLMoZVH1ppCXqWi8Z1/swX /8aEcNZw93iWpFOtjkwPRESDGFql5tUlHm+WJgqQ+4H/TPRLOvhCxRGYtWy4TOyF YIk1YWv8zwoMWXqPUY0z/TgWVqR28lTMN7m0OoFDno0oDpZRUV5Kj+/xZ5AYU07I qX1dcivTPm84M4Kg9lcmWQeNmeAz0Mcd833vCrz4ceoCh6IehCgj1mgbL6p0P6w2 jGax1h/gj5C8aKHl7XCzEEufJyTZzy8hnZvMZ2sNLsse2weYmPEUEmdzpHYRucc5 yPJPVuHCHS9K9BqT/PDkIkB3Yz+7NBeVHSCUNHr24VveK9a1M2Hgcd598VFg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1721744292; x=1721830692; bh=Gq886DjOuCzUbd+ssJhc7mBw5CYE quPJ0YKQbFDp1CA=; b=f9MO2Twc/s0ntpKN2danlTR01VcUGCCi2LIV+f0254Tz jUGjjrCKm1rsNoynGyMFB/+l7kIZ/EioS+e/jybGXj+uUeBxzwkDmOxWU+Vh9S77 AGGO854graeXh7zsXMi+E7mH2Quc612QN9D0w2m+mvPgOmClS7mlib9itLMYti+4 A7ABBNA/Qh31Jjl7h9zYhMsHx/7DlMmbGdVlWU9beFVzQi3GR58NE/tV8dOQ4Ti4 fL3aedGIIrx4mGir+luqRtgUhZB/OG4l90PyxXtPd9ArVy3g5YyKP6XqKkGVRPEs O/JWJwTcn+qmklpoZxVRl7w87irSM1q0oBCb6542zQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrheelgdejgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvfevufgtsehttd ertderredtnecuhfhrohhmpedfkggrtghkucghvghinhgsvghrghdfuceoiigrtghkseho fihlfhholhhiohdrohhrgheqnecuggftrfgrthhtvghrnhephfelfeehudfhleegheegje evheeuieehvdfgueeuteetleeiieetheefhfeludeinecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepiigrtghksehofihlfhholhhiohdrohhrgh dpnhgspghrtghpthhtoheptd X-ME-Proxy: Feedback-ID: i876146a2:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 2C43A272007C; Tue, 23 Jul 2024 10:18:12 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-582-g5a02f8850-fm-20240719.002-g5a02f885 MIME-Version: 1.0 Message-Id: <75ed7503-2b9f-473e-b356-d0d5f773b648@app.fastmail.com> In-Reply-To: References: Date: Tue, 23 Jul 2024 10:17:51 -0400 From: "Zack Weinberg" To: "Tomas Volf" <~@wolfsden.cz> Cc: help-guix@gnu.org Subject: Re: How do I set kernel command line arguments for all bootloader menu entries? Content-Type: text/plain Received-SPF: pass client-ip=103.168.172.156; envelope-from=zack@owlfolio.org; helo=fhigh5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 1BE8A6C7A3 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.02 X-Spam-Score: -9.02 X-TUID: 0ehQQPOdXpdl On Mon, Jul 22, 2024, at 5:33 PM, Tomas Volf wrote: > Hi, > > On 2024-07-22 16:18:41 -0400, Zack Weinberg wrote: >> Suppose I want to append "console=ttyS0,115200n8" to every GRUB >> bootloader menu entry. I can't figure out how to do that with a >> (bootloader-configuration) recipe. The manual talks about writing >> *extra* menu entries, but not about tweaking the automatically >> generated ones. Is it possible, and if so, how? > > I believe the kernel-arguments field can be of use. For example I have this in > my configuration: > > (kernel-arguments (delete "quiet" > %default-kernel-arguments)) Thanks, but kernel-arguments isn't recognized as a valid field of bootloader-configuration. # guix system reconfigure /etc/config.scm /etc/config.scm:93:14: error: (bootloader-configuration (bootloader grub-bootloader) (targets (list "/dev/vda")) (terminal-outputs (quote (serial))) (terminal-inputs (quote (serial))) (serial-speed 115200) (kernel-arguments (cons* "console=ttyS0,115200n8" %default-kernel-arguments)) ): extraneous field initializers (kernel-arguments) It *is* recognized as a valid field of a menu-entry, but that brings me back to my original problem. I don't want to write additional menu entries, I want to modify the automatically generated menu entries. zw