Plymouth: name of your kernel preset? (mkinitcpio)

I’m using the Arch wiki to change to change the default Plymouth theme. All seems straight forward: https://wiki.archlinux.org/index.php/plymouth#Changing_the_Theme

Says: every time a theme is changed, the kernel image must be rebuilt with:

# mkinitcpio -p <name of your kernel preset; e.g. linux>

So name of kernel preset = linux , here?

Thanks.

On opensuse, you would presumably run “mkinitrd” to rebuild the “initrd”. That would be in place of the “mkinitcpio” (the Arch way of doing it).

Thanks. So that **-p **option for mkinitcpio which is the preset option and pre-defines how to create the initramfs image. Is that different to the -p preload option that mkinitrd uses? Definition of that mkinitrd -p preload option is:

>>Load the module module in the initial ramdisk image. The module gets loaded before any SCSI modules which are specified in /etc/modprobe.conf. This option may be used as many times as necessary.

Which would seem to do the same thing to me.

“mkinitrd” has changed between opensuse 13.1 and opensuse 13.2.

For 13.2, it is a wrapper around “dracut”. The man pages do not mention a “-p”. If you want to have special settings, it is probably better to configure “dracut” directly.

Before “13.1”, “mkinitrd” was, in effect, a bunch of scripts. And there were settings for that, too, such as in “/etc/sysconfig/kernel” to list kernel modules to be loaded in the “initrd”.

On 2014-11-26 16:46, david banner wrote:
>
> Thanks. So that *-p *option for -mkinitcpio- which is the -preset-
> option and pre-defines how to create the initramfs image. Is that
> different to the -p -preload- option that mkinitrd uses? Definition
> of that mkinitrd -p -preload- option is:

Are you using 13.1 or 13.2?

13.1 does not use dracut, and 13.2 does, so the method to modify things
are very different. Be very careful with what instructions you follow.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Yes, 13.2. After nrickert’s reply, when I’d got to that point, I was going to try:

mkinitrd linux

I suggest just


# mkinitrd

Out of interest I just checked dracut help and it reads

linux-d6i9:/home/me # dracut --help
Usage: /usr/bin/dracut [OPTION]... <initramfs> <kernel-version>]]

Version: 037-17.6.1

Creates initial ramdisk images for preloading modules

  --kver [VERSION]      Set kernel version to [VERSION].

So I’m guessing :

dracut --kver 3.16.6-2-desktop

is applicable here also.

You only need that if you have mulitiple kernels installed but only want to create “initrd” for one of those kernels.

As far as I know, the default is to build an “initrd” for each installed kernel.

Works great after some Plymouth glitches.

  • Install the Plymouth themes you want from software management. You should see the ones you installed using:
plymouth-set-default-theme -l
  • Edit **/etc/plymouth/plymouthd.conf **to = the one you want.

  • then

mkinitrd
  • you might have to refresh bootloader after, YMMV.
grub2-mkconfig -o /boot/grub2/grub.cfg

I’ve got mine set to Plymouth “details” and the KDE5 splash. Looks well.

On 2014-11-26 22:26, david banner wrote:
>
> Out of interest I just checked dracut help and it reads

I have read reports that using dracut directly with documented options
in openSUSE often fails, because of the openSUSE customizations. So just
use “mkinitrd” without options, which has been adjusted to work properly.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

I’m not trying to hijack this thread but if it’s possible I’d really like to see a screenshot of what you’ve done david_banner. :slight_smile:

Screenshot of the boot to desktop process?? I’ll see if I can find a working digital camera - phone and laptop cameras are both terminally flakey atm :stuck_out_tongue:

However, there is footage (enough to give an idea) of Plymouth in “details” mode (from 15s on), here : https://www.youtube.com/watch?v=yIrzAmY4bSU

Assuming you’re on KDE, you can preview the new KDE 5 splash for yourself by going to System Settings >> Workspace Appearance >> Splash Screen >> Get New Themes >> type kde 5 in search and install “Kde 5 Splash Screen” by alesandromarkes. When it’s done, find it with the other installed themes in front of you, click to highlight it, and click “Test Theme”

See how you go with that and I’ll try and sort some movie magic out. :good:

INITRD_MODULES still works with 13.2 mkinitrd.