Honour and generate conventional kernel command-line arguments

  • Open
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Tobias Geerinckx-Rice
Owner
unassigned
Submitted by
Tobias Geerinckx-Rice
Severity
important
T
T
Tobias Geerinckx-Rice wrote on 6 Feb 2021 13:48
(name . Tobias Geerinckx-Rice via Bug reports for GNU Guix)(address . bug-guix@gnu.org)
87sg69weef.fsf@nckx
[Low priority, but I keep forgetting about it.]

Guix,

What the subject says. The Linux command line isn't bash.

Use, e.g., ‘root=’ instead of the Guix-specific and unintuitive
‘--root=’. It's surrounded by normal ‘nomodeset’ & ‘quiet’
arguments anyway.

For things like ‘--repl’ we might substitute ‘rd.repl’, or
‘rd.rescue’ which has the advantage of being used by systemd
[users] as well.

Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYB6QGQ0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW1527YBAOOy1j+ACzV+Tbt/Qf17D7f1HpVXm4jz4B1tLPQR
CIaQAP9tCqg/T4QAXDgfpHpSZpScRmZyIDwfzREQehuB7jjbBw==
=71cG
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 6 Feb 2021 21:59
(name . Tobias Geerinckx-Rice)(address . me@tobias.gr)(address . 46344@debbugs.gnu.org)
87a6sg29qx.fsf@gnu.org
Hi,

Tobias Geerinckx-Rice <me@tobias.gr> skribis:

Toggle quote (7 lines)
> Use, e.g., ‘root=’ instead of the Guix-specific and unintuitive
> ‘--root=’. It's surrounded by normal ‘nomodeset’ & ‘quiet’
> arguments anyway.
>
> For things like ‘--repl’ we might substitute ‘rd.repl’, or ‘rd.rescue’
> which has the advantage of being used by systemd [users] as well.

(Why “rd.”? I’d use “gnu.” to make sure we don’t inadvertently use
something that has a different meaning elsewhere.)

I agree with the proposed change, I’ve been meaning to do something
about it for a long time, too. :-)

For ‘--root’ is a bit tricky because it’s an implicit option, not
explicitly listed in /run/current-system/parameters and similar places.

So we’d probably have to (1) make it explicit, and (2) use ‘--root’ when
generating a GRUB entry for a system generation that lacks the explicit
“root=XYZ” string in its ‘kernel-arguments’.

Ludo’.
L
L
Ludovic Courtès wrote on 2 Mar 2021 08:52
control message for bug #46344
(address . control@debbugs.gnu.org)
87czwiouvv.fsf@gnu.org
severity 46344 important
quit
?