Grub: set terminal_output earlier

  • Open
  • quality assurance status badge
Details
One participant
  • Emmanuel Beffara
Owner
unassigned
Submitted by
Emmanuel Beffara
Severity
normal

Debbugs page

Emmanuel Beffara wrote 2 years ago
(address . bug-guix@gnu.org)
20230311194130.GI20567@beffara.org
Hello Guix,

In the generated `grub.cfg`, it would be an improvement to set the
`terminal_output` before any user input is required by Grub, for proper
interaction.

In my case, the laptop has a HiDPI display and Grub starts with a graphical
terminal in 3840x2160 resolution with extremely small characters. Then it asks
for the LUKS passphrase (I use full-system encryption) before setting the
output mode specified in the configuration. Not only is it unreadable, but
Grub is also known to be particularly slow with high resolutions [1], which
makes interaction painful, in case some emergency prompt happens (which it
does in the current state of things, cf. other bug reports).


My current method is to edit `grub.cfg` by hand after each `guix system
reconfigure` to move the lines between `if loadfont unicode; then` and
`terminal_output gfxterm` at the beginning, but this is not a viable solution.

--
Emmanuel
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 62141@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 62141
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help