Virtualbox: unable to attach a successfully created .vmdk file

Steven Davies-Morris sdavmor at systemstheory.net
Wed May 14 03:20:39 UTC 2008


I have two large SATA drives that came off a WInXP box. They've been
mounted and can be read from and written to via *nix. But when I bring
up the Virtual Disk Manager I get this "failed to register" message:

VD: error opening image file
'/home/sdavmor/.VirtualBox/VDI/Video+TorrentSource.vmdk'
(VERR_ACCESS_DENIED).

Result Code: 0x80004005
Component: HardDisk
Interface: IHardDisk {fd443ec1-000f-4f5b-9282-d72760a66916}
Callee: IVirtualBox {2d3b9ea7-25f5-4f07-a8e1-7dd7e0dcf667}

The .vmdk file was created with this statement (which should have
registered it per the documentation):

VBoxManage internalcommands createrawvmdk -filename
/home/sdavmor/.VirtualBox/VideoSource+Torrent.vmdk -rawdisk /dev/sdc
-register

Here's the internals of the .vmdk file. I've tried changing the
/dev/sdd2 to be just /dev/sdd but I get the same response fromt he
vitual drive manager. I've tried changing (relaxing) the privileges but
that makes no difference:

# Disk DescriptorFile
version=1
CID=cb6a81f3
parentCID=ffffffff
createType="fullDevice"

# Extent description
RW 625142448 FLAT "/dev/sdd2"

# 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="8cff09ac-eb75-48c4-4e82-15ba570b057b"
ddb.uuid.parent="00000000-0000-0000-0000-000000000000"
ddb.uuid.modification="00000000-0000-0000-0000-000000000000"
ddb.uuid.parentmodification="00000000-0000-0000-0000-000000000000"
-- 
Cheers, SDM -- a 21st Century Schizoid Man
Systems Theory internet music project: <www.systemstheory.net>
on MySpace: <www.myspace.com/systemstheory>
on Last FM: <www.last.fm/music/Systems+Theory>
get "Codetalkers" *free* at <www.mikedickson.org.uk/codetalkers>
NP: nothing




More information about the ubuntu-users mailing list