You are not logged in.

#1 2025-03-10 17:21:37

kcarch
Member
Registered: 2025-03-10
Posts: 2

How to make "plymouth" to work with "archiso" ?

hi everyone

i followed the plymouth wiki and archiso wiki https://wiki.archlinux.org/title/Plymouth but there is not much info regarding Archiso together with plymouth.

so need input from the experts.
if possible please try building an archiso images which has working plymouth boot animation and share with me the steps to achieve that.

i followed these steps

  1. Git clone archiso https://gitlab.archlinux.org/archlinux/archiso.git

  2. Add following packages in configs/releng/packages.x86_64

    breeze-plymouth
    plymouth
  3. Add plymouth hook in configs/releng/airootfs/etc/mkinitcpio.conf.d/archiso.conhttps://wiki.archlinux.org/title/Plymouth#mkinitcpio

  4. Add following code

    /etc/plymouth/plymouthd.conf
    
    [Daemon]
    Theme=breeze
  5. Created user account as mentioned in https://wiki.archlinux.org/title/Archis … _passwords

  6. Added systemd service for delay https://wiki.archlinux.org/title/Plymou … _animation

  7. Finally built the iso https://wiki.archlinux.org/title/Archiso#Build_the_ISO

But the problem is plymouth boot animation is not getting displayed

what am i doing wrong? what step did i missed?

also is this step necessary ?

plymouth-set-default-theme -R breeze

if yes then how to do it in archiso?

Offline

#2 2025-03-12 06:37:35

kcarch
Member
Registered: 2025-03-10
Posts: 2

Re: How to make "plymouth" to work with "archiso" ?

also is this step necessary ?

plymouth-set-default-theme -R breeze

if yes then how to do it in archiso?

i booted the built iso file. i get this error message when trying to run above command

==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'archiso'
==> Using configuration file: '/etc/mkinitcpio.conf.d/archiso.conf'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf.d/archiso.conf -g /boot/initramfs-linux.img
==> ERROR: specified kernel image does not exist: '/boot/vmlinuz-linux'

i think this is because archiso deletes everything inside /boot directory







so i git cloned again and commented out this line
https://gitlab.archlinux.org/archlinux/ … heads#L155

which does not deletes everything inside /boot directory and rebuilt the iso file

Now everything inside /boot directory is present in the final iso image

plymouth-set-default-theme -R breeze-text

and above command runs succesfully and is able to regenerate initrd/initcpio







But running below commands

sudo plymouthd
sudo plymouth --show-splash

does not produce any output


what am i missing? is there some specific package that need to be installed?


even selecting default themes that come pre-packaged with "plymouth" like "tribar" does not produce any output.

Offline

Board footer

Powered by FluxBB