I'd like to install FreeBSD 8.0 in a Hyper-V VM but I get a kernel panic whenever I try to boot the install ISO. I've tried both i386 and amd64; with and without APIC enabled; with and without processor features disabled in Hyper-V. Is it necessary to use the procedure in the Handbook for Xen domU?
Does anyone has experience with this configuration?
According to this page, there are no BSDs supported on Hyper-V. You may want to look in to a another virtualization solution if you need to run BSD VMs.
If you are using Hyper-V on an AMD machine, try this command:
This worked for me using Hyper-V on an AMD machine with FreeBSD 8 (I believe, it's a pfSense 2.0.1 distribution)
Also, use legacy network adapters as normal ones will not work.
There is also a problem with the network drivers I found in BSD where they wouldn't work until you reset them with a command like this:
optionally with this command, if you need DHCP:
Check out the following links for my sources:
FreeBSD 8 works flawlessly on my setup. Remove the NIC installed by default and ad a legacy nic. You should be good to go after that.
I really don't think any BSD is supported on hyper-v. The only OS that works well is RHEL/CentOS (and windows of course)
I have however, run FBSD4-7 on vmware, and have also run v6 and v7 on kvm-qemu with no issues.
You can get FreeBSD to work in Hyper-V but I wouldn't recommend it. I've had LOTS of issues, the most annoying was the machine "shutting down" for months. The only way to fix this issue, was to reboot the whole hyper-v box.
To that end, there aren't many Linux distros supported by Hyper-V either. If you want to run a unix-like OS, you should use vmware, xen, virtualbox, or something along those lines.