You are not logged in.
Recently I have updated my Arch system which also included a new kernel. While rebooting the system, GRUB produced an error that `could not locate /boot/vmlinuz-linux`. Upon investigation, I found that recent update deleted vmlinux-linux and initramfs-linux.img located at /boot/. However I could see the intel-ucode.img at /boot. While going through many post online about the issue, it seems that updated mkinitcpio hooks does not install vmlinz and initramfs at /boot/. However, there are no documentation available in the internet to indicate where is the new install location for those two packages. After lot of manual search I could locate vmlinuz at /usr/lib/modules/5.4.10-arch1-1/vmlinuz but could not find the initramfs-linux.img. Currently, my system is unable to boot due to missing kernel packages. Could some one guide me in the right direction.
Last edited by sundar_ima (2020-01-17 11:27:23)
Offline
Upon investigation, I found that recent update deleted vmlinux-linux and initramfs-linux.img located at /boot/.
That's not supposed to happen, which update did that ?
Incase you are thinking about https://www.archlinux.org/news/new-kern … pio-hooks/ , the job of creating initram files was transferred from kernels to mkinitcpio.
Nothing was changed wrt the location of the initram files.
Is /boot a separate partition on your system ?
If so, was it mounted when you performed the update ?
Try booting the archinstall iso and chroot to recreate initram files, https://wiki.archlinux.org/index.php/Chroot
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
mkinitcpio does generate the images to /boot granted the kernel packages were relevantly updated which all official ones were. What happens if you run
mkinitcpio -P
also what do you get for
pacman -Q mkinitcpio
pacman -Qs linux
Offline
Is /boot a separate partition on your system ?
No. I don't have separate partition for boot.
I think it I need to install/ create initrid file through chroot.
also what do you get for
I can't even boot in to the Arch system.
Offline
So to it while you're chrooted.
Offline
It appears to be the case of partial upgrade. chrooted to arch linux and reinstalled new linux package. Issue solved. Thanks.
Offline
Please remember to mark your thread [SOLVED] (edit the title of your first post).
Offline