unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: Reza Alizadeh Majd <r.majd@pantherx.org>
Cc: help-guix@gnu.org
Subject: Re: Hide boot process logs
Date: Tue, 18 Aug 2020 18:04:05 +0200	[thread overview]
Message-ID: <87y2mceya2.fsf@nckx> (raw)
In-Reply-To: <20200818182618.7443c8aa@panther-arch.localdomain>

[-- Attachment #1: Type: text/plain, Size: 1555 bytes --]

Hi Reza!

Reza Alizadeh Majd 写道:
> I want to hide the boot process logs in Guix, having a quick 
> search I
> found that I can use following options in grub configuration 
> file:
>
>
> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

Forget this line.  No part of it makes sense on Guix (except 
‘quiet’, which is handled by the kernel itself, and see below for 
that).

GRUB_CMDLINE_LINUX_DEFAULT (and similar-looking variables) is used 
only by the ‘update-grub’ utility on some distributions that uses 
a bash configuration file to configure a bash script that creates 
the final (bash-like) grub.cfg.

As it sounds, it's a pretty horrible system, and it's not used by 
Guix at all.  grub.cfg is generated entirely by Guix itself, based 
on your operating-system record and previous system generations.

Adding ‘splash’ is equally specific to some other distribution, 
and has no effect on Guix System.

There is no splash screen code in Guix.  Plymouth has been 
packaged, but there's no code to launch it at boot.  I haven't 
even managed to make a ‘flicker-free boot’ happen on my i915.

> the problem is that based on current bootloader definition, 
> there is no
> option exposed for additional grub configurations (or I might 
> missed
> the proper option for this).

  (operating-system
    ...
    (kernel-arguments '("quiet")))

This will hide many but not all messages.  A silent boot, with or 
without a splash screen, is currently not a feature of Guix.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

  reply	other threads:[~2020-08-18 16:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-18 13:56 Hide boot process logs Reza Alizadeh Majd
2020-08-18 16:04 ` Tobias Geerinckx-Rice [this message]
2020-08-18 16:54   ` John Soo
2020-08-18 17:51     ` Reza Alizadeh Majd
2020-08-18 17:42   ` Reza Alizadeh Majd

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=87y2mceya2.fsf@nckx \
    --to=me@tobias.gr \
    --cc=help-guix@gnu.org \
    --cc=r.majd@pantherx.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.
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).