Bug#704981: Append console= parameters to Linux kernel conditional on terminal_input interaction

martin f krafft madduck at debian.org
Mon Apr 8 11:56:13 UTC 2013


Package: grub-pc
Version: 1.99-27
Severity: wishlist
Tags: upstream

With delight I noticed that grub2 now accepts multiple terminals for
terminal_input and terminal_output and mirrors the menu on all in
real-time. This now let's me put the Grub menu on both, the serial
port and the local console.

Grub then starts the Linux kernel (most of the time anyway) and
passes the following parameters (typically) to the kernel:

  … console=tty0 console=ttyS0,38400n8

Unfortunately, the Linux kernel cannot output everything to two
consoles and the above will have all information from /sbin/init and
/etc/init.d/rc reach only the serial port.

In most cases this is what I want, but when I am sitting at the
console itself, this isn't ideal.

What would be ideal is if Grub only appended the above kernel
parameter unless I interacted with the Grub menu over the console.
If I do that, then it should either switch the two console=
parameters, or just leave it off entirely.

I have looked everywhere, but I don't think this is possible. It
would be really nice, however, if Grub could learn how to do that.

[reporting via debbugs e-mail as I am on a very very very bad
connection…]

-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 1124 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20130408/f083507e/attachment.pgp>


More information about the Pkg-grub-devel mailing list