Good day. Recently I'm tried to install obarun, and ran into some problems with the installation. First, I am unable to automatically install grub after installing the system, so I ran these commands using sudo.
Importantly, these commands were run after grub failed, however if you pre-mount the root partition of the disk as /mnt and the boot partition as /mnt/boot, these commands will also run successfully, I guess...
Create the necessary folders for mounting
mkdir -p /mnt/dev
mkdir -p /mnt/sys
mkdir -p /mnt/proc
mkdir -p /mnt/run
Mounting partitions
mount --types proc /proc /mnt/proc
mount --rbind /sys /mnt/sys
mount --make-rslave /mnt/sys
mount --rbind /dev /mnt/dev
mount --make-rslave /mnt/dev
mount --bind /run /mnt/run
chroot /mnt
I use chroot to try to manually install the bootloader now.
Installing grub
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
Generate config for grub
grub-mkconfig -o /boot/grub/grub.cfg
After that on reboot grub works, I boot into the system, and encounter new errors. First when I first figured out grub, I got a kernel panic that didn't go away, but let's assume it's a pure fluke. The second and third time I successfully pass the grub stage, but I get another problem that I can't solve, see photo for details..

Unfortunately I don't have the right competence to determine the source of the problem, so hopefully someone can help me.