Import FreeBSD 11 Qcow2 image into Proxmox VE 4.4

In this example, the following image is used


Download and then unpack it on the Proxmox host

xz -d FreeBSD-11.0-STABLE-amd64.qcow2.xz

Convert to RAW Image

qemu-img convert -f qcow2 -O raw FreeBSD-11.0-STABLE-amd64.qcow2 FreeBSD-11.0-STABLE-amd64.raw

Create a VM with scsi disk in Proxmox.

Find the  zfs volume that Proxmox has created for the vm

zfs list -t volume

Write the raw disk image into the zfs volume, vm-102-disk-1 in this example

dd if=FreeBSD-11.0-STABLE-amd64.raw of=/dev/zvol/vmpool/vm-102-disk-1 bs=1M

Now you should be able to boot FreeBSD and login as root without password.


Migrating a Xenserver Debian-VM to Hyper V 2012

Here is a quick and dirty guide to export xen vm to hyper v 2012 so it wouldn’t escape my mind.

The surgery was conducted on XCP 1.5, but probably work similarly on other versions (but I have no clue really).


  1. Shutdown your vm and export it via xencenter. This was painfully slow. took me 3 hours for a 150Gb vm which in the end produced a 99Gb large file.
  2. Get xenconvert 2.3.1 since later versions doesn’t have the ability to convert a vm exported to file. Also note that its quite picky on OS. It ran however fine on Windows 7 but not Server 2012.  This will allow you to create a VHD out of your Xen export.


  1. Create a new machine in Hyper-v and select the VHD which you just created.
  2. Boot the vm, while in grub choose to edit the parameters and remove the console=hvc0 part. Go on and boot.
    Without this part the boot procedure will almost immediately freeze without any error message.
  3. Log in and edit /etc/default/grub and remove console=hvc0
  4. Run update-grub and reboot the machine.
  5.  Edit /etc/inittab remove the ‘co hvc0’ line and you will get rid of the annoying co messages popping up in your face all the time.
  6. Uninstall all the xenserver guest utils.
  7. Reboot.
  8. ????
  9. Profit!!

Now dance & enjoy the built in kernel modules for Intergration Services the comes with Debian!