From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id mBJ3EK+9n2ZMHwAAqHPOHw:P1 (envelope-from ) for ; Tue, 23 Jul 2024 14:26:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id mBJ3EK+9n2ZMHwAAqHPOHw (envelope-from ) for ; Tue, 23 Jul 2024 16:26:55 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=rjC8rgGz; dkim=pass header.d=wolfsden.cz header.s=mail header.b=chCoK4iH; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=wolfsden.cz ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1721744815; 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=eh7z25mx/fij3je8dPWLL++4ODXYvySoe0/cua8cyhM=; b=GCRCiqaSDkd0bvH7ag6JlqEPioEa2NAHI211JLNhxSzCLp/u7Jq6OyaDKrJcvY9fWREXOT zIywKu1FJ3v5ppEcXjwkCA+vhwR/gLmsEU6Mvu+86N6IOOaFs+nFx77ueMNT4C2FpX/cxE 3scRaSYvc6hrTn8smyiZDT3mmLpBqKUeUg8EWwS3QjKR6CFAIeWSepyeLF8RLl7XCWUjA0 GoauhO7FTdXxGRRMgHcUxL6v+OH7IoFm+bUh6rZeF8I2HRJd4RPIo11I59SHpyDPcqC+ZF /m27rRq55JH1ZVUN8hOt/LMN4fc+bjVmazShKZkUpZWPsQ83DVl/XZ6ltlWCgA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=rjC8rgGz; dkim=pass header.d=wolfsden.cz header.s=mail header.b=chCoK4iH; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=wolfsden.cz ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721744815; a=rsa-sha256; cv=none; b=qTPyjmazDbx9cif4HOltsM7IkkmWgynthD5PPV4pV0xDivnCTyFocDJJ3ZrW2T6F6+CJ/r uuCNPQS8HbOCm+Bj/BA60DK7IUznMrenb5U7fGspIWIuGHpSmYjm2gb2MRgpJkqTIPkN58 ACmCcj2QfFq8p/GBOHrOs0djYQtVSoApXtVRc9D9ehD59vssO3aT6q6zTNIiY1AGcIn+9h 7k11QxAStoM1mzPaUu0Wpd8u3ng8pPYGShLCn30qofDkLG6wHPg1qED0esXrur/YBlb5bu w782V51dfCqh0SXsdvexjsYbEw03kIQhm8lxi8qOs7mMNdhRXcEbUeQ8oPgRhg== 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 328E410F9E for ; Tue, 23 Jul 2024 16:26:55 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWGT2-0001gM-Py; Tue, 23 Jul 2024 10:26:17 -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 <~@wolfsden.cz>) id 1sWGSs-00014m-3i for help-guix@gnu.org; Tue, 23 Jul 2024 10:26:07 -0400 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1sWGSp-0000tD-A3 for help-guix@gnu.org; Tue, 23 Jul 2024 10:26:05 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 52FD328BF2C; Tue, 23 Jul 2024 14:26:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1721744760; bh=kV/arldHC0c9ViVD0zR/648jnLPWHId8+3n65AmQyVY=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=rjC8rgGzcMy4XBcZSnH2wDWmvw95E5q2MuQfn6KXynWAtwpzhf+rt4S12ZK1y686l GUnzFc4E7clVYa69njz7PMgLBwX75atp1xV9mSERr0olyOVzIegL7xWLDcWFP7N6F+ 9Dsld8/Nu9vJsWBW98/K7biM9X6gUaX/laM/aNswNDkPmE8fNtZGH3czI45fbNPUw+ HFrZ5qt5k4oVhJjR56+VI/ClWYH0HH6gduDe6ZcNDVbWD7kOrff2V6Epe2fvCVvA5/ dS+6TXhCFWoIg9YxbiqLFcdZaw0JVU8IZxviGTpnllmM37FkvKW9KegMmwLGbVjUnN rmj+TynoJOk27wFmAgsN+bB2Y477qOTAjGt1QZZMovYlOnguNZThSO4K2Vtr1x9VrA FyyJGj3pxu8U8jCPbSFCtWyPlIWRIQm8w9uhEfvmGTcyLDtQskqhA+Hs8i0fgfrEiT w2ulY+Gcs+gumfcsuiZxrj99H5P6FZccu2H0dhH+SRD7RGji6ozpAbkhsXV2nF4S1t H6ji/DUw3VPF+ygIdfwJ0D6lCcOnvwIJ+3LdtLKdqCg3aASp15Ui8ziRAEOW4BzT2i 7ukn2T556lp4Ejv1e5qwo0V5BZti5ihBMQDBVj34t77UYQdzXxfFBwNIVmhAkq1ifO Q5VduO84ewe3ql5b0E1wnbR0= Received: from localhost (unknown [193.32.127.136]) by wolfsden.cz (Postfix) with ESMTPSA id 6226E28BBC5; Tue, 23 Jul 2024 14:25:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1721744759; bh=kV/arldHC0c9ViVD0zR/648jnLPWHId8+3n65AmQyVY=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=chCoK4iHNy0Y9p7BfvhAjyWr6hOuwPlJ9SYwNxjICxxxhIzIsL+aJum6uHOW4LD4y FeK2IwN/LRLF7CaKBbtnEyRv+V5U/F4XsVUBdTKZj9kb4WdNqWJYetHIzqGLIXVNxo x+Yu7a+wqsFt3kDhsBa4cs4ST8TL5ACMXBicfKAKxzsdg1EGBRRGLcAII3IDtp2s+a 6s7jV3nYygoe/xgZckakHS0T6GIsMTCzqHxRTR8T13OUcj7oeSvuvq0sW+UE9uuR4H dpquubDQvAIQbXqaGdyxW2J0PXDIki7YbgA/aPpCaLH6X5BF6GqbA+bbEfDvGi9sZF 0xAMlQJwtXH0Bi0k01IhOHGQesHYcGO32iqdCtbxfsYgu3Nb1T2rPFkiEjOOGDbhIz v9I118e3mWrQMbLt2GVjMgGd1Bb6Kr/4O++ri2OAQOrShDX5xdJpK6ECY3kXCyajMh gYfHEKfR80VrNeEIbKsuKzwkNKuLIHN0sRT/EuTggI0qIcTM4h67R1nxDaeNRG7lUu Crg4bk5Dxz5nA5UPAQxGUIWOAjFSpDQ81LXRJRBohLPk1ahsIC/gRrbKxrWu9snCpU EPKL5JiSXCBeWapAkGNJYpvvVdW4SrbJJLkQA3j7WpLrIOOjR/wMID0Aq6oiQJPwZF 4VvwV8kazUZ1DuT3wAXJXFQ0= Date: Tue, 23 Jul 2024 16:25:58 +0200 From: Tomas Volf <~@wolfsden.cz> To: Zack Weinberg Cc: help-guix@gnu.org Subject: Re: How do I set kernel command line arguments for all bootloader menu entries? Message-ID: Mail-Followup-To: Zack Weinberg , help-guix@gnu.org References: <75ed7503-2b9f-473e-b356-d0d5f773b648@app.fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cf2QSnr3EwdX471z" Content-Disposition: inline In-Reply-To: <75ed7503-2b9f-473e-b356-d0d5f773b648@app.fastmail.com> Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 328E410F9E X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -10.57 X-Spam-Score: -10.57 X-TUID: yuSd83q2QWDM --cf2QSnr3EwdX471z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2024-07-23 10:17:51 -0400, Zack Weinberg wrote: > 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=3DttyS0,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. Ah, sorry, should have been more explicit. In my case it is a field of operating-system. So in your case try something like (operating-system ... (host-name "foo") ... (kernel-arguments (cons* "console=3DttyS0,115200n8" %default-kernel-arguments)) ...) =46rom there it should automatically propagate into all auto-generated boot= menu entries. Hope it helps this time, Tomas Volf -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --cf2QSnr3EwdX471z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmafvXYACgkQL7/ufbZ/ wanMhxAAjFfbV4NGaZbF7P9C2QyEkY5HxSZx/Dt0Z2KOCL1MxkOE5rKm/Fyyxtrf nr18RapBRw0g6m7wiXNKBMbm7oU2aEvUzUOhDmq/CWMMBKEWLeFGY9AzBjop9Swt /gY4qv4FOoVZfq7VhgJEH0LvGtHH5vsarcyMBYVrZEThxwrejs06V2ERsqaRtQOe HaGCQXf0nVKDMPCx49usCeLkhPM23E1KwsQRNZXWgk80YHzlQONcc0XRZNDS91cK J9VjRzrbSGA/p+0Gm4rdr3sy9OJ+djSYIeSVs+AgqebTOzkqLghWO7SqK7P4Ocp5 xQpSVfVsFu2hYFDBgsSI5MxBTmHqNcgo61vcJvUI7F1J59tdSr/gvsmDOGEUjtgi UPOVVhPRG9nVN8rHqRq6eg7+kbwrFpcNDardpkorQsmNsoYAQb7MI/FQCxw+DI4Z SKh6mEjme2GNslXwOJSbrOnSuqBNjI8R6kC3q9FUsypcKLwvJbOg9SEEWLBKJh9u vcCFGpZbsSf1rWilzexrS7VokuNhqm76VTorVPyd7xrzgdOYUD2U1fZvYH9C9o2I dAjyqlbIT8bcj2oQZaV7gyPToyig9vpPukebN/mxDNAOLyYEAQO3M4AC5k7Wo7vH tOezR+jT5pLOMS2YtjTbGQ5ED4vfdZqVgS4AjfYVKzP5s8yO0sc= =4/8n -----END PGP SIGNATURE----- --cf2QSnr3EwdX471z--