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

    Installing 2.5.2 in qemu/kvm possible?

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    12 Posts 4 Posters 1.3k 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.
    • J
      JC_B
      last edited by

      Hello,

      I attempted to install 2.5.2 in a kvm via virt-manager. I would get the failure which looked to be a kernel panic code 12. OI have been running pfsense for years however I want to move to vm with dial nics, for trying to be a little greener.

      Checking several posts trying to find a solution to install it, I don't see that this is possible?

      I was able to install OPNsense just fine, and I have it up and running, but I don't have that trust I have with pfsense.

      I look forward to some clues to be able to install pfsense in a kvm.

      Host Kubuntu 20.04 virt-manager 2.2.1

      Thank you

      JC

      N 1 Reply Last reply Reply Quote 0
      • N
        netblues @JC_B
        last edited by

        @jc_b Change vm system bios to fx440 and reinstall.
        2.5.2 Works fine under kvm

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

          @netblues !
          Hello,
          Is this that you are referring to? ( I am new to KVM )

          Screenshot_20220206_122042.png

          These are the settings I have been using and I get the error. These are the same settings I used for OPNsense as well.
          Screenshot_20220206_122234.png

          I appreciate your suggestions.

          Best Regards

          N 1 Reply Last reply Reply Quote 0
          • N
            netblues @JC_B
            last edited by

            @jc_b Yes..
            With newer bios freebsd doesn't recognize any hdd's so installation cannot continue

            Is this what you get after installation?
            I only see one nic. Virtio nic should be ok
            Make them two and reinstall

            Its still quite odd.

            J 1 Reply Last reply Reply Quote 0
            • J
              JC_B @netblues
              last edited by

              @netblues
              Hello,

              This is what I see before I even get to install. Typically, with base metal, it will do this loading, then jumps to the install... Not in this case, just pops into this error.

              I added in the second nic for good luck, but none for me. :)

              I have set a 10 Gig qcow2 ( tried ISO as well ) and I am using the pfSense-CE-2.5.2-RELEASE-amd64.iso.

              So what you are saying about not seeing the HDD seems accurate. When I have virt-manager try to find an OS it will not, but i can select a BSD. I choose FreeBSD 12.0 but have tried others. Can this be a hangup?

              Odd, I agree

              N 1 Reply Last reply Reply Quote 0
              • V
                viragomann
                last edited by

                @jc_b
                I suspect, this error is due ballooning. Use the same memory setting for current and minimum allocation.

                J 1 Reply Last reply Reply Quote 0
                • J
                  JC_B @viragomann
                  last edited by JC_B

                  @viragomann
                  Hi,
                  Can't say that I fully understand the ballooning, however if you are referring to the memory settings
                  where they are the current allocated and Max these are the same.

                  I also bumped these up to 4096 just for safe measures.

                  Regards,

                  1 Reply Last reply Reply Quote 0
                  • N
                    netblues @JC_B
                    last edited by netblues

                    @jc_b virt manager won't detect freebsd , it happens all the time.
                    But this isnt't the issue
                    d70ee2de-ef7a-4905-a0d3-182387ac039d-image.png

                    This is under centos 7, but it is very unlikely to be os related.

                    Are you sure the image is ok? consider redownloading from different mirror

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      JC_B @netblues
                      last edited by JC_B

                      @netblues

                      Thanks again, great suggestion. I did try a few different mirrors, no joy. I tried something interesting, I was able to create an instance in VirtualBox. I then took that instance and converted it to an ISO. Booted that ISO in KVM, and it dies in the same fashion. I feel that I need to now try to just install FreeBSD in KVM and see where that goes. EDIT: FreeBSD 12.2 fails in same fashion.. hummm

                      N 1 Reply Last reply Reply Quote 0
                      • N
                        netblues @JC_B
                        last edited by

                        @jc_b I would say its kubundu but then how opnsense (which is also freebsd 13.1) runs?

                        You could try pf 2.6 rc which is in its finals before release, or try redhat enteprise (the free tier) or centos 7, which has been seen to work with 2.5.2 reliably for years.

                        One more thing to check is any obscure bios settings on the host, regarding virtualisation. Higly unlikely, but still.

                        J 1 Reply Last reply Reply Quote 0
                        • P
                          Patch
                          last edited by Patch

                          @jc_b I started with Netgate's vitalisation documentation. Works for me fine with Proxmox which uses qemu/kvm 6.1.1-1 at the moment.

                          1 Reply Last reply Reply Quote 0
                          • J
                            JC_B @netblues
                            last edited by

                            @netblues
                            I am beginning to think that Kubuntu uses some older packages. I had tried to install a future release, but same issue. I will look at upgrading my qemu/kvm to see if this correct the issue. Or stick with OPNsense. I believe that it is build on hardenedBSD, so maybe that is why I was able to install with the current configuration. Regards

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