from USSEthernet@startrek.website to selfhosted@lemmy.world on 09 Apr 20:13
https://startrek.website/post/37962954
I was wondering if I could get some suggestions from the community about the best way to go about migrating from Windows Server on my homelab host to Proxmox.
Background: Currently running Server 2022 Datacenter on my host because that’s what I was familiar with. Using Hyper-V to manage multiple VMs like HomeAssistant and TrueNAS among other things. I have multiple container apps running within TrueNAS. There’s an HBA passed through Hyper-V to the TrueNAS VM that has all of my HDDs connected to it. I’m just looking to migrate away from anything Microsoft/Windows.
Way Forward: The only procedure that I could come up with in my head was moving everything off of the NAS to my personal PC if I have the space, or maybe multiple PCs in the house. Back up all of my configs. Install Proxmox on the host, build out the VMs again, then restore the configs and just hope everything works the same. Or, just backup my configs build the new VMs on proxmox, restore and hope the new TrueNAS VM sees the data on the HDDs? I don’t know if that would work.
If someone has a better idea, I’d like to hear it. Is there any way to dual boot Proxmox on the host maybe and slowly migrate things 1 by 1? Can you convert the VMs from Hyper-V before I install Proxmox?
Thanks everyone!
#selfhosted
threaded - newest
Edit: Also yeah you should be able to dual-boot but I wouldn’t recommend it. Linux and Windows bootloaders don’t like to play nice with eachother.
2nd Edit: Added the official PVE Hyper-V migration documentation, but that blog covers it in more detail.
3rd Edit: It looks like there are some important caveats when virtualizing TrueNAS, which I assume you’re familiar with since you have it virtualized already but I wanted to add the TrueNAS virtualization guide just in case. truenas.com/…/yes-you-can-virtualize-freenas/
You should be able to migrate most or all of your existing Hyper-V VMs to Proxmox, which would be relatively straight forward. My recommendation would be backing up everything to your TrueNAS (that has the dedicated HBA) then you can wipe your Windows boot drive and install Proxmox. Then you could start by migrating your TrueNAS VM over and passing it’s HBA back to it.
Once you have your NAS working in PVE then you could either migrate/rebuild your other VMs, or look into splitting your services into containers (Proxmox uses LXC natively, but Docker is another option.) There are some great helper scripts to get services spun up quickly so you can minimize downtime.
You didn’t mention how much, if any, experience you have with PVE/Debian and I know from a friend recently switching that some things are a bit more “difficult” than TrueNAS so hit me up if you need anything. The PVE admin documents will be helpful as well.
pve.proxmox.com/…/Advanced_Migration_Techniques_t…
Yeah I thought about this being the easiest way to do it. I just wasn’t sure if TrueNAS would come back up and just recognize the disks and start working. I have backups of everything and I’ve tested restoral. I would prefer to not have to go the backup restoral route as it’s more a scorched earth option. My other VMs I’m not really concerned about, it was mainly the NAS.
I don’t really have any experience with PVE, but I want to learn. I’ve been learning about docker containers more recently, I like learning new tech so I’m all for it. My main PC has been running Linux for about 6 months now and I’m just trying to get away from Microsoft in general. Thanks for the info.
I haven’t used TrueNAS but from what I’m reading it has an option to import existing pools. If you have spare SSD I would yank your windows drive out of the system and try installing Proxmox on the spare drive first. There’s a truenas installation script on that community page I linked in my other post, it says to follow this discussion after it runs. That might be a good starting point.
Can’t you somehow convert the virtual harddisks of your VMs from vhd or whatever it is to qcow2 and start them on the new hypervisor? I mean that’s pretty much the abstraction, virtualization is made for. I’ve never done it for Windows, though. I believe the “qemu-img” package has tools to convert disk images. It’ll obviously need quite some temporary storage. And the VM configs / networking to be recreated on Proxmox.
Yes, you can. pve.proxmox.com/…/Advanced_Migration_Techniques_t…
This is great and exactly what I was looking for. Thank you.
God, I’m sorry you had to use Hyper-V.
As challenging as Proxmox is for someone new to it, it’s so much better than Hyper-V.
I have a 3-node Proxmox cluster with HA that is currently collecting dust because I overbuilt when rent was cheap and now I can’t afford to run it; so I’m running essential services on my desktop PC with Hyper-V and NONE OF THE NETWORKING MAKES ANY GODDAMN SENSE especially networking oh my god why can’t I get WSL2 and a VM to see the fucking LAN at the same time they don’t need to talk to each other I just need HomeAssistsnt and paperless to work from LAN devices why is this all so shit
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:
4 acronyms in this thread; the most compressed thread commented on today has 17 acronyms.
[Thread #228 for this comm, first seen 10th Apr 2026, 01:30] [FAQ] [Full list] [Contact] [Source code]
I just use KVM under linux.