after changing the kernel to lts with akm i get this error whn trying to boot:
file /vmlinuz-linux not found
i have booted to live iso and i found that there is the file: vmlinuz-linux-lts in the boot folder and not vmlinuz-linux
how to fix this?
with terminal
sudo mkinitcpio -P
if you use dracut
sudo dracut-rebuild
i write this in the terminal in the live usb:
“sudo mkinitcpio -p”
it print: option -p requires an argument
sudo dracut-rebuild
command not found
Did you rerun a grub or systemd-boot configuration after changing the kernel in akm?
It looks like your boot-menu does not know to use the lts-kernel.
You have to use a P in upper case.
thank you, now i get:
error: specified image kernel does not exist: /boot/vmlinuz-linux
no, i did not run it.
i thought that the akm will take care of any needed configuration
Did you remove the standard linux-kernel while using akm?
I am not sure, if akm does rerun grub or systemd-boot configuration after changing the kernels. You have to do it on your own.
yes, after hitting execute in akm it opens a terminal and it removed the main kernel and install the lts one
now i cant boot to the system, what can i do from the live iso to fix this?
I would do following steps:
- If you are in the live-system, you have to change-root into you installation. Please read the complete howto because there are several caveats you have to look at.
- Next step will be the rebuild of all kernels. Use
sudo mkinitcpio -P
for this. - Then rebuild
grub
. In the wiki is a according howto: https://discovery.endeavouros.com/system-rescue/repair-a-non-booting-grub/2021/03/
This howto has all information you need. Please read thew complete howto before starting to execute.
Hope it helps.
thank you very much.
the grub config file is rebuild now and i can boot to the system again.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.