aristosv
Posts: 159
Joined: Mon Dec 08, 2014 7:47 pm

hide all boot process in Buster

Tue Apr 07, 2020 12:52 pm

I am working on a raspberry pi running Raspbian Buster lite, and I want to remove all boot information. Basically I want a black screen, no text or prompts or anything. This is what I have so far.

Code: Select all

echo hide rainbow
sudo sed -i '1 i\disable_splash=1' /boot/config.txt

echo hide boot 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
It's pretty close, but I still get some text during the final stages of booting.
This is all that shows up now.
2.jpg
2.jpg (62.7 KiB) Viewed 205 times
Any idea what I can do to hide this also?
Thanks

User avatar
dickon
Posts: 1458
Joined: Sun Dec 09, 2012 3:54 pm
Location: Home, just outside Reading

Re: hide all boot process in Buster

Tue Apr 07, 2020 1:23 pm

Remove the 'console=tty1' and replace it with 'console=serial0' ?

aristosv
Posts: 159
Joined: Mon Dec 08, 2014 7:47 pm

Re: hide all boot process in Buster

Tue Apr 07, 2020 2:37 pm

yes, this worked, thank you.
If I understand it correctly, this redirects the console to serial?

User avatar
dickon
Posts: 1458
Joined: Sun Dec 09, 2012 3:54 pm
Location: Home, just outside Reading

Re: hide all boot process in Buster

Tue Apr 07, 2020 2:50 pm

Yes. You could use /dev/null if that's not good enough for you, but I'd always advise logging something *somewhere*.

Return to “General discussion”