VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Boot menu and slash screen  (Read 507 times)

black-clover

  • Member
  • *
  • Posts: 91
  • user
Boot menu and slash screen
« on: July 15, 2017, 05:14:30 pm »

How can I edit the text of the Grub menu and add a splash screen image during the boot of the system?
I read about an app called grub-customizer and found a Slackware pkg but it's old (4.0.6 where the latest version is 5.0.6) and also I'm not sure if it would work on Vector Linux or there would be dependencies issues.
Logged

retired1af

  • Administrator
  • Vectorian
  • *****
  • Posts: 1467
Re: Boot menu and slash screen
« Reply #1 on: July 15, 2017, 09:08:56 pm »

Everything you wanted to know about Grub2 and more.

http://www.dedoimedo.com/computers/grub-2.html
Logged
ASUS K73 Intel i3 Dual Core 2.3GHz

black-clover

  • Member
  • *
  • Posts: 91
  • user
Re: Boot menu and slash screen
« Reply #2 on: July 16, 2017, 10:07:42 pm »

Thanks, actually I discovered that installing themes is a lot easier than customize the Grub. graphic.
The howto however does not say how to display the splash image while the kernel is loading.
Do I have to compile the kernel to do that or there is another way?
Logged

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4443
Re: Boot menu and slash screen
« Reply #3 on: July 17, 2017, 03:42:47 am »

I don't know the particulars of the process, but to point you in the general direction: The boot splash goes in the initrd, and the mechanism to research is "plymouth".
Logged

black-clover

  • Member
  • *
  • Posts: 91
  • user
Re: Boot menu and slash screen
« Reply #4 on: July 18, 2017, 11:05:12 pm »

ok, I installed and tried Plymouth but I must have done something wrong.

I used ctrl+alt+F2 to exit the desktop.
then #plymouthd
then #plymouth --show-splash

and got a blank screen with the message

gdm-binary{4013]:no suitable security token could be found

Any clue?
Logged

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3487
Re: Boot menu and slash screen
« Reply #5 on: July 19, 2017, 07:26:43 am »

Splash screen is a pretty complex thing, hard to maintain and offers absolutely no benefit other than eye appeal, which is the reason we dropped it off the distro.  But if you want to restore it, here are some things you should look for.

After building the plymouth stuff, you will need to rebuild the initrd.  Your new initrd will need to include the plymouth binaries and related libraries as well as video drivers (modules) for your video card.

Once that is complete, you will need to probably edit a couple of init files (maybe rc.S and/or rc.M)

This is NOT exactly a howto, as you can tell is a pretty general idea of what is involved, which might serve as an explanation of why we dropped it.  Even when this is successfully and properly setup, the bootsplash was a hit-and-miss for us.  It would work for some users, not for others and would sometimes have undesired side effects (high cpu usage and consuming system resources come to mind)

Hope this helps (maybe?)
« Last Edit: July 19, 2017, 07:30:32 am by M0E-lnx »
Logged

black-clover

  • Member
  • *
  • Posts: 91
  • user
Re: Boot menu and slash screen
« Reply #6 on: July 19, 2017, 09:17:58 am »

I tried it on a test system, rebuilt the initrd and the boot process stopped halfway through... hahaha.
As you said, it's pretty tricky stuff, I put it in the backburner for the time being.
Logged

retired1af

  • Administrator
  • Vectorian
  • *****
  • Posts: 1467
Re: Boot menu and slash screen
« Reply #7 on: July 19, 2017, 04:17:39 pm »

Splash screens are one of the first thing I disable in Grub, regardless of distro. I like the scrolling text. :)
Logged
ASUS K73 Intel i3 Dual Core 2.3GHz