What I want to achieve:
I want to customize my complete boot of my Ubuntu 16.04 LTS installation to show the same wallpaper which is actually on my desktop.
What I achieved till now:
-
added the wallpaper to the grub menu by adding the following lines to
/etc/deault/grub
and doing anupdate-grub
afterwards.export GRUB_MENU_PICTURE="/boot/grub/wallpaper.png" export GRUB_COLOR_NORMAL="white/black" export GRUB_COLOR_HIGHLIGHT="black/white"
-
added the wallpaper to the splash-screen and login screen
Problem:
When I boot up the picture is showing while in grub, but then I rarely see the splash screen, instead I get an almost blank screen showing the file-system check like following:
/dev/sda1: clean, 201776/60878736 files, 4991277/243040256 blocks
This prevents me from having the boot experience I want to achieve since after that the splash-screen just shortly popping up after that message.
Question:
How can I remove this message from showing up so I get a seamless booting with my beloved wallpaper, without switching the file-system check completely off (if possible)?
Best Answer
Silencing boot messages
You should be able to achieve this with the kernel parameter
loglevel=
orquiet
I am not sure at exactly what level this would be hidden (or how quiet you would like your boot to be).
Temporarily
reboot your computer, and at the grub menu hit
e
to edit the boot parameters.scroll down to the end of the
linux...
line using the arrow keysadd desired
loglevel
parameter orquiet
to the end of that line. example:or
when done editing, proceed to boot by pressing
F10
Persistently
To do this, edit
/etc/default/grub
edit the line:
GRUB_CMDLINE_LINUX_DEFAULT=
uncomment it if needed, and add the desired log level or quiet -- for example
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=4"
orGRUB_CMDLINE_LINUX_DEFAULT="quiet"
and run
sudo update-grub
fsck messages
remove fsck from initramfs
fsck is run by default by the initramfs. by removing it and having systemd run fsck we will be able to redirect the output.
see
man initramfs
and wiki.ubuntu.com/Initramfs for more info on removing fsck from the ramfs.systemd fsck
From the arch wiki:
In Ubuntu, these files are both located in
/lib/systemd/system
If the file system is not checked by the initramfs during boot, systemd-fsck-root.service will automatically be run.
see http://manpages.ubuntu.com/manpages/wily/man8/systemd-fsck@.service.8.html