Hi
I dual boot my Fedora 35 system with Windows 10 and a Windows update
decided to remove the Fedora bootloader and I can no longer boot into
Linux.
I've booted from the Live CD and chrooted into my system after
mounting /boot and /boot/efi, I've then been following the
instructions here:
https://fedoraproject.org/wiki/GRUB_2#Instructions_for_UEFI-based_systems
and when I reinstall the grub packages I get the following error:
Running scriptlet: grub2-common-1:2.06-8.fc35.noarch 26/26
error: failed to exec scriptlet interpreter /bin/sh: Permission denied
warning: %posttrans(grub2-common-1:2.06-8.fc35.noarch) scriptlet
failed, exit status 127
Error in POSTTRANS scriptlet in rpm package grub2-common
Running scriptlet: shim-unsigned-ia32-15.4-1.fc32.x86_64 26/26
error: failed to exec scriptlet interpreter /bin/sh: Permission denied
warning: %transfiletriggerin(glibc-common-2.34-8.fc35.x86_64)
scriptlet failed, exit status 127
Error in <unknown> scriptlet in rpm package shim-unsigned-ia32
error: failed to exec scriptlet interpreter /bin/sh: Permission denied
warning: %transfiletriggerpostun(glibc-common-2.34-8.fc35.x86_64)
scriptlet failed, exit status 127
Error in <unknown> scriptlet in rpm package shim-unsigned-ia32
Any idea what I'm doing wrong?
I have a system backup so all is not lost but surely I should be able
to reinstall the bootloader?
Cheers
Adam