Saturday, January 13, 2018

boot - Hide log messages during startup on Ubuntu Gnome 15.10



When Ubuntu is starting up, it shows some error log message on the screen.



error messages
login tty message



I want to hide all these messages, and see only the Ubuntu GNOME loading logo on the screen. How can I do that?



The boot loader is using a piece of software called Plymouth.




To work correctly you need to use KMS compatible graphics drivers and sometimes just a bit of luck - in Ubuntu prior to 14.04 Plymouth hasn't really changed for 5+ years and is showing its age. It is being updated in 14.04 and hopefully will work in a wider number of cases.



If you are using proprietary graphics drivers (often NVIDIA or AMD) then these are currently not KMS based and can be a cause of a very short/missing boot Plymouth picture.



One technique I use is to force Plymouth to run in a rather old but still useful technique called a framebuffer.



With this you'll get a longer display of the picture - you'll still get one TTY switch when moving from Plymouth to GDM. This is not something you can workaround until the move to Wayland (assuming this promise is realised).



echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash

sudo update-initramfs -u

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...