Article 5HY9Q Can't Boot into Fedora

Can't Boot into Fedora

by
xl3544556
from LinuxQuestions.org on (#5HY9Q)
Hi,
I was trying to install something onto my device. I edited some files following a tutorial, I didn't know what I was doing so I gave up the tutorial but when I rebooted now I cannot boot into fedora and it automatically boots into the bios.

I think the problem is with grub2 because before it lods the bios for 1 second it shows "error: ../../grub-core/commands/search.c:296:no such device:".

I've been trying to reinstall grep,following this tutorial https://gist.github.com/Tamal/73e65b...10c5fe81c5de14 and this https://docs.fedoraproject.org/en-US...-a-bios-system but whenever I try I get the message "/usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist".

I tried loading boot-repair-disk and this was the output. http://pastebin.ubuntu.com/p/3jW5Ns5zGc/

I am using fedora 34.

Any help would be appreciated.latest?d=yIl2AUoC8zA latest?i=WoZd90SaD4s:64AOFL5tMtI:F7zBnMy latest?i=WoZd90SaD4s:64AOFL5tMtI:V_sGLiP latest?d=qj6IDK7rITs latest?i=WoZd90SaD4s:64AOFL5tMtI:gIN9vFwWoZd90SaD4s
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments