Opened 16 years ago
Closed 15 years ago
#4774 closed defect (invalid)
vbox creates, but fails register rawdisk vmdk
Reported by: | abyss | Owned by: | |
---|---|---|---|
Component: | VMM/RAW | Version: | VirtualBox 3.0.4 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | Linux |
Description
I have a following partition table: sda1 primary sda2 primary sda3 extended
sda5 logical sda6 logical sda8 logical sda9 logical unallocated sda7 logical
sda3 primary
I create rawdisk vmdk with following command: VBoxManage internalcommands createrawvmdk -filename /home/abyss/.VirtualBox/HardDisks/sda8,9.vmdk -rawdisk /dev/sda -partitions 8,9 -register
As a result I get: RAW host disk access VMDK file /home/abyss/.VirtualBox/HardDisks/sda8,9.vmdk created successfully. ERROR: Could not open the hard disk '/home/abyss/.VirtualBox/HardDisks/sda8,9.vmdk'. VD: error opening image file '/home/abyss/.VirtualBox/HardDisks/sda8,9.vmdk' (VERR_ACCESS_DENIED) Details: code NS_ERROR_FAILURE (0x80004005), component HardDisk, interface IHardDisk, callee nsISupports Context: "OpenHardDisk(filename, AccessMode_ReadWrite, false, Bstr(""), false, Bstr(""), hardDisk.asOutParam())" at line 1284 of file VBoxInternalManage.cpp
The error message says it all - you don't have sufficient access rights to access the raw disk in read/write mode.