LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   Error: file ‘/boot/initramfs-zen.img’ not found (https://www.linuxquestions.org/questions/arch-29/error-file-%91-boot-initramfs-zen-img%92-not-found-4175718461/)

MintyNZ 11-04-2022 11:23 PM

Error: file ‘/boot/initramfs-zen.img’ not found
 
So I ran a "sudo pacman -Syu" update and this popped up.

Loading Linux linux …
Loading initial ramdisk …
error: file ‘/boot/initramfs-zen.img’ not found

Press any key to continue…

I can still load into Arch from standard kernel but the zen kernel appears to have been broken by the update.

Is there a way to repair the zen kernel or perhaps uninstall it and start again?


SOLVED (sort of):

sudo pacman -Rsu linux-zen linux-zen-headers

sudo grub-mkconfig -o /boot/grub/grub.cfg

Removed zen kernel and regenerated grub then moved to LTS. Did not reinstall zen. Maybe it would work with zen reinstall-not sure?

hazel 11-06-2022 07:39 AM

Any chance of creating the initramfs image by hand using mkinitrd or whatever Arch calls that script? In most distros it is run by the kernel installation script.

MintyNZ 11-07-2022 12:15 AM

Quote:

Originally Posted by hazel (Post 6390586)
Any chance of creating the initramfs image by hand using mkinitrd or whatever Arch calls that script? In most distros it is run by the kernel installation script.

Thanks for the suggestion. I solved it simply by removing the Zen kernel and regen the grub. As stated in my reply to my own post. I have moved on to LTS. Hopefully it proves more durable.


All times are GMT -5. The time now is 02:30 AM.