VirtualBox

Ticket #4774 (closed defect: invalid)

Opened 5 years ago

Last modified 4 years ago

vbox creates, but fails register rawdisk vmdk

Reported by: abyss Owned by:
Priority: major 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

Change History

comment:1 Changed 4 years ago by klaus

  • Status changed from new to closed
  • Resolution set to invalid

The error message says it all - you don't have sufficient access rights to access the raw disk in read/write mode.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use