How to import an OVA template into Hyper-V
Suppose, I intend to deploy the Redmine OVA template, which has been packaged by Bitnami, onto Hyper-V.
Hyper-V does not support OVA templates or .vmdk
virtual hard drives.
STEP:
download OVA-image itself.
STEP:
install 7zip
STEP:
install visual c++ redistribute 2019 and virtualbox
STEP:
extract ova:
PS C:\Users\alex\Downloads> & 'C:\Program Files\7-Zip\7z.exe' e bitnami-redmine-5.0.5-r14-debian-11-amd64.ova -o'redmine_bitnami_ova'
Extracting archive: bitnami-redmine-5.0.5-r14-debian-11-amd64.ova
....
Everything is Ok
STEP:
convert .vmdk
hard-drive to a .vhd
:
PS C:\Users\alex\Downloads\redmine_bitnami_ova> & 'C:\Program Files\Oracle\VirtualBox\VBoxManage.exe' clonehd ".\bitnami-redmine-5-5.0.5-r14-debian-11-amd64-disk-0.vmdk" redmine.vhd --format vhd
STEP:
copy created redmine.vhd
into C:\ProgramData\Microsoft\Windows\Virtual Hard Disks
folder
STEP:
create new VirtualMachine:
![screenshot 01: create new](/images/w4i9rqs6ucf2fqe5yq5f3kdy9x6h.png)
![screenshot 02: specify name](/images/52nl5qy7bsg2hn821aslsh608unr.png)
![screenshot 03: select generation](/images/pwkl8en4c048q6en8nsgu5o2aac3.png)
It is important to specifiy generation 1
, it will allow to use the IDE controller (instead of SCSI)
![screenshot 04: specify RAM](/images/axxfcdk2p65w4quf68425t7qzcr5.png)
![screenshot 05: specify existing HDD location](/images/bidj6dobmea6xqwvql04a5cqfg88.png)
---------------------
PS:
I also tried option with qemu-img (to get qemu-img
)
PS C:\Users\alex\Downloads\redmine_bitnami_ova> & C:\qemu\qemu-img.exe convert .\bitnami-redmine-5-5.0.5-r14-debian-11-amd64-disk-0.vmdk -O vhdx bitnami_redmine.vhdx
but this option didn't worked for me.
![Alex Kalinin avatar](https://res.cloudinary.com/bloggie/image/upload/c_fill,f_auto,h_200,q_auto,w_200/v1/bloggie_store/85ff810fe8619ae5d1cf0e5807a2ccf6.jpg)
Alex Kalinin
Clap to support the author, help others find it, and make your opinion count.