I am trying to create a raw vmdk on an Ubuntu host, from an physical HD. When I run the command:
Code: Select all
VBoxManage internalcommands createrawvmdk -filename /home/user/VirtualBox/whatever.vmdk -rawdisk /dev/sdb
on terminal, I get this VERY puzzling error message:
Code: Select all
VBoxManage: error: VMDK: could not create new file '/home/user/VirtualBox/whatever.vmdk'
VBoxManage: error: Error code VERR_FILE_NOT_FOUND at /home/vbox/vbox-5.0.20/src/VBox/Storage/VMDK.cpp(3384) in function int vmdkCreateRawImage(PVMDKIMAGE, PVBOXHDDRAW, uint64_t)
It looks like, in order to run the command, VBoxManage looks for instruction in a file called VMDK.cpp, which should be in a folder called "/home/vbox/vbox-5.0.20/src/VBox/Storage", and cannot find it. I’m not surprised, as there is NO folder or file with those names in my Ubuntu. I have looked everywhere in it, but cannot find it myself. WHY does VirtualBox look for that folder and file? And, more importantly, could anyone here tell me how to make VirtualBox create the raw vmdk file?