Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Upgrading to 2.5.0 on HyperV boot loops

    Scheduled Pinned Locked Moved Virtualization
    13 Posts 9 Posters 1.9k 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.
    • M
      mdalacu
      last edited by

      Hi i have tried to upgrade my firewall 2.4.5-RELEASE-p1 (amd64) to 2.5.0 from GUI and all went fine until it installed the new kernel (with success) and rebooted.
      Then after the restart the boot menu appeared as usual and after timeout imidiadly rebooted again. And it kept like this a few times until the VM stopped.
      I have tried all the possible combinations in boot menu to make it to work. Nothing excapes the bootloop until i choose the old kernel. Then the upgrade process continues it reaches the pfsense shell menu but GUI will not work and nothing else works with old kernel.
      What can i do to upgrade it. I already restored from backup and i am ready to start again if someone has an ideea.
      The HyperV VM is running on a win 2012 R2 configured as Generation 2, Version 5 with Secure Boot disabled.
      Thank you.

      M D 2 Replies Last reply Reply Quote 0
      • M
        mdalacu @mdalacu
        last edited by

        @mdalacu No one else is using HyperV on 2.5.0? Thx.

        swinnS 1 Reply Last reply Reply Quote 0
        • swinnS
          swinn @mdalacu
          last edited by

          @mdalacu I run pfSense 2.5 on Hyper-V 2019 as Gen2 without any issues.

          1 Reply Last reply Reply Quote 0
          • D
            DD @mdalacu
            last edited by

            @mdalacu https://forum.netgate.com/topic/154360/gen2-pfsense-2-4-5-p1-elf64_loadimage-read-failed-windows-2012r2-hyper-v

            M 1 Reply Last reply Reply Quote 0
            • M
              mdalacu @DD
              last edited by

              @dd said in Upgrading to 2.5.0 on HyperV boot loops:

              https://forum.netgate.com/topic/154360/gen2-pfsense-2-4-5-p1-elf64_loadimage-read-failed-windows-2012r2-hyper-v

              Thanks, but i am running 2.4.5_p1 just fine with gen2...so it's not this.
              Anyway i have to sort this out soon because of squid borks daily in 2.4.5 and a lot of people are saying that 2.50 fix this...

              1 Reply Last reply Reply Quote 0
              • M
                Michael Sh.
                last edited by

                I have the same problem, but at first after upgrade I had mountroot> from new kernel. Any attempts to manually mount have failed. I did a clean install and got bootloop.
                I using Hiper-V on 2016 VM Gen2, ZFS. I have tried every possible installation option for ZFS + Gen 2 but no success. Works on UFS. FreeBSD of the same version works fine on ZFS + Gen 2.

                Raul RamosR 1 Reply Last reply Reply Quote 1
                • M
                  mdalacu
                  last edited by mdalacu

                  Trying to boot from the install media (CDROM) also fails (v2.5.0), resulting in a bootloop.
                  So the problem is with the kernel i think.
                  This is the error.

                  alt text

                  1 Reply Last reply Reply Quote 0
                  • Raul RamosR
                    Raul Ramos @Michael Sh.
                    last edited by Raul Ramos

                    @michael-sh said in Upgrading to 2.5.0 on HyperV boot loops:

                    ZFS

                    ZFS in a Virtual Disk? Very brave! Should not be a problem with boot!

                    pfSense:
                    ASRock -> Wolfdale1333-D667 (2GB TeamElite Ram)
                    Marvell 88SA8040 Sata to CF(Sandisk 4GB) Controller
                    NIC's: RTL8100E (Internal ) and Intel® PRO/1000 PT Dual (Intel 82571GB)

                    1 Reply Last reply Reply Quote 0
                    • J
                      JeffNL
                      last edited by

                      I also had the problem upgrading to 2.5.0
                      Quick-fix was to just re-install and restore a backup.

                      The VM’s (two, pfSense CARP failover) are on Hyper-V.

                      The original installation was:
                      Generation 2, with ZFS

                      The new installation is:
                      Generation 1, default filesystem settings during install

                      I guess not all update scenarios have been tested before releasing the update.

                      M 1 Reply Last reply Reply Quote 1
                      • M
                        mdalacu @JeffNL
                        last edited by

                        @jeffnl Yes, this was the onlyu way i could find to upgrade the firewall. A brand new machine gen 1 and restore settings from backup. Some packages would not work until I re-saved every page of configuration again, to recreate all the files, I presume.
                        I hope it will me stable at least. Squid was my main problem with 2.4.5/.

                        N 1 Reply Last reply Reply Quote 1
                        • N
                          n7n @mdalacu
                          last edited by

                          I have exactly the same problem.

                          I also had the mountroot problem after updating from 2.4.5 to 2.5.1.

                          I "fixed" that by booting from the old kernel.

                          However, after the upgrade completed, I now experience the boot loop problem as above.

                          Has no one found a fix for this?

                          GertjanG 1 Reply Last reply Reply Quote 0
                          • GertjanG
                            Gertjan @n7n
                            last edited by

                            @n7n said in Upgrading to 2.5.0 on HyperV boot loops:

                            Has no one found a fix for this?

                            Using myself Hyper-V on Windows 10 Pro 'lastest edition ' (I guess).
                            Gen1 type.
                            Went from 2.4.5-px to 2.5.0 to 2.5.1.
                            Not using ZFS, but the default one.
                            No issues what so ever.

                            No "help me" PM's please. Use the forum, the community will thank you.
                            Edit : and where are the logs ??

                            1 Reply Last reply Reply Quote 0
                            • provelsP
                              provels
                              last edited by provels

                              Probably doesn't help, but I'm using 2.5.1 on Hyper-V on 2012R2, Gen1, ZFS without issues, either running or upgrading. But I did build myself a fresh 2.5.1 with restored config after a while, just because.

                              Peder

                              MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                              BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.