LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 11-04-2022, 11:23 PM   #1
MintyNZ
LQ Newbie
 
Registered: Jun 2022
Distribution: LMDE/Arch
Posts: 19

Rep: Reputation: 1
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?

Last edited by MintyNZ; 11-04-2022 at 11:38 PM.
 
Old 11-06-2022, 07:39 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,610
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
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.
 
Old 11-07-2022, 12:15 AM   #3
MintyNZ
LQ Newbie
 
Registered: Jun 2022
Distribution: LMDE/Arch
Posts: 19

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by hazel View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
problem wiht creating initrd (initramfs.img) file using dracut Crackel Linux - Kernel 0 10-26-2010 06:19 PM
[SOLVED] Mounting .img file (chromiumos.img); can't mount it?? Help please? linus72 Linux - General 2 11-27-2009 08:11 PM
Failed to symbolic-link boot/initrd.img-2.6.18-4-486 to initrd.img Scotteh Linux - Software 8 06-01-2007 11:24 PM
.img burner or way to boot from a .img American Psycho Linux - Software 4 03-24-2004 06:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 05:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration