LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   remove all the messages shown during the boot up process (https://www.linuxquestions.org/questions/debian-26/remove-all-the-messages-shown-during-the-boot-up-process-4175643738/)

aristosv 12-06-2018 01:26 AM

remove all the messages shown during the boot up process
 
This is a question for Raspbian Stretch, but since it's based on Debian (and I still didn't get a reply in the raspbian forums) I though I would ask it here.

I am using Raspbian Stretch Lite and I want to remove all the text scrolling during the boot up process. I've googled how to do this and found various articles indicating that I should modify /boot/cmdline.txt, redirect the console to tty3 and configure loglevel=3. I also tried dmesg --console-off in /etc/rc.local.

These suggestions haven't worked for me, I can still see the full text during the boot up process.

Also this forum post provides a zip file containing files to be overwritten in Raspbian to hide all the text during boot. But I would really prefer not to overwrite system files, not really knowing how they will affect it.

Any suggestions on how to hide all boot messages?

It's not that I don't like looking at all the green [OK] messages, it's just that I want to use the pi for digital signage, and I need to hide the boot process messages.

Thanks

aristosv 12-06-2018 02:33 AM

eventually I found it. This gave me a completely blank screen.

Code:

echo hide raspberry pi icons
sudo sed -i "1 s|$| logo.nologo quiet splash|" /boot/cmdline.txt

echo hide boot messages
sudo sed -i "1 s|$| quiet splash|" /boot/cmdline.txt

echo disable login prompt
sudo systemctl disable getty@tty1.service

echo hide blinking cursor
sudo sed -i "1 s|$| vt.global_cursor_default=0|" /boot/cmdline.txt

echo hide undervoltage message
sudo sed -i "1 s|$| loglevel=1|" /boot/cmdline.txt

echo hide undervoltage lightning bolt icon
sudo sed -i '1 i\avoid_warnings=1' /boot/config.txt


Andy Alt 01-24-2019 05:42 PM

Hi @aristosv. You wanna mark this thread as "solved"? ("Thread Tools", near the top of your post)


All times are GMT -5. The time now is 12:05 AM.