LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-17-2021, 02:37 PM   #1
xl3544556
LQ Newbie
 
Registered: May 2021
Posts: 2

Rep: Reputation: Disabled
Can't Boot into Fedora


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.


I am using fedora 34.

Any help would be appreciated.

Last edited by xl3544556; 05-18-2021 at 02:01 PM.
 
Old 05-17-2021, 10:13 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,750

Rep: Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971Reputation: 3971
Quote:
Originally Posted by xl3544556 View Post
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.
So you flat-out refuse to tell us what caused the problem initially, and expect us to come to your aid. Hmmm.

If it wasn't for the boot-repair log we wouldn't have any idea of what your system looks like. And it doesn't look pretty. Two installations of Fedora, possibly (probably) with the same names for vg/lv and two EFI partitions. You might be able to guess which EFI the firmware has used for this power-on cycle, but you can't guarantee it will always be so. Same probably applies to which LVM environment you get.
What happens if you choose the other Fedora entry from the boot menu ?.

So, my initial try would be to disconnect /dev/sdb - that gets rid of the clashes. Then see if you still have a boot issue. When you try to resolve it make sure you follow the [U]EFI instructions, *not* the BIOS instructions. In fact it might be better to follow this section and purge things entirely. This will not fix any dodgy EFI variables left laying aroung, but should update the default boot to itself.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need assistance SSHing into Fedora 14 when Fedora had no problem SSHing into Ubuntu theif519 Fedora 12 06-04-2011 02:34 PM
not able to boot into Win7, dual boot with Fedora, getting error BOOTMGR missing.. mrprassad Linux - Newbie 3 05-09-2011 10:29 AM
Can only connect to internet if 1st boot into XP then restart & boot into Suse 10.1 axarq Linux - Networking 6 08-03-2006 08:33 PM
/boot/boot/boot/boot/boot/ muddywaters SUSE / openSUSE 1 09-10-2005 06:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration