Convert virtualbox to hyper v

broken image

I'll be running it as a headless VM host.

broken image

Its video is hosed which is just fine for my purposes. Well as luck had it, I was able to salvage my daughter's busted old laptop. I have Hyper-V enabled on my personal windows laptop and I needed some 'bare metal' to install VirtualBox. You cannot have VirtualBox and Hyper-V comfortably coexist on the same machine. I will be demonstrating on a Windows box using Powershell scripts but the same can be done on a linux box using bash. This can be entirely done on a machine without Hyper-V installed or enabled. box file that can be used to fire up a functional Hyper-V VM. This post will demonstrate how to automate the conversion of a VirtualBox disk image to a Hyper-V compatible VHD and create a Vagrant. I either have to run through creating the image twice (once for VirtualBox and again for Hyper-V) or I have to copy multi gigabyte files across my computers and then convert them. However it is a major headache to do so especially when preparing Windows images.

broken image
broken image

I personally use Hyper-V as my hypervisor on windows, but I use VirtualBox on my Ubuntu work laptop so it is convenient for me to create boxes in both formats.