Howto:Convert a V10 LinuxAP to VHDX to run on Hyper-V

From innovaphone wiki
Jump to navigation Jump to search

Applies To

This information applies to

  • V10 Linux Application Platform

More Information

This article explains the process of converting a V10 Linux Application Platform for use on Hyper-V. Therefore we are going to convert a vmdk disc to vhdx.

Converting the vmdk file

You can download the Linux Application platform on our download page [1] as Linux Application Platform (VMWare). It will contain a vmdk file.

In order to convert the machine we will use the Microsoft Virtual Machine Converter [2]. After downloading and installing it, we will use the Power Shell to use it. Please start the Power Shell as Administrator otherwise you might have insufficient rights.

Firstly we have to import the Microsoft Virtual machine Converter module

Import-Module 'C:\Program Files\Microsoft Virtual Machine Converter\MvmcCmdlet.psd1'

The next step is converting. Therefore we will use this command, but please keep in mind that <Path> is a placeholder to the path on your system.

ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath C:\<Path>\IP-Debian.vmdk -VhdType DynamicHardDisk -VhdFormat Vhdx -DestinationLiteralPath C:\<Path>

This might take a while but you will see a status bar on the top of your Power shell. If the conversion turns out successfully you'll see a vhdx file in your destination folder.

Import the Linux AP to Hyper-V

  • Open your Hyper-V-Manager
  • press right click -> New -> Virtual Computer
  • A wizard will appear
  • select Generation 1
  • use appropriate RAM, e.g. 512MB
  • select dynamic working memory
  • select virtual switch external (see Create The Virtual Switch)
  • use already existing virtual hard disc and search for the vhdx file we created before
  • finish the wizard


Related Articles