I'm runing a linux host, and would like to convert a physical windows 7 (installed first) to a VM.
I'm following the virtualBox tutorial on wiki.archlinux
The plan is to first create a windows disk image on an external drive (fdisk says it is NTFS/exFAT) using
Code: Select all
{ dd if=/dev/sda bs=512 count=$(cat /sys/block/sda/sda1/start) ; dd if=/dev/sda2 bs=512 count=$(cat /sys/block/sda/sda2/size) ; } | VBoxManage convertfromraw stdin windows.vdi $(( ($(cat /sys/block/sda/sda1/start) + $(cat /sys/block/sda/sda2/size)) * 512 ))Code: Select all
Error code VERR_ALREADY_EXISTS at /build/virtualbox/src/VirtualBox-4.3.28/src/VBox/Storage/VDI.cpp(607)....Cannot create the disk image "windows.vdi": VERR_ALREADY_EXISTSCan somebody help me?
Thanks