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

From innovaphone wiki
Jump to navigation Jump to search
mNo edit summary
Line 21: Line 21:


===Import the Linux AP to Hyper-V===
===Import the Linux AP to Hyper-V===
Open your Hyper-V-Manager, press right click -> New -> Virtual Computer. A wizard will appear, please follow it to the point where you shall connect to a virtual hard disc. Choose 'already existing virtual hard disc' and search for the vhdx file we created before. Afterwards please finish the wizard.
* Open your Hyper-V-Manager
* press right click -> New -> Virtual Computer
* A wizard will appear
* select ''Generation 1''
* use appropriate RAM, e.g. 1024MB
* select ''dynamic working memory''
* select ''virtual switch external'' (see [[Howto:Concept_IPVA_On_Hyper-V#Create_The_Virtual_Switch | Create The Virtual Switch]])
* use ''already existing virtual hard disc'' and search for the vhdx file we created before
* finish the wizard


===Notes===
===Notes===

Revision as of 15:42, 3 January 2018

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. 1024MB
  • 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

Notes

Related Articles