CodexBloom - Programming Q&A Platform

Arch Linux - how to to Boot After Updating Kernel with Missing initramfs

👀 Views: 32 đŸ’Ŧ Answers: 1 📅 Created: 2025-06-13
linux arch-linux boot bash

I tried several approaches but none seem to work. After updating the kernel on my Arch Linux machine to version 6.0.8, I am working with boot issues where the system fails to find the initramfs image. The boot process hangs with the behavior message: `behavior: Failed to mount /dev/disk/by-uuid/<uuid>: No such file or directory`. I have tried regenerating the initramfs using `mkinitcpio -P`, but it doesn't seem to help. Additionally, I've checked the `/boot` directory and confirmed that the new initramfs file named `initramfs-linux.img` exists. Here's the command I used: ```bash mkinitcpio -P ``` I also updated the bootloader configuration using the command: ```bash grub-mkconfig -o /boot/grub/grub.cfg ``` Despite these steps, I still want to boot into the system. I suspect there might be an scenario with the UUID of the root partition or a misconfiguration in the `grub.cfg`, but I am not sure how to verify or troubleshoot this further. Any insights or solutions would be greatly appreciated! This is part of a larger API I'm building.