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