aristosv
Posts: 163
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 3089 times
Any idea what I can do to hide this also?
Thanks

User avatar
dickon
Posts: 2366
Joined: Sun Dec 09, 2012 3:54 pm
Location: Home, in Tiffield

Re: hide all boot process in Buster

Tue Apr 07, 2020 1:23 pm

Remove the 'console=tty1' and replace it with 'console=serial0' ?
As it is apparently board policy to disallow any criticism of anything, as it appears to criticise something is to criticise all the users of that something, I will no longer be commenting in threads which are not directly relevant to my uses of the Pi.

aristosv
Posts: 163
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: 2366
Joined: Sun Dec 09, 2012 3:54 pm
Location: Home, in Tiffield

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*.
As it is apparently board policy to disallow any criticism of anything, as it appears to criticise something is to criticise all the users of that something, I will no longer be commenting in threads which are not directly relevant to my uses of the Pi.

Return to “General discussion”