ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Fedora 31 stuck in a boot loop

    Scheduled Pinned Locked Moved Solved IT Discussion
    fedorafedora 31boot errorkernel
    61 Posts 11 Posters 8.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ObsolesceO
      Obsolesce @JaredBusch
      last edited by

      @JaredBusch said in Fedora 31 stuck in a boot loop:

      @black3dynamite said in Fedora 31 stuck in a boot loop:

      Here's an example of my Grub setting using UEFI on Fedora

      sudo cat /boot/efi/EFI/fedora/grubenv
      

      There we go.. grubenv is missing on my laptop.

      Remove grubenv, that's a nice update feature...

      black3dynamiteB JaredBuschJ 2 Replies Last reply Reply Quote 0
      • black3dynamiteB
        black3dynamite @Obsolesce
        last edited by

        @Obsolesce said in Fedora 31 stuck in a boot loop:

        @JaredBusch said in Fedora 31 stuck in a boot loop:

        @black3dynamite said in Fedora 31 stuck in a boot loop:

        Here's an example of my Grub setting using UEFI on Fedora

        sudo cat /boot/efi/EFI/fedora/grubenv
        

        There we go.. grubenv is missing on my laptop.

        Remove grubenv, that's a nice update feature...

        On UEFI system, /boot/grub2/grubenv is a symbolic link to /boot/efi/EFI/fedora/grubenv. Maybe an update to grub screwed up something.

        1 Reply Last reply Reply Quote 0
        • black3dynamiteB
          black3dynamite
          last edited by

          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/
          74e0d7c8-c3eb-40ce-a0ec-0bd242206235-image.png

          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.

          JaredBuschJ 1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch @Obsolesce
            last edited by

            @Obsolesce said in Fedora 31 stuck in a boot loop:

            @JaredBusch said in Fedora 31 stuck in a boot loop:

            @black3dynamite said in Fedora 31 stuck in a boot loop:

            Here's an example of my Grub setting using UEFI on Fedora

            sudo cat /boot/efi/EFI/fedora/grubenv
            

            There we go.. grubenv is missing on my laptop.

            Remove grubenv, that's a nice update feature...

            The updates show that grub had changes. Shit happens with all OS.

            grub2-common                    noarch 1:2.02-103.fc31           updates 876 k
            grub2-efi-x64                   x86_64 1:2.02-103.fc31           updates 458 k
            grub2-pc-modules                noarch 1:2.02-103.fc31           updates 847 k
            grub2-tools                     x86_64 1:2.02-103.fc31           updates 1.8 M
            grub2-tools-efi                 x86_64 1:2.02-103.fc31           updates 469 k
            grub2-tools-extra               x86_64 1:2.02-103.fc31           updates 916 k
            grub2-tools-minimal             x86_64 1:2.02-103.fc31           updates 552 k
            
            scottalanmillerS 1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch @black3dynamite
              last edited by

              @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/
              74e0d7c8-c3eb-40ce-a0ec-0bd242206235-image.png

              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 made EFI/fedora in there and then the commands ran.

              But no change in behavior

              ObsolesceO 1 Reply Last reply Reply Quote 0
              • ObsolesceO
                Obsolesce @JaredBusch
                last edited by Obsolesce

                @JaredBusch got a backup that happened to grab /boot...?

                Or maybe copy what's needed from a working system?

                JaredBuschJ 1 Reply Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch @Obsolesce
                  last edited by JaredBusch

                  @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.

                  1 Reply Last reply Reply Quote 0
                  • jmooreJ
                    jmoore
                    last edited by

                    So it was an update that did this?

                    JaredBuschJ 1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch @jmoore
                      last edited by

                      @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.

                      jmooreJ 1 Reply Last reply Reply Quote 0
                      • jmooreJ
                        jmoore @JaredBusch
                        last edited by

                        @JaredBusch Ok thanks, good to know.

                        1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch
                          last edited by

                          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.

                          1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @JaredBusch
                            last edited by

                            @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-300

                            So this suggests that a library or something has failed, not the kernel. That's going to be a huge pain.

                            JaredBuschJ 1 Reply Last reply Reply Quote 0
                            • JaredBuschJ
                              JaredBusch @scottalanmiller
                              last edited by

                              @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-300

                              So 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.

                              scottalanmillerS 2 Replies Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @flaxking
                                last edited by

                                @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.

                                1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @JaredBusch
                                  last edited by

                                  @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.

                                  1 Reply Last reply Reply Quote 1
                                  • scottalanmillerS
                                    scottalanmiller @JaredBusch
                                    last edited by

                                    @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.

                                    1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @JaredBusch
                                      last edited by

                                      @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-300

                                      So 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.

                                      1 Reply Last reply Reply Quote 1
                                      • scottalanmillerS
                                        scottalanmiller @JaredBusch
                                        last edited by

                                        @JaredBusch have you tried the boot loader rebuild process listed here?

                                        https://docs.fedoraproject.org/en-US/Fedora/23/html/System_Administrators_Guide/sec-Resetting_and_Reinstalling_GRUB_2.html

                                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                                        • JaredBuschJ
                                          JaredBusch @scottalanmiller
                                          last edited by JaredBusch

                                          @scottalanmiller said in Fedora 31 stuck in a boot loop:

                                          @JaredBusch have you tried the boot loader rebuild process listed here?

                                          https://docs.fedoraproject.org/en-US/Fedora/23/html/System_Administrators_Guide/sec-Resetting_and_Reinstalling_GRUB_2.html

                                          I don't have any internet. It only boots to emergency mode when I choose the rescue kernel. Anything else is the boot loop.

                                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @JaredBusch
                                            last edited by

                                            @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?

                                            https://docs.fedoraproject.org/en-US/Fedora/23/html/System_Administrators_Guide/sec-Resetting_and_Reinstalling_GRUB_2.html

                                            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?

                                            JaredBuschJ 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • First post
                                              Last post