Omarchy still won't install after CPU replacement. Other Linux distributions now work. Looking for ideas #6297
System detailsDarkHero Z790, I9-14900KS, 128GB Ramm, RTX 5090 What's wrong?Hi everyone, I wanted to share an update on my installation issue and document everything I've tested so far. Initially I suspected my hardware because multiple Linux distributions were failing, often with kernel panics or installer crashes. Windows was mostly usable, but Linux consistently failed. Over the past weeks I tested almost everything I could think of: Reset BIOS to Intel default settings. Eventually I sent the system in for RMA. The service center performed their own hardware tests and the CPU failed an OCCT CPU stress test. My Intel 14900 CPU was replaced under the extended warranty. After receiving the new CPU, the situation changed: Ubuntu installs successfully. However... Omarchy still refuses to install. So the original hardware issue has been resolved, but there still seems to be something specific preventing Omarchy from installing on my system. Current hardware: ASUS ROG Maximus Z790 Dark Hero At this point I'm trying to determine whether this is: something specific to Omarchy, Has anyone experienced something similar, or is there any debug information I can provide that would help narrow this down? |
Replies: 2 comments
|
Is there anything what I can do to help? Or does someone have any suggestions what I can try? I miss Omarchy so much! ;) |
Solved — root cause found: GRUB runs out of low memory (<4 GiB) on this boardFollow-up to my earlier report. This turned out to be two unrelated problems stacked on top of each other, Problem 1: a genuinely faulty CPU (already resolved)Multiple distros were crashing, so the system went in for RMA. The service center's own testing showed the Problem 2: not enough usable RAM below the 4 GiB boundary for GRUBThe failure was GRUB's I dumped the memory map that my firmware hands to a bootloader (
The rest of that zone is reserved for PCIe/MMIO and firmware. Most boards leave 2–3 GiB there. Ironically it's the Now the arithmetic:
It doesn't fit. Hence the out-of-memory abort.
The fix: skip GRUB entirely and boot the kernel via its EFI stubThe kernel on the Omarchy ISO is built with an EFI stub flagged This explains every observation that previously made no sense:
The fix: skip GRUB entirely and boot the kernel via its EFI stubThe kernel on the Omarchy ISO is built with an EFI stub flagged The rest of that zone is reserved for PCIe/MMIO and firmware. Most boards leave 2–3 GiB there. Ironically it's the 128 GB of RAM and the RTX 5090 that squeeze this Now the arithmetic:
It doesn't fit. Hence the out-of-memory abort. This explains every observation that previously made no sense: This explains every observation that previously made no sense:
The fix: skip GRUB entirely and boot the kernel via its EFI stubThe kernel on the Omarchy ISO is built with an EFI stub flagged I copied the kernel and initramfs from the USB stick to my existing EFI System Partition and created a one-shot boot entry (Secure Boot must be off): # 1. Copy kernel + initramfs off the Omarchy USB onto the ESP
sudo mkdir -p /boot/efi/EFI/omarchy-installer
sudo cp /run/media/$USER/<ISO_LABEL>/arch/boot/x86_64/vmlinuz-linux \
/run/media/$USER/<ISO_LABEL>/arch/boot/x86_64/initramfs-linux.img \
/boot/efi/EFI/omarchy-installer/
# 2. Create the EFI-stub boot entry (adjust disk/part to your ESP)
sudo efibootmgr --create --disk /dev/nvme0n1 --part 1 \
--label "Omarchy EFI-stub installer" \
--loader '\EFI\omarchy-installer\vmlinuz-linux' \
--unicode 'initrd=\EFI\omarchy-installer\initramfs-linux.img archisobasedir=arch archisolabel=<ISO_LABEL>'
# 3. Boot it once (replace XXXX with the entry number printed above)
sudo efibootmgr --bootnext XXXXReboot with the USB stick still plugged in — it still provides the installer filesystem; only the kernel/initramfs load path changed. The installer came straight up and Omarchy installed without a single issue. After installation: keep the initramfs smallThe installed system boots via Limine, which uses a combined kernel+initramfs image, so it can hit the same wall on firmware like this. Issues #5243 and #5980 look like the same class of failure. Right after the first successful boot I added a compression drop-in — this is a config file, so it applies to every future initramfs rebuild, sudo tee /etc/mkinitcpio.conf.d/omarchy_compression.conf >/dev/null <<'EOF'
COMPRESSION="zstd"
COMPRESSION_OPTIONS=(-19 --long -T0)
EOF
sudo limine-mkinitcpioHow to check whether you have this problemIf your Omarchy install dies with for d in /sys/firmware/memmap/*/; do
s=$(cat "$d/start"); e=$(cat "$d/end"); t=$(cat "$d/type")
if [ "$t" = "System RAM" ] && [ $((s)) -lt $((4*1024**3)) ]; then
echo "$(( (e - s) / 1024 / 1024 )) MiB usable at $s"
fi
doneIf the largest single block is smaller than your initramfs ( Summary
Happy to provide the full |
Solved — root cause found: GRUB runs out of low memory (<4 GiB) on this board
Follow-up to my earlier report. This turned out to be two unrelated problems stacked on top of each other,
which is why it took so long to untangle.
Problem 1: a genuinely faulty CPU (already resolved)
Multiple distros were crashing, so the system went in for RMA. The service center's own testing showed the
i9-14900KS failing an OCCT CPU stress test, and it was replaced under the extended warranty. After that,
Ubuntu, Pop!_OS and other distros installed and booted fine.
But Omarchy still refused to install. So the hardware was fine — something else was going on.
Problem 2: not enough usable RAM below the 4 GiB b…