VBoxManage internalcommands createrawvmdk -filename /path/to/file.vmdk
-rawdisk /dev/sda -partitions 1,5
As said it created 2 files for the partition I intend to dedicate to my new vm.
One is vm02.vmdk (vm02 is the name i have given) and the second is vm02-pt.vmdk.
Now when I'm into the wizard to create a new machine I try to assign (i select "use existing disk" OPTION) partition I intend to dedicate by selecting one of those 2 .vmdk files
but I get an error message when doing that.
Can anyone tell me what am I doing wrong?
Host OS: Ubuntu 11.04 64bit.
Guest: is that relevant in this case? Since I'm doing it from the VB manager shouldn't be relevant I guess and I'm trying to assign teh disk when creating a new VM. Anyway it's supposed to be Windows 7
My user is in the vbox users, and both my account and the vboxuser group have full permission on the partition (I tried it also with the partition unmounted just to check)
This is the error I get when selecting vm02.vmdk
