Upgrading from 2.6 to 23.05 via 23.01 on Hyper-V (server 2022) gen.2 VM [workaround]
-
TL/DR - use UFS as file system. Issues only happen when using ZFS.
Problem:
- Running Hyper-V on Windows Server 2022
- pfSense 2.6 CE is running as gen.2 VM
- Upgrading to 23.01 results in boot freeze due to known bug
- The above issue is solved in 23.05, however currently there is no direct upgrade path from 2.6CE to 23.05
That knowledge is well known now, still I have 2 pfSense VMs on the same Windows Server 2022 host. One did upgrade just fine from 2.6->23.01->23.05. The second pfSense instance has all of the above issues. I have tried recreating second pfSense VM many times, reinstalling from scratch. But to no avail. Still the first instance did just fine. Why ?
Well, the only difference is file system. The failing instance is using default ZFS. The working one is using UFS (in UEFI mode).
I tried this for the second failing instance, reinstalling pfSense using UFS. Both upgrades to 23.01 and 23.05 went just fine. -
-
@Amelnor Thanks for the info. I'm looking into the limitations or what I won't be able to do using USF. In my case it might not be a big deal with only one disk, not sure about not having the boot environments?
-
Solved - https://forum.netgate.com/post/1110576