Linux Silent Boot Config

If you don't want any messages showing up betwen BIOS and X...

Mon, Nov 16, 2020

Problem

lvmetad is not active yet, using direct activation during sysinit
lvmetad is not active yet, using direct activation during sysinit
/dev/mapper/<device>: clean, XXXXX/XXXXXXX files, XXXXXXX/XXXXXXXX blocks
[   6.183744] intel_soc_dts_thermal: request_threaded_irq ret -22
[   6.189786] intel_rapl: no valid rapl domains found in package 0

Hide Console output

There are really 2 things here, the console output and the blinking cursor. I’ll start with suppressing the console output:

GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX_DEFAULT="quiet console=tty12 loglevel=0 rd.systemd.show_status=auto rd.udev.log_priority=3"
sudo update-grub
kernel.printk = 3 3 3 3

Hide blinking cursor

If you can live with the blinking cursor it’s probably better than the following, however if you can’t…

Once you’ve hidden all the console output above, you are left with a blinking curosr at the upper left corner of the screen. So we can also remove that:

GRUB_CMDLINE_LINUX_DEFAULT="quiet console=tty12 loglevel=0 rd.systemd.show_status=auto rd.udev.log_priority=3 vt.cur_default=1"
sudo update-grub
$ infocmp > tmpterminfo.txt
$ sudo tic tmpterminfo.txt
$ printf '\n\ntput cnorm\n' >> .profile