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

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

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
3 Posts 3 Posters 641 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
    mircolino
    last edited by May 12, 2018, 6:32 AM

    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
    • S
      stephenw10 Netgate Administrator
      last edited by May 13, 2018, 3:27 PM May 13, 2018, 3:23 PM

      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 May 15, 2018, 3:40 PM

        @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
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received