vbox error trying to create a raw disk file

Doug Barton dougb at FreeBSD.org
Thu Nov 11 06:22:09 UTC 2010


On 11/10/2010 21:56, Edho P Arief wrote:
> On Thu, Nov 11, 2010 at 12:52 PM, Doug Barton<dougb at freebsd.org>  wrote:
>> I was following the instructions here:
>>
>> http://www.virtualbox.org/manual/ch09.html#rawdisk
>>
>> And I got the following error:
>>
>> VBoxManage internalcommands createrawvmdk -filename WindowsXP.vmdk -rawdisk
>> /dev/ad0 -partitions 1,5
>> Oracle VM VirtualBox Command Line Management Interface Version 3.2.10_OSE
>> (C) 2005-2010 Oracle Corporation
>> All rights reserved.
>>
>> ERROR: VMDK: could not open raw partition file '/dev/ad0'
>> Error code VERR_ACCESS_DENIED at
>> /home/tmp/home/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.10_OSE/src/VBox/Devices/Storage/VmdkHDDCore.cpp(3661)
>> in function int vmdkCreateRawImage(VMDKIMAGE*, VBOXHDDRAW*, uint64_t)
>> Error while creating the raw disk VMDK: VERR_ACCESS_DENIED
>> The raw disk vmdk file was not created
>>
>
> check ownership of /dev/ad0 or run virtualbox as root

I did run the command as root. Sorry, I forgot to specify that.


Doug

-- 

	Nothin' ever doesn't change, but nothin' changes much.
			-- OK Go

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/



More information about the freebsd-emulation mailing list