LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Own Splashscreen and suppress all messages (https://www.linuxquestions.org/questions/linux-software-2/own-splashscreen-and-suppress-all-messages-4175621496/)

taumeister 01-12-2018 10:44 AM

Own Splashscreen and suppress all messages
 
As the headline says, I would like to have the possibility to have my own splash screen and suppress all messages in my self-created systems.
Similar to the boot procedures of SUSE or Xbian.
I have searched a few addresses and forums, unfortunately there are so many possibilities and mostly only further links.

These are own via debootstrap created Super Mini systems, e. g. with Kodi. I don't need a detailed message on the screen.

What I would like to get is rather a basic explanation of how to implement something like that, no link á lá' this could also interest you'.
Thank you in advance.
greets

ondoho 01-12-2018 01:49 PM

Quote:

Originally Posted by taumeister (Post 5805560)
What I would like to get is rather a basic explanation of how to implement something like that, no link á lá' this could also interest you'.

not sure i can provide that.

in the past, plymouth dit the splash screen. i think it still does.

since you explicitly asked to not get a link, i won't be giving one.

taumeister 01-15-2018 07:36 AM

Basically, I can't understand why this is so difficult, maybe I don't research properly.
I imagine saying to the boot process, please don't be so chatty or say nothing. And in time show the following picture. Ready.
But there are so many possibilities and solutions here, including patches for the kernel and so on.
I'm still trying to find a uniform solution... I'll get back to here when I have a solution.
greetings

Mill J 01-15-2018 08:19 AM

A bootsplash is a super waste of resources, think about it a little you have to start x to show the splash then restart X for the display manager == longer boot time.

Ok down to business, most people don't care, they want it looking pretty (I don't blame them). Plymouth is the only one I got to work so far. https://wiki.archlinux.org/index.php...ory:bootsplash

You'll also want to quiet down the kernel and init, give this a whirl. https://wiki.archlinux.org/index.php/Silent_boot

Hope this helps.

ondoho 01-16-2018 01:01 AM

Quote:

Originally Posted by taumeister (Post 5806670)
Basically, I can't understand why this is so difficult, maybe I don't research properly.

i think you answered your own question there.

Quote:

Originally Posted by taumeister (Post 5806670)
I imagine saying to the boot process, please don't be so chatty or say nothing. And in time show the following picture.

the chattiness is easy, the picture not so much.

taumeister 01-16-2018 03:44 PM

Hey Mill J ( btw. what is the first name here....)

Your answers were very helpful, thank you for that.

The systems I was talking about are specially adapted USB stick versions I created via debootstrap.
For optical reasons, there is no need for continuous text in the boot process, just a nice picture. :=)
With my own system, of course, I don't want it that way.

Here are the links that helped me..:

https://wiki.archlinux.org/index.php/Plymouth

https://wiki.archlinux.org/index.php/silent_boot

https://wiki.debian.org/plymouth

Unfortunately, I can't really get Plymouth to work.
I see something flickering in the boot process, but the screen just stays black.
I'll keep working on that.

But otherwise you only see...

Start Live System.....

But, absolutely perfect for the moment, I'll stick to it.

taumeister 01-16-2018 03:45 PM

Yes ondoho you are right..

Unfortunately, I can't really get Plymouth to work.
I see something flickering in the boot process, but the screen just stays black.
I'll keep working on that.

Mill J 01-16-2018 04:00 PM

So what happens when you run the preview from your terminal?
Code:



plymouthd
plymouth --show-splash
plymouth --quit

Also does it have any themes installed or set?
Code:

plymouth-set-default-theme -l

taumeister 01-16-2018 04:44 PM

hmm..

the first two commands simply do nothing.
..set-default shows all the themes
details
fade-in
glow....
.
.
And I installed it with

plymouth-set-default-theme -R THEME

but..eventually I made a mistake with this part in the documentation:

https://wiki.debian.org/plymouth

Part Configuration / Graphics Card...

I installed them all, put them all in modules, 'cause I thought i could handle all grapics card then?...wrong?

Mill J 01-16-2018 05:01 PM

I'm assuming that your system is based on Debian?

The arch Plymouth link has:
Quote:

Themes can be previewed without rebuilding, press Ctrl+Alt+F2 to change to console, log in as root and type:
# plymouthd
# plymouth --show-splash
To quit the preview, press Ctrl+Alt+F2 again and type:
# plymouth --quit
Every time a theme is changed, the kernel image must be rebuilt:
# plymouth-set-default-theme -R <theme>
Reboot to apply the changes.
It's been awhile...but when i messed with Plymouth I was running my own version of Suse.

taumeister 01-16-2018 05:16 PM

Yes, this is exactly what i have done.

plymouthd - shows nothing

plymouth --show-splash -shows nothing


plymouth --quit - does nothing

Every time a theme is changed, the kernel image must be rebuilt:
# plymouth-set-default-theme -R <theme>

I changed it ( again for 5 minutes ) and did update-initramfs -u

reboot - no effect.

What do you think on the graphics card part.

What exactly has to be there in modules

All Graphic Cards or only one?

Code:

# KMS
intel_agp
drm
i915 modeset=1
For Nouveau (nVidia):

# KMS
drm
nouveau modeset=1
For ATI:

# KMS
drm
radeon modeset=1

thanks for helping

Mill J 01-16-2018 05:36 PM

As far as I know you'll only need to set the one for your graphics card. But if your planning on running it on other systems with different card you'll likely want to check into the others.

Have you noticed any errors when you run dmesg?

ondoho 01-17-2018 01:08 AM

is this for debian, ubuntu, or something else?
archwiki is very good, but one needs to be aware that there can be differences, when applying their howtos to other systems.

i once managed to install & get plymouth working on a debian wheezy machine.
the howto was on crunchbang forums (now largely defunct, but maybe you can find it with the wayback machine. it must have been in 2014)

taumeister 01-17-2018 07:29 AM

Im debootstraping for debian only from Deepin Linux.

And I read the INfos from Arch and from Debian Website.

taumeister 01-17-2018 07:44 AM

haha this is cool...look
https://www.linuxquestions.org/quest...rk-4175523267/

say..how often did you answer to this question?
And only 600 Posts ago..

:=)


All times are GMT -5. The time now is 01:14 AM.