You are not logged in.

#1 2017-06-16 09:53:24

loadlover
Member
Registered: 2017-05-10
Posts: 103

[SOLVED] *Completely* suppressing/hiding GRUB boot messages

Hi all,

As shown here - https://wiki.archlinux.org/index.php/GR … _held_down - the GRUB boot menu can be hidden with:

GRUB_FORCE_HIDDEN_MENU="true"

My problem is that while the menu is indeed hidden, I still see the GRUB messages that appear immediately before and immediately after the menu.

Immediately before:

Welcome to GRUB!

Immediately after:

Booting 'Arch Linux' (etc)

How can I suppress/hide these?

Thanks,

Loady

PS: For reference, here is my /etc/default/grub file:

GRUB_FORCE_HIDDEN_MENU="true"

GRUB_DISTRIBUTOR="Arch"
GRUB_DEFAULT=0

GRUB_TIMEOUT=0
GRUB_FONT="/boot/grub/fonts/ter-x20b.pf2"

GRUB_HIDDEN_TIMEOUT=1
GRUB_HIDDEN_TIMEOUT_QUIET="true"

GRUB_CMDLINE_LINUX_DEFAULT="root=PARTUUID=000153f1-e9d0-fd5a-8de0-fb15e2a70200 rw quiet loglevel=0 rd.systemd.show_status=false rd.udev.log-priority=0 vt.global_cursor_default=0"
# GRUB_CMDLINE_LINUX=""

Last edited by loadlover (2017-06-18 06:51:07)

Offline

#2 2017-06-16 11:25:40

jackpot
Member
From: Riyadh, Saudi Arabia
Registered: 2014-08-18
Posts: 86

Re: [SOLVED] *Completely* suppressing/hiding GRUB boot messages

Probably you would be interested in reading this

https://wiki.archlinux.org/index.php/Silent_boot


KDE is all good bloated, try to trim away from K*.apps... whatever it leaves behind equals "Kuck yourself!"
nVidia.... fsck sdy0

Offline

#3 2017-06-16 11:39:03

loadlover
Member
Registered: 2017-05-10
Posts: 103

Re: [SOLVED] *Completely* suppressing/hiding GRUB boot messages

jackpot wrote:

Probably you would be interested in reading this

https://wiki.archlinux.org/index.php/Silent_boot

Did all that already.

Offline

#4 2017-06-16 11:59:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,739

Re: [SOLVED] *Completely* suppressing/hiding GRUB boot messages

They are hardcoded, google for "grub silent boot" gave me http://rabexc.org/posts/grub-shush which in turn leads to https://github.com/ccontavalli/grub-shusher/

Offline

#5 2017-06-16 17:43:00

loadlover
Member
Registered: 2017-05-10
Posts: 103

Re: [SOLVED] *Completely* suppressing/hiding GRUB boot messages

Hey V1del, that looks very interesting.

Gonna give it a try:)

Cheers,

Loady

EDIT: Yes, grub-shusher successfully removes the "Welcome to GRUB!" message. However, the "Booting 'Arch Linux'" message still appears:( Anyway, for completeness, I mention here that I invoked grub-shusher like this:

./grub-kernel /boot/EFI/grub/grubx64.efi

EDIT FURTHER: Ah! You can get rid of the remaining messages by editing /boot/grub/grub.cfg manually and commenting out all the echo comands. And just press Esc to make the menu appear. Otherwise it's totally silent:) One way to nobble the echoes is:

grub-mkconfig -o /boot/grub/grub.cfg
sed -i 's/echo/#ech~o/g' /boot/grub/grub.cfg

EDIT YET AGAIN: As my laptop screen is 1920x1080 natively, I chose to use the ter-x20b font from the terminus-font package for when I do display the menu. This is a great console font, is big enough to be readable on HiDPI screens (bigger versions also available), and comes as .pcf format. As such, you can convert it easily to .pf2 format using grub-mkfont:

grub-mkfont ter-x20b.pcf -o ter-x20b.pf2

AND AGAIN: I then use ter-v20b.psf for everywhere else (not grub-related). It's the same font, just a code page thing.

SOLVED!

Last edited by loadlover (2017-07-05 09:13:12)

Offline

Board footer

Powered by FluxBB