Hi,
Did someone succeeded in importing a Vmware VM into QubesOS ?
I followed the documentation here: Standalones and HVMs | Qubes OS
However went I start the VM I get an error saying that it doesn’t find anything bootable
Thanks
Hi,
Did someone succeeded in importing a Vmware VM into QubesOS ?
I followed the documentation here: Standalones and HVMs | Qubes OS
However went I start the VM I get an error saying that it doesn’t find anything bootable
Thanks
Maybe it was installed in UEFI mode? Do you have the EFI System partition on the disk?
Yes it was installed in UEFI mode.
Any way I can still import it into Qubes OS ?
You can try to enable UEFI for your qube by setting uefi
feature for it:
qvm-features <vm-name> uefi 1
And add ovmf.bin in your dom0:
( It work, however the annoying thing is that in this windows10 vm, the video driver detected for this usecase seems limited to 800*600 and doesn’t seems to be easily modifiable. I will try to either find a workaround for the graphical issue, or see how I can convert a UEFI vmware vm to a bios vmware vm )
In the end, I decided to migrate the Vmware vm I needed from UEFI to BIOS.
Very rought notes on how I did it:
Use “Partition Wizard” to convert GPT to MBR : https://www.youtube.com/watch?v=2BiqPcofdSI , delete non “C:” partitions
Switch VM boot to BIOS
Boot using a Windows ISO → repair → cmd
using diskpart, create a new partition, format it to fat32
then assign letter correctly
diskpart.exe
list disk
select disk 0
list partition
list volume
create partition primary
list volumes
select volume Y_CHANGEIT
format fs=fat32 quick
select volume X_CHANGEIT
assign letter=C:
select volume Y_CHANGEIT
assign letter=G:
exit
create bootsec
bootsec.exe /nt60 all /force
bcdboot C:\Windows /s G: /f bios
bootrec /scanos
bootrec /fixmbr
diskpart
select disk 0
select partition X_CHANGEIT
active
select partition Y_CHANGEIT
active
exit
bootrec /fixboot # (this command will display an error, no problem)
bootrec /rebuildbcd
restart vm, boot to windows iso → repair → repair startup
Export VMware VM to OVF using the GUI
Follow this guide from converting VMDK file to the end (vmdk file to use is the one generated from the OVF export )