JayeHorn
Posts: 23
Joined: Thu Sep 17, 2020 10:35 pm

How to Boot into a silent boot?

Thu Oct 29, 2020 1:19 am

Hi, Could someone help me, I'm new to Linux and am excited to learn.

I'm currently creating imaging of pi's for our workers and I would like to have the pi boot up without any text, splash screens, or boot configs. I would like just a black screen until the desktop appears. I've searched all over the internet and tried a few things yet nothing worked. Please help if you can.

User avatar
pi3g
Authorised Reseller
Authorised Reseller
Posts: 291
Joined: Mon Nov 05, 2012 9:58 pm
Location: Germany
Contact: Website

Re: How to Boot into a silent boot?

Thu Oct 29, 2020 12:04 pm

Have you considered setting a black splash screen image?

The rainbow screen AFAIK can be suppressed in config.txt
cmdline.txt allows you to suppress some Linux boot output ...

This article seems helpful, have you tried all which is mentioned there?
https://www.thedigitalpictureframe.com/ ... 9-version/
picockpit.com - tools to make your life with the Pi a little bit easier

JayeHorn
Posts: 23
Joined: Thu Sep 17, 2020 10:35 pm

Re: How to Boot into a silent boot?

Thu Oct 29, 2020 5:23 pm

Thank you Pi3g.

I think I read that somewhere. I've tried numerous stuff and nothing worked. I'm new to Linux and am just starting off. I took all the classes at raspberrpi.org for Raspberry Pi. I'm loving it and wish I would have kept going with it. I took a Linux/Ubuntu class in 2011 and never pursued it. But my job now requires it. So now I'm happy to start up again.

Anyway, these are all things I've tried and taken from other sites that worked for different people.

Sudo nano /boot/cmdline.txt
You will see a single line with all the boot options. Scroll along and change the following making sure not to add any linebreaks:
• Replace console=tty1 to console=tty3 to redirect boot messages to the third console.
• Add loglevel=3 to disable non-critical kernel log messages.
• Add logo.nologo to the end of the line to remove the Raspberry PI logos from displaying
• splash quiet plymouth.ignore-serial-consoles logo.nologo vt.global_cursor_default=0
• Press CTRL+X to exit and Y to save your changes.
Next edit the config file with the following:
Sudo nano /boot/config.txt
• add disable_splash=1 at the end of the file.
Press CTRL+X to exit and Y to save your changes.
There you go. When it boots up now, it will just cleanly display your splash screen
https://retropie.org.uk/docs/FAQ/#how-d ... -boot-text
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


Maybe I'm doing something wrong but I can't get it to work. I'll look into the link you sent. Thank you for your help.
Jaye.

cleverca22
Posts: 4897
Joined: Sat Aug 18, 2012 2:33 pm

Re: How to Boot into a silent boot?

Thu Oct 29, 2020 10:54 pm

what is still showing up on boot?
we cant know which step is wrong until we know what its showing

User avatar
pi3g
Authorised Reseller
Authorised Reseller
Posts: 291
Joined: Mon Nov 05, 2012 9:58 pm
Location: Germany
Contact: Website

Re: How to Boot into a silent boot?

Fri Oct 30, 2020 7:56 am

As mentioned, I believe you actually WANT splash, so the line
• add disable_splash=1 at the end of the file.

is not applicable - you want to preset a black splash picture covering anything else
picockpit.com - tools to make your life with the Pi a little bit easier

KillerBerthier
Posts: 39
Joined: Thu May 05, 2016 4:28 pm

Re: How to Boot into a silent boot?

Thu Nov 19, 2020 1:18 pm

Any idea why logo.nologo in /boot/cmdline.txt doesn’t work anymore with the recent Raspbian updates?

Aros
Posts: 55
Joined: Tue Apr 28, 2015 9:08 am

Re: How to Boot into a silent boot?

Tue Apr 06, 2021 8:39 pm

I can confirm that logo.nologo is no longer working on the latest buster lite image.

// edit: sorry, I missed the disable_splash=1 part. That works.

Return to “Beginners”