omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

4.5 drops Plymouth from the initramfs on legacy Apple Silicon installs, so the LUKS prompt falls back to the text console

Open ozz1ee-dev opened this issue 3 weeks ago • 2 comments

System details

Apple MacBook Air 15" (M2, 2023), Mac14,15 / board J415, aarch64 (Asahi Linux / U-Boot 2026.07) Omarchy 4.5.0-3 (upgraded from 4.0.3rc4-1 on 2026-11-05) linux-asahi 7.2.12.asahi3-1, mkinitcpio 42.2-1, plymouth 26.134.222-3, Hyprland 0.57.1, SDDM

What's wrong?

The graphical LUKS passphrase prompt disappeared with 4.5 on this legacy Apple Silicon install. Before the update the disk unlock password was asked on the Omarchy Plymouth screen; after updating to 4.5 the same prompt is plain text on the raw console. SDDM is unaffected (it is running and auto-logins), this is only the initramfs prompt.

The initramfs built after the upgrade contains no Plymouth at all:

$ lsinitcpio /boot/initramfs-linux-asahi.img | grep -c plymouth
0

Effective HOOKS after the 4.5 upgrade (reported by omarchy-mac-initramfs-hooks):

base asahi udev autodetect microcode modconf kms keyboard keymap consolefont block encrypt filesystems fsck

Before 4.5 the same machine built with (pacman log, 2026-10-21 and 2026-11-03):

-> Running build hook: [udev]
-> Running build hook: [plymouth]
-> Running build hook: [keyboard]
...
-> Running build hook: [encrypt]

/proc/cmdline still has ... cryptdevice=UUID=...:root:allow-discards loglevel=3 quiet splash, so the command line is unchanged.

Root cause

/etc/mkinitcpio.conf on these installs never listed plymouth itself (the file is unchanged since the install, dated 2026-10-10):

HOOKS=(base asahi udev autodetect microcode modconf kms keyboard keymap consolefont block encrypt filesystems fsck)

Before 4.5 the drop-in etc/mkinitcpio.conf.d/omarchy_hooks.conf set the whole line, and it included plymouth (v4.0.6):

HOOKS=(base udev plymouth keyboard autodetect microcode modconf kms keymap consolefont block encrypt filesystems fsck btrfs-overlayfs)

In 4.5 that is gone. The new 00-omarchy-hooks.conf treats this line as platform-owned (it contains asahi, and on Apple Silicon a busybox encrypt line), so it deliberately leaves HOOKS untouched:

if [[ " ${HOOKS[*]:-} " == *" asahi "* ]] ||
  [[ $_omarchy_platform == "aarch64-apple" && " ${HOOKS[*]:-} " == *" encrypt "* ]]; then
  _omarchy_platform=platform-owned
fi
...
case $_omarchy_platform in
  platform-owned) ;;

and 93-omarchy-mac-plymouth.conf (from omarchy-mac-boot) only inserts the hook after a systemd hook, which a legacy busybox encrypt line never has:

if [[ $_omarchy_mac_plymouth_hook == systemd && $_omarchy_mac_plymouth_added == false ]]; then
  _omarchy_mac_plymouth_hooks+=(plymouth)

So a legacy line keeps encrypt but loses plymouth. The encrypt hook then takes its text fallback, because plymouth --ping fails:

if command -v plymouth >/dev/null 2>&1 && plymouth --ping 2>/dev/null; then
    plymouth ask-for-password ...

Note that test/shell.d/mkinitcpio-hooks-test.sh expects legacy Apple lines to already carry plymouth — legacy_grub="base asahi udev plymouth autodetect ... encrypt filesystems fsck" — but that was only ever true at build time via the old omarchy_hooks.conf, never in the on-disk HOOKS line, so the test suite does not catch this case.

Steps to reproduce

  1. Have an Apple Silicon (Asahi) Omarchy install made before 4.5, with LUKS root unlocked by the busybox encrypt hook via cryptdevice= (this is what 91-omarchy-mac-encrypt.conf calls a legacy line), i.e. /etc/mkinitcpio.conf HOOKS is base asahi udev autodetect ... encrypt ... with no plymouth.
  2. Upgrade to Omarchy 4.5 and rebuild the initramfs (omarchy update / mkinitcpio -P).
  3. Reboot → the LUKS passphrase is asked as text on the console instead of the Plymouth unlock screen.

Expected

The legacy Apple Silicon line keeps the Plymouth LUKS prompt, exactly as 4.0.x did.

Workaround

Adding plymouth after udev in /etc/mkinitcpio.conf and rebuilding restores it (initramfs then contains hooks/plymouth, usr/bin/plymouthd and usr/share/plymouth/themes/omarchy/*):

HOOKS=(base asahi udev plymouth autodetect microcode modconf kms keyboard keymap consolefont block encrypt filesystems fsck)

Suggested fix

In the platform-owned branch of 00-omarchy-hooks.conf (or in 93-omarchy-mac-plymouth.conf, anchoring on udev when there is no systemd hook), add plymouth when /usr/lib/initcpio/install/plymouth exists and the line does not already contain it. A migration that rebuilds the image for installs carrying the legacy line would also fix machines already updated.

ozz1ee-dev avatar Nov 07 '26 11:11 ozz1ee-dev

I read the report, the current initramfs hook configuration and the legacy Apple test fixtures. No boot reproduction or fix verification has run. GPT-6 in Codex (effort setting not exposed) was the only model to review this item; the second classifier returned no classification, so classification remains unsettled. This needs a completed classification review before further verification.

omarchybot avatar Nov 19 '26 01:11 omarchybot

I reproduced the missing hook in a scratch configuration on a disposable x86 worker, using the reported legacy HOOKS line, current Omarchy drop-ins and the Apple boot-package fixtures. 00-omarchy-hooks.conf:23–29 leaves that platform-owned line unchanged, while 93-omarchy-mac-plymouth.conf:9 inserts Plymouth only after systemd, which this busybox encrypt line lacks.

Substituting only the baseline file from #18026 at 1bc5cca3887b1d6190517db01e4c6bce27851f28 inserted plymouth after udev and preserved every other hook. Restoring the current baseline removed it again. This establishes the configuration defect; no real initramfs build or Apple Silicon graphical unlock was tested.

GPT-6 in Codex (effort setting not exposed), Opus 5.5 High and muse-wonder via pi, thinking high, reviewed this diagnosis. Both second reviewers agreed; their independence is not guaranteed. Automatic linking to #18026 was refused because that PR has no agreed fix classification. This is waiting on the maintainer for that PR's classification and review; the boot result on an affected Mac remains unverified.

omarchybot avatar Nov 23 '26 08:11 omarchybot