It should be possible in a way… but what exactly is needed to get it working?
there is a splash-arch.bmp image shipped with systemd package:
And what i find is that it needs to be added inside loader.conf
like so:
splash /usr/share/systemd/bootctl/splash-arch.bmp
??
Does it need anything in addition? sure it would may need adding quiet
to boot parameters but it does not show in that configuration…
1 Like
I try only on dracut as i do currently run it on my personal install…
dalto
September 2, 2022, 12:11pm
4
Try setting the kernel option bootsplash.bootfile=
1 Like
# gid on different systems. Let's install with gid 0 (root), systemd-tmpfiles
# will fix the permissions for us. (see /usr/lib/tmpfiles.d/systemd.conf)
install -d -o root -g root -m 2755 "$pkgdir"/var/log/journal
# match directory owner/group and mode from [extra]/polkit
install -d -o root -g 102 -m 0750 "$pkgdir"/usr/share/polkit-1/rules.d
# add example bootctl configuration
install -D -m0644 arch.conf "$pkgdir"/usr/share/systemd/bootctl/arch.conf
install -D -m0644 loader.conf "$pkgdir"/usr/share/systemd/bootctl/loader.conf
install -D -m0644 splash-arch.bmp "$pkgdir"/usr/share/systemd/bootctl/splash-arch.bmp
# pacman hooks
install -D -m0755 systemd-hook "$pkgdir"/usr/share/libalpm/scripts/systemd-hook
install -D -m0644 -t "$pkgdir"/usr/share/libalpm/hooks *.hook
# overwrite the systemd-user PAM configuration with our own
install -D -m0644 systemd-user.pam "$pkgdir"/etc/pam.d/systemd-user
}
package_systemd-libs() {
could be its only that the bmp is a leftover and the current systemd build does not support it?
but is this the code?
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include <efi.h>
#include <efilib.h>
#include "graphics.h"
#include "splash.h"
#include "util.h"
struct bmp_file {
char signature[2];
uint32_t size;
uint16_t reserved[2];
uint32_t offset;
} _packed_;
/* we require at least BITMAPINFOHEADER, later versions are
accepted, but their features ignored */
struct bmp_dib {
uint32_t size;
This file has been truncated. show original
dalto
September 2, 2022, 5:01pm
6
Just to be clear, when are you expecting to see that?
Only part could be while booting system or not? After systemd-boot starts up till Login
ringo
September 2, 2022, 5:45pm
8
I see only my oem in my builded kernel. With arch bmp https://wiki.archlinux.org/title/Unified_kernel_image
dalto
September 2, 2022, 5:53pm
9
I use plymouth for that. It “just works” on my systemd-boot/dracut machine.
pebcak
September 2, 2022, 5:58pm
10
Would this give some clue?
My idea was to try because it looks simple
I am sure it has the same downside as Plymouth nowadays system boot is very fast and you will o ly see it for a second…
@ringo so with unified kernel image… it will show the OEM logo from uefi while boot?
dalto
September 2, 2022, 6:23pm
12
I just tested it on a clean install. I installed plymouth-git
and rebuilt my initrd and that was it.
Okay okay I will try that
Personal i do not need that but could be interesting if systemd-boot would be able
Don’t start messing with that for all users, pls. Better to stay with grub.
ringo
September 2, 2022, 6:49pm
15
With unified must generzte with mkinitcpio --uefi or dracut --uefu i dont know you can use it with systemd boot i think… that splash option to a bmp file is with that.
Currently i have build a kernel enabled the splash arch was enabled but is disabled. For system oem you have to build the kernel and silent boot eventual also fsck …i builded a specifik amd raven kernel
ringo
September 2, 2022, 6:55pm
16
For oem with own builded kernel can only in grub-silent or systemd-boot
ringo
September 2, 2022, 7:22pm
17
with oem is build a fresh kernel and silent boot+ systemdboot or grub-silent
info only !
no way we use such as default!!
Just tried plymouth and it simply do not show up needs to delay boot to like 20 seconds to show…
game ends here for me …
1 Like
Good Lord! 20 seconds!
Even if you delay it for 3 seconds you’ll get people complaining.
1 Like
Zesko
September 3, 2022, 8:17am
20
I am using the custom bootsplash
for my unencrypted computer, it shows fast enough like 5 sec without the kernel parameter “quiet”. But you need bootsplash-packer
to create your boot-animation theme as binary file for the kernel parameter bootsplash.bootfile
.
My other encrypted laptop uses sd-plymouth
and sd-encrypt
that support displaying prompt password in theming, bootsplash
does not.