I have the following setup:
- Intel i5 4570s
- SSD for os
- sda1: EFI boot partition
- sda2: ext4 with arch installed
- sda3: swap
- sda4: microsoft reserved
- sda5: ntfs with windows 8.1 installed
- HDD for data
A few days ago I read an article about how to boot virtual in an existing windows installation and nonetheless be able to boot normally into it and have the instances synced. Unfortunately VirtualBox isn't capable of booting an EFI windows installation.
As I read in another blog, other virtualization software like QEMU is able to boot an EFI windows installation with OVMF. So I followed the first article and created a raw image of my windows disks with
VBoxManage internalcommands createrawvmdk -filename w8raw.vmdk - -rawdisk /dev/sda -partitions 1,4,5 -relative
and tried to open that image with QEMU via
qemu-system-x86_64 --enable-kvm -pflash OVMF.fd w8raw.vmdk
I get the following error
Unsupported image type 'partitionedDevice'
It may be noteworthy that the
VBoxManage command produced two files
Now my questions:
- Is it somehow possible to open the created
.vmdkfile with QEMU?
- Is it possible to create such an raw image with QEMU too? How? The documentation didn't help me
- Do you have any other ideas how to archive this?
If you need further information I gladly add them here.