After my nvidia drivers wouldn’t load on 5.10, I found out that my kernel is out of sync:
pacman -Q linux && uname -r
:
linux510 5.10.13-2
5.10.7-3-MANJARO
Manjaro settings also reports .13, but mkinitcpio -p linux510
uses .7
How can I fix this?
Edit: Even after booting into 5.9, removing and re-installing 5.10 through Manjaro settings manager, I get Starting build: 5.10.7-3-MANJARO
Edit2: Turns out mkinitpcio
uses the old version because I use a custom path in my linux510.preset. My systemd-boot is installed at /boot/efi/
, so to prevent from having to copy over all the files each time I adjusted the preset to install the files to /boot/efi/EFI/Manjaro/5.10/
, but when I change that back it does build the 5.10.13, which seems rather strange. This does build the right kernel, but now I have to manually copy over all the files every time, how can I do this automatically?