Navigation

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

    New Hyper-V VM using config.xml from another VM

    Installation and Upgrades
    3
    3
    328
    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.
    • mircolino
      mircolino last edited by

      I have a pfSense 2.4.3 generation 1 Hyper-V VM running on Windows 2016.
      Wanted to try to migrate to generation 2 VM. What is the best way to do it?

      Hyper-V doesn't support USB memory sticks. So I tried copying /config/config.xml from the gen1 VM to a USB hard-drive and added that to the gen2 VM along with the installation DVD/ISO.
      The installation however fails to find the config.xml file and proceeds to ask me to reinitialize pfSense from scratch.

      Any other way I can do this?
      Not super familiar with freebsd. From the installation shell could I mount the HD and copy the config.xml somewhere where it would be found?

      1 Reply Last reply Reply Quote 0
      • stephenw10
        stephenw10 Netgate Administrator last edited by

        Any reason why you can't just create the new VM and then restore the config from GUI?

        To use the PFI or ECL methods the drive containing the config must be FAT32 formatted. That could be why it failed to pull it in your case.

        Steve

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

          @mircolino:

          I have a pfSense 2.4.3 generation 1 Hyper-V VM running on Windows 2016.
          Wanted to try to migrate to generation 2 VM. What is the best way to do it?

          Hyper-V doesn't support USB memory sticks. So I tried copying /config/config.xml from the gen1 VM to a USB hard-drive and added that to the gen2 VM along with the installation DVD/ISO.
          The installation however fails to find the config.xml file and proceeds to ask me to reinitialize pfSense from scratch.

          Any other way I can do this?
          Not super familiar with freebsd. From the installation shell could I mount the HD and copy the config.xml somewhere where it would be found?

          I wanted to do the same thing, but eventually just went with stephenw10's solution.  During the installation, I just went with the default options.  As soon as I could log into the GUI, I went to Diagnostics > Backup & Restore, and uploaded the config file there.  I believe the end result is the same.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post