VirtualBox 3.4.6 with extensions.
System rebooted after install.
Sorry if this has been answered. Googling didn't help.
I was able to successfully create a vmdk for raw access.
I.e:
Code: Select all
VBoxManage internalcommands createrawvmdk -filename C:\Store\disk.vmdk -rawdisk \\.\PHYSICALDRIVE1Now, when I try to add the drive in the GUI to a SATA controller, I get this:
Code: Select all
Failed to open the hard disk file C:\Users\Stephen\VirtualBox VMs\Linux Mint 16\disk.vmdk.
Permission problem accessing the file for the medium 'C:\Users\Stephen\VirtualBox VMs\Linux Mint 16\disk.vmdk' (VERR_ACCESS_DENIED).
Result Code: VBOX_E_FILE_ERROR (0x80BB0004)
Component: Medium
Interface: IMedium {05f2bbb6-a3a6-4fb9-9b49-6d0dda7142ac}
Callee: IVirtualBox {fafa4e17-1ee2-4905-a10e-fe7c18bf5554}
Callee RC: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)
Code: Select all
C:\Program Files\Oracle\VirtualBox>VBoxManage storageattach "Linux Mint 16" --storagectl "SATA" --port 0 --device 0 --type hdd --medium "C:\Users\Stephen\VirtualBox VMs\Linux Mint 16\disk.vmdk"
VBoxManage.exe: error: Permission problem accessing the file for the medium 'C:\Users\Stephen\VirtualBox VMs\Linux Mint 16\disk.vmdk' (VERR_ACCESS_DENIED)
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Medium, interface IMedium, callee IUnknown
VBoxManage.exe: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cpp
VBoxManage.exe: error: Invalid UUID or filename "C:\Users\Stephen\VirtualBox VMs\Linux Mint 16\disk.vmdk"Code: Select all
C:\Program Files\Oracle\VirtualBox>VBoxManage storageattach "Linux Mint 16" --storagectl "SATA" --port 0 --device 0 --type hdd --medium "C:\Users\Stephen\VirtualBox VMs\Linux Mint 16\disk.vmdk"
VBoxManage.exe: error: Failed to create the VirtualBox object!
VBoxManage.exe: error: Code CO_E_SERVER_EXEC_FAILURE (0x80080005) - Server execution failed (extended info not available)
VBoxManage.exe: error: Most likely, the VirtualBox COM server is not running or failed to start.
Thanks for any help in advance.
EDIT: contents of vmdk
Code: Select all
# Disk DescriptorFile
version=1
CID=c9ae41b9
parentCID=ffffffff
createType="fullDevice"
# Extent description
RW 156301488 FLAT "\\.\PHYSICALDRIVE1" 0
# The disk Data Base
#DDB
ddb.virtualHWVersion = "4"
ddb.adapterType="ide"
ddb.geometry.cylinders="16383"
ddb.geometry.heads="16"
ddb.geometry.sectors="63"
ddb.uuid.image="7e06dbf3-35bd-4aa2-9b9d-20b5b65127a0"
ddb.uuid.parent="00000000-0000-0000-0000-000000000000"
ddb.uuid.modification="00000000-0000-0000-0000-000000000000"
ddb.uuid.parentmodification="00000000-0000-0000-0000-000000000000"