FreeBSD8.0 on Hyper-V
Yes, it works. I’ve recently decided it was about time to get to know a bit more about BSD. I’ve built ZFS boxes on OpenSolaris before, but CARP and PF kind of sealed the deal for me. So I decided to build a test VM on my Hyper-V server. There are some quirks however.
As I’m finding to be a trend for Linux guests, you must replace the default virtual NIC with the “Legacy Network Adapter” (you have to do this for Debian as well). Just follow the installer’s guidelines for the rest of the installation.
After it is installed, rebooting the OS becomes a problem. Hyper-V doesn’t seem to agree very well with the FreeBSD’s ACPI calls so in the interim, you can identify the hung VM by logging into powershell and running the following:
Get-WmiObject -Namespace root\virtualization msvm_computersystem | Format-Table ElementName,ProcessId
Then kill the process id with “kill [pid]“
In task manager,
- Inspect the “Command Line” field from the open vmconnect.exe process. Note the GUID of the VM (after the -G switch).
- Look for that GUID in the vmwp.exe “Command Line” field.
- Right click > End Process
On the VM, perform the following:
bzcat < /path/to/fbs80-200911-hvpatch.bz2 | patch -p1
shutdown -r now
More to come as I start wading in.