惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 司徒正美
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
月光博客
月光博客
量子位
大猫的无限游戏
大猫的无限游戏
Stack Overflow Blog
Stack Overflow Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The Cloudflare Blog
P
Proofpoint News Feed
B
Blog RSS Feed
美团技术团队
腾讯CDC
C
Check Point Blog
Engineering at Meta
Engineering at Meta
F
Fortinet All Blogs
N
Netflix TechBlog - Medium
Recent Announcements
Recent Announcements
J
Java Code Geeks
S
SegmentFault 最新的问题
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享

Arch Linux Forums

Avidemux crashes without strace / Applications & Desktop Environments how to apply patches with non-linux linends / Newbie Corner Replicating CachyOS on vanilla Arch (or at least getting close) / Arch Discussion What's arch linux GUI package manager ? / Newbie Corner Hibernation failing due to insufficient memory / System Administration profiledef.sh editting question / Installation trying to script kde plasma wallpaper settings / Programming & Scripting Looking for new Audacious package maintainer / Creating & Modifying Packages issues installing arch with LUKS2 encryption / Newbie Corner QEMU PXE booting does not work with OVMF.4m.fd / Applications & Desktop Environments Wired lan regular disconnect / Newbie Corner Need Help setting up ARCH in my G16 G634JZR iwlwifi started failing consistently, trying to determine root cause Windows randomly jumping between monitors after GNOME 50 update No display via DP or HDMI after boot. / Kernel & Hardware how to change acpi platform_profile? / Newbie Corner Linux denied all kernel modules which not loaded right now Use iPhone as Webcam for Arch Linux Video Output Failure on nvidia-580xx-dkms on TTY --> Desktop switch (Page 2) / Kernel & Hardware I was going to rant ..WINE32 Sabotage compliments of Arvind Krishna / Arch Discussion [SOLVED] LUKS drive auto unlocked by TPM when expected not to / Networking, Server, and Protection Hibernate/suspend from X = dark panel; from TTY = works (ASUS G14, hyb (Page 2) / Laptop Issues Headphone jack noise/buzz / Newbie Corner segmentation fault in cc1plus when building CLK / AUR Issues, Discussion & PKGBUILD Requests Console alternative to meld / GNU/Linux Discussion Problem with paru git clone / Newbie Corner XKB questions / Applications & Desktop Environments gnome-keyring-daemon is not working correctly / Applications & Desktop Environments [SOLVED] Steam opens and immediately closes constantly / Newbie Corner Firefox rounded edges on Sway / Applications & Desktop Environments
Using Plymouth with UKI/Secure Boot / Newbie Corner
Barrigers · 2026-06-15 · via Arch Linux Forums

#1 2023-11-30 20:30:47

Roark
Member
Registered: 2023-11-30
Posts: 7

Using Plymouth with UKI/Secure Boot

Hey there. I did a new Arch install yesterday. The install was straightforward and things are up and running smoothly; it's not my first Arch install as I ran it as my daily driver during college. I have a post-install question that I'm hoping to get some assistance with. Bear in mind this is pretty nitpicky/niche so even if it goes unresolved it's not going to affect me at all, but it is something I'd like to get sorted out if possible.

For full(-ish) context, my setup is configured as follows:

  • 1TB NVMe SSD partitioned into three partitions. Partition 1 is a 512MiB EFI partition, partition 3 is a 64GiB encrypted swap partition, and partition 2 is an encrypted BTRFS partition that fills the rest of the space.

  • Using mkinitcpio to generate kernel images.

  • Other hardware is AMD 5800X3D CPU, AMD 7900XTX GPU, 64GiB memory if that matters at all.

  • I'm running KDE Plasma/Wayland.

  • I attempted to use a signed UKI for Secure Boot essentially following this write-up, but am now just using a generic kernel (more info in the question below).

My question is about using Plymouth with a signed UKI. I kind of like having a Plymouth splash when booting. Is it possible to do this using a UKI? I know I can trivially set up the Arch Linux bmp as a static splash image, but it'd be neat to have Plymouth working. I imagine this might involve needing to move the required Plymouth stuff onto the EFI partition.. but I'm not certain about that. This is where I'm super ignorant and couldn't find a straightforward answer anywhere. Since switching to a generic kernel I've tried to set up Plymouth as well by adding plymouth to the HOOKS section of my linux.preset file and then running "mkinitcpio -P" to regenerate everything. It doesn't seem to show Plymouth at all either before (expected) or after decrypting the BTRFS partition. I've seen mentions of having this setup work for others, but I cannot seem to get it working myself.

Any help is appreciated!

Last edited by Roark (2023-11-30 20:41:35)

#2 Today 22:04:16

Barrigers
Member
Registered: Today
Posts: 1

Re: Using Plymouth with UKI/Secure Boot

Maybe a late response, but for anyone wondering how to use Plymouth with UKI, you should look at where your Kernel parameters come from, when using UKI they generally come from "/etc/kernel/cmdline" so you should append to the same line

for enabling plymouth splash, and probably you will also want:

quiet loglevel=3 vt.global_cursor_default=0

for quiet boot, register errors to a log file and disabling the blinking cursor, respectively. And if you also want to disable the default boot splash that comes when you use "archinstall" with UKI, you should edit the file "/etc/mkinitcpio.d/linux.preset", and remove from "default_uki" this text:

--splash=/usr/share/systemd/bootctl/splash-arch.bmp

Now just run