LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hide/suppress text during boot? (bootsplash) (https://www.linuxquestions.org/questions/linux-newbie-8/hide-suppress-text-during-boot-bootsplash-4175470080/)

Peterken 07-18-2013 10:45 AM

Hide/suppress text during boot? (bootsplash)
 
Hi all,

Is it possible to hide/suppress/cover with image/... the text during bootup somehow?
I found a way to create a splash screen but this is only displayed after the scrolling text.

Now I know that this can be crucial information in case of an issue - have read quite some discussions about this - but this is for a static system. (wheezy on a Raspberry Pi)

TIA!
P.

jpollard 07-18-2013 11:01 AM

For an example, look at Fedora. That is what it does, and allows access to the text by using an escape character to switch. I believe the display gets taken over by the utility "plymouth", which displays a simple animation during boot. For the simplest, look at Fedora 14... F19 gets things complicated.

Now it is necessary for the X server display to wait until plymouth is finished, or things may get a bit odd about what virtual terminal is being used for the display.

Peterken 07-20-2013 03:08 AM

Hi jpollard,

Had a look at plymouth and this is indeed what I'm looking for but is not available for the RPi.
I also found out about splashy but that doesn't seem to be an option either.

Thanks a lot anyway because it gave me some ideas on what to search for more specifically! ;-)

P.

jpollard 07-20-2013 06:50 AM

If the RPi has virtual terminals, plymouth should work - but you might have to port it to using whatever the local graphics library. A bit of work, but possible.

Another possibilty is to fake it - write a small program that starts the X server and puts a background up. No menu, just wait for a bit, and accept a signal from a startup script to terminate (both the program and the X server - which should exit as soon as the program exits... If you look at the startx utility you might get the idea of how to get the X server started from a script, then with a custom session you do an xloadimage into the root window - then just wait for the exit signal. The X server should terminate as soon as the only child connetion (the session) exits.

Peterken 07-20-2013 07:48 AM

Uhhhmmm, am I not in the Newbie section?*$%! :o

Will have a look if I can decipher that somehow...
The system starts an Xsession anyway since it's gonna be used for a kiosk on a RPi.

To be sure/clear: are you talking about the status info during start up, the typical linux - don't know how it's called officially - white text on black background that scrolls?
Can you start a program before this scrolling text?
I found out that the GRUB loader would be able to interact with this process but it's not available on a RPi.

Another option might be Berryboot but have to look into that if it comes near to what I want.

Thanks anyway for your input! ;-)

273 07-20-2013 08:01 AM

Apparently if you compile your own kernel there are options you can chose to suppress the messages:
http://www.refining-linux.org/archiv...inux-silently/
Compiling your own kernel is a little daunting but if you do it "the Debian way" it's not all that difficult.

jpollard 07-20-2013 01:10 PM

Found this for using the Raspberry Pi frame buffer:

http://raspberrycompote.blogspot.com...part_9509.html


All times are GMT -5. The time now is 04:11 PM.