Cannot access hard-disk partition for Ubuntu server guest
Posted: 4. Jun 2010, 06:13
I have Ubuntu 10.04 desktop as host, VirtualBox 3.2.2 and Ubuntu 10.04 server as guest. I am trying to get the guest to access a partition on another drive using:
sudo VBoxManage internalcommands createrawvmdk -filename /vm/virtual-vdi/share.vmdk -rawdisk /dev/sda -partitions 6 -relative -register
I get this error:
ERROR: VMDK: could not create new file '/vm/virtual-vdi/share.vmdk'
Error code VERR_FILE_NOT_FOUND at /home/vbox/vbox-3.2.2/src/VBox/Devices/Storage/VmdkHDDCore.cpp(3512) in function int vmdkCreateRawImage(VMDKIMAGE*, VBOXHDDRAW*, uint64_t)
Error while creating the raw disk VMDK: VERR_FILE_NOT_FOUND
The raw disk vmdk file was not created
The Ubuntu kernel (32-22) and VBox kernels are updated, and I do not have a directory at /home/vbox.
What am I still missing here? Thanks for suggestions...
sudo VBoxManage internalcommands createrawvmdk -filename /vm/virtual-vdi/share.vmdk -rawdisk /dev/sda -partitions 6 -relative -register
I get this error:
ERROR: VMDK: could not create new file '/vm/virtual-vdi/share.vmdk'
Error code VERR_FILE_NOT_FOUND at /home/vbox/vbox-3.2.2/src/VBox/Devices/Storage/VmdkHDDCore.cpp(3512) in function int vmdkCreateRawImage(VMDKIMAGE*, VBOXHDDRAW*, uint64_t)
Error while creating the raw disk VMDK: VERR_FILE_NOT_FOUND
The raw disk vmdk file was not created
The Ubuntu kernel (32-22) and VBox kernels are updated, and I do not have a directory at /home/vbox.
What am I still missing here? Thanks for suggestions...