unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Brice Waegeneire <brice@waegenei.re>
To: guix-devel@gnu.org,
	Guix-devel <guix-devel-bounces+brice+lists=waegenei.re@gnu.org>
Subject: Re: GRUB and installer invisible on serial console
Date: Sat, 21 Dec 2019 20:30:43 +0100	[thread overview]
Message-ID: <8b6854b67a2ba76a68c867bc10762a49@waegenei.re> (raw)
In-Reply-To: <634287529887714596f1f4ecdcbf8224@waegenei.re>

On 2019-12-21 18:31, Ricardo Wurmus wrote:
> Hi Guix,
> 
> I just wanted to install Guix System on a server where I currently only
> have remote access via serial console — and which happens to have a 
> Guix
> USB stick stuck in its USB port.  I can see the system’s UEFI output 
> and
> see that it boots from USB, but “Welcome to GRUB!” is the very last
> thing I see.  There is no further output.
> 
> Our GRUB is using fancy graphics, so I wonder if that means that it has
> switched to a mode that I simply can’t see over my serial connection.
> 
> Is there a way to make it start GRUB in text mode — and stay in text
> mode throughout the installation?
> 
> --
> Ricardo

Hello Ricardo,

I got the same setup as you working some weeks ago with the following 
config.
I also had to tweak my BIOS settings to have a reliable serial 
connection.

--8<---------------cut here---------------start------------->8---
    (kernel-arguments
      '("quiet" "console=tty0" "console=ttyS0,115200"))

   (bootloader
     (bootloader-configuration
       (bootloader grub-efi-bootloader)
       (target "/boot/efi")
       (keyboard-layout keyboard-layout)
       (terminal-outputs '(gfxterm serial))
       (terminal-inputs '(console serial))
       (serial-unit 0)
       (serial-speed 115200)))
--8<---------------cut here---------------end--------------->8---

The order of the kernel argument "console=" is important because
« The last device will be used when you open /dev/console » [1].
And note that my baudrate is not 9600, the default value, because it's 
too slow
when displaying files. If you have a low quality serial link use the 
default.

I was wondering about writing a patch to make this kind of setup the 
default for
the image installer to allow installing Guix through a serial connection 
only.
Unfortunately such a setup will remove the current eye-candy GRUB theme.

#38580 may also interest you, it adds access to the BIOS settings from 
GRUB when
using UEFI.

[1]: 
https://www.kernel.org/doc/html/latest/admin-guide/serial-console.html
[2]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38580

  parent reply	other threads:[~2019-12-21 19:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-21 17:31 GRUB and installer invisible on serial console Ricardo Wurmus
2019-12-21 19:00 ` Danny Milosavljevic
2019-12-21 19:06   ` Danny Milosavljevic
2019-12-22 15:11     ` Danny Milosavljevic
     [not found] ` <634287529887714596f1f4ecdcbf8224@waegenei.re>
2019-12-21 19:30   ` Brice Waegeneire [this message]
2019-12-30 18:40     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8b6854b67a2ba76a68c867bc10762a49@waegenei.re \
    --to=brice@waegenei.re \
    --cc=guix-devel-bounces+brice+lists=waegenei.re@gnu.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).