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

raspbian remove all the text shown during the boot up process

Wed Dec 05, 2018 9:12 pm

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 achieve this?
Thanks

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

Re: raspbian remove all the text shown during the boot up process

Thu Dec 06, 2018 8:35 am

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

Code: Select all

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

DirkS
Posts: 9943
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: raspbian remove all the text shown during the boot up process

Thu Dec 06, 2018 8:39 am

If you think it's necessary to hide the undervoltage indicators than maybe it's time to check your power supply...

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

Re: raspbian remove all the text shown during the boot up process

Thu Dec 06, 2018 8:42 am

I understand. It's just a test-bed though. The production Pi's will have at least 3 amps power supplies.

Return to “Raspbian”