Solved Fedora 31 stuck in a boot loop
-
@black3dynamite said in Fedora 31 stuck in a boot loop:
I don't even if know if this will fix grub or not. But here you go.
Create a new empty grubenv file in
/boot/efi/EFI/fedora/grubenv
.sudo grub2-editenv /boot/efi/EFI/fedora/grubenv create
I noticed on my system, there is a symbolic of
/boot/efi/EFI/fedora/grubenv
in/boot/grub2/
sudo ln -sf /boot/efi/EFI/fedora/grubenv /boot/grub2/grubenv
Rebuild GRUB
sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
Rebuild initramfs images
sudo dracut --force --regenerate-all
And then reboot.
Actually, the
/boot/efi/
folder was completely empty. No sub-folders or anything.
I madeEFI/fedora
in there and then the commands ran.But no change in behavior
-
@JaredBusch got a backup that happened to grab
/boot...
?Or maybe copy what's needed from a working system?
-
@Obsolesce said in Fedora 31 stuck in a boot loop:
@JaredBusch got a backup that happened to grab
/boot...
?Or maybe copy what's needed from a working system?
No backup since the data is sync'd.
Mostly I'm trying to figure out how to resolve without a reinstall if possible for knowledge sake. Not to save my system.
-
So it was an update that did this?
-
@jmoore said in Fedora 31 stuck in a boot loop:
So it was an update that did this?
Had to be, as it was working. I shutdown to go home. Then it wasn't working.
-
@JaredBusch Ok thanks, good to know.
-
Unless someone has any more ideas, I'm also out of ideas and I will have to reinstall since I will need my laptop on Wednesday and Thursday.
-
@JaredBusch said in Fedora 31 stuck in a boot loop:
Kernel 5.3.12-300 is current.
But both previous kernels fail also.
5.3.11-300
5.3.8-300So this suggests that a library or something has failed, not the kernel. That's going to be a huge pain.
-
@scottalanmiller said in Fedora 31 stuck in a boot loop:
@JaredBusch said in Fedora 31 stuck in a boot loop:
Kernel 5.3.12-300 is current.
But both previous kernels fail also.
5.3.11-300
5.3.8-300So this suggests that a library or something has failed, not the kernel. That's going to be a huge pain.
Right sounds like the grub update borked itself.
-
@flaxking said in Fedora 31 stuck in a boot loop:
@Pete-S said in Fedora 31 stuck in a boot loop:
Can't provide any input but it's interesting to read the problems that shows up every time there is a new Fedora release out. Your customers are a forgiving bunch for sure.
That said, it's great for the open source community to have lots of people running the latest and greatest.
I've been on Fedora about 2 years on my laptop now and I know exactly what you're talking about.
No new release issues on any Fedora system that I use, either. Been flawless and we use it across laptops, desktops, and servers.
-
@JaredBusch said in Fedora 31 stuck in a boot loop:
I did have a Fedora 31 laptop (different model Dell than mine) spun up and logged in two weeks ago. I have ran updates on that one and rebooted. it is running fine.
Yeah, my Dell with F31 hasn't had an issue yet and I keep it updated.
-
@JaredBusch said in Fedora 31 stuck in a boot loop:
The updates show that grub had changes. Shit happens with all OS.
They also showed that something new was being compiled against GLibC and the Kernel.
-
@JaredBusch said in Fedora 31 stuck in a boot loop:
@scottalanmiller said in Fedora 31 stuck in a boot loop:
@JaredBusch said in Fedora 31 stuck in a boot loop:
Kernel 5.3.12-300 is current.
But both previous kernels fail also.
5.3.11-300
5.3.8-300So this suggests that a library or something has failed, not the kernel. That's going to be a huge pain.
Right sounds like the grub update borked itself.
That's definitely my guess.
-
@JaredBusch have you tried the boot loader rebuild process listed here?
-
@scottalanmiller said in Fedora 31 stuck in a boot loop:
@JaredBusch have you tried the boot loader rebuild process listed here?
I don't have any internet. It only boots to emergency mode when I choose the rescue kernel. Anything else is the boot loop.
-
@JaredBusch said in Fedora 31 stuck in a boot loop:
@scottalanmiller said in Fedora 31 stuck in a boot loop:
@JaredBusch have you tried the boot loader rebuild process listed here?
I don't have any internet. It only boots to emergency mode when I choose the rescue kernel. Anything else is the boot loop.
What about booting to a rescue USB stick?
-
@scottalanmiller said in Fedora 31 stuck in a boot loop:
@JaredBusch said in Fedora 31 stuck in a boot loop:
@scottalanmiller said in Fedora 31 stuck in a boot loop:
@JaredBusch have you tried the boot loader rebuild process listed here?
I don't have any internet. It only boots to emergency mode when I choose the rescue kernel. Anything else is the boot loop.
What about booting to a rescue USB stick?
I can boot to a live USB. try it from there you think?
-
@JaredBusch said in Fedora 31 stuck in a boot loop:
@scottalanmiller said in Fedora 31 stuck in a boot loop:
@JaredBusch said in Fedora 31 stuck in a boot loop:
@scottalanmiller said in Fedora 31 stuck in a boot loop:
@JaredBusch have you tried the boot loader rebuild process listed here?
I don't have any internet. It only boots to emergency mode when I choose the rescue kernel. Anything else is the boot loop.
What about booting to a rescue USB stick?
I can boot to a live USB. try it from there you think?
I think so.
-
-
managed to boot into recovery mode and get an IP from a USB ethernet dongle.
I ran through the instructions fine on that link, but then step 5 was a link to another page that stated to run
grub2-install /dev/sda
Well that puked on the nowEFI thing. Google told me I needed to
dnf install grub2-efi-x64-modules
.Now it dies and says
grub2-install: error: cannot find EFI directory