hey @linux-aarhus can you help us out here?
he is getting:
[manjaro /]# mkinitcpio -P && update-grub
==> ERROR: No presets found in /etc/mkinitcpio.d
we tried reinstalling mkinitcpio and its dependencies with overwrite, it didnt work;
we tried removing it + its dependencies and installing it back with the dependencies, it still doesnt work, help us out on how to fix it, thanks
so chroot again and rerun this command now: pacman-mirrors --fasttrack 5 && pacman -Syyuu
if it installed something, then run this: mkinitcpio -p linux515
[manjaro /]# mkinitcpio -p linux515
/usr/bin/mkinitcpio: line 372: /etc/mkinitcpio.d/linux515.preset: No such file or directory
==> ERROR: Failed to load preset: `/etc/mkinitcpio.d/linux515.preset'
[2022-09-16T01:51:40+0800] [ALPM-SCRIPTLET] call to execv failed (Permission denied)
[2022-09-16T01:51:40+0800] [ALPM-SCRIPTLET] Error connecting: Could not connect: No such file or directory
[2022-09-16T01:51:41+0800] [ALPM-SCRIPTLET] grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
[2022-09-16T01:51:42+0800] [ALPM-SCRIPTLET] grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
[2022-09-16T12:29:15+0800] [ALPM-SCRIPTLET] Error connecting: Could not connect: No such file or directory
[2022-09-16T12:29:17+0800] [ALPM-SCRIPTLET] grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
[2022-09-16T12:29:17+0800] [ALPM-SCRIPTLET] grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
[2022-09-16T12:29:49+0800] [ALPM-SCRIPTLET] Failed to open file "/sys/devices/system/cpu/microcode/reload": Read-only file system
[2022-09-16T12:30:30+0800] [ALPM-SCRIPTLET] call to execv failed (Permission denied)
[2022-09-16T12:30:30+0800] [ALPM-SCRIPTLET] Error connecting: Could not connect: No such file or directory
[2022-09-16T12:30:32+0800] [ALPM-SCRIPTLET] grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
[2022-09-16T12:30:32+0800] [ALPM-SCRIPTLET] grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
[2022-09-16T12:37:25+0800] [ALPM-SCRIPTLET] call to execv failed (Permission denied)
[2022-09-16T12:37:25+0800] [ALPM-SCRIPTLET] Error connecting: Could not connect: No such file or directory
[2022-09-16T12:37:27+0800] [ALPM-SCRIPTLET] grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
[2022-09-16T12:37:27+0800] [ALPM-SCRIPTLET] grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
[2022-09-16T12:38:57+0800] [ALPM-SCRIPTLET] Error connecting: Could not connect: No such file or directory
[2022-09-16T12:38:58+0800] [ALPM-SCRIPTLET] grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
[2022-09-16T12:38:59+0800] [ALPM-SCRIPTLET] grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
[2022-09-16T12:39:30+0800] [ALPM-SCRIPTLET] call to execv failed (Permission denied)
[2022-09-16T12:39:30+0800] [ALPM-SCRIPTLET] Error connecting: Could not connect: No such file or directory
[2022-09-16T12:39:31+0800] [ALPM-SCRIPTLET] grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
[2022-09-16T12:39:32+0800] [ALPM-SCRIPTLET] grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
[2022-09-16T13:03:45+0800] [ALPM-SCRIPTLET] Error connecting: Could not connect: No such file or directory
[2022-09-16T13:03:47+0800] [ALPM-SCRIPTLET] grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
[2022-09-16T13:03:47+0800] [ALPM-SCRIPTLET] grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
[2022-09-16T13:04:35+0800] [ALPM-SCRIPTLET] call to execv failed (Permission denied)
[2022-09-16T13:04:35+0800] [ALPM-SCRIPTLET] Error connecting: Could not connect: No such file or directory
[2022-09-16T13:04:36+0800] [ALPM-SCRIPTLET] grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
[2022-09-16T13:04:36+0800] [ALPM-SCRIPTLET] grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
local/linux510 5.10.141-1
The Linux510 kernel and modules
local/linux510-headers 5.10.141-1
Header files and scripts for building modules for Linux510 kernel
local/linux515 5.15.65-1
The Linux515 kernel and modules
local/linux515-headers 5.15.65-1
Header files and scripts for building modules for Linux515 kernel