0

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?

dmo
  • 2,100
  • 1
  • 16
  • 22

5 Answers5

3

If you are using Hyper-V on an AMD machine, try this command:

set hw.clflush_disable=1

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:

ifconfig de0 down
ifconfig de0 up

optionally with this command, if you need DHCP:

dhclient de0

Check out the following links for my sources:

Ben Pilbrow
  • 11,995
  • 5
  • 35
  • 57
Max Weber
  • 31
  • 2
3

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.

phoebus
  • 8,370
  • 1
  • 31
  • 29
1

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.

0

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.

efk
  • 41
  • 2
0

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.

dyasny
  • 18,482
  • 6
  • 48
  • 63