Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 2010 22:22:07 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        Edho P Arief <edhoprima@gmail.com>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: vbox error trying to create a raw disk file
Message-ID:  <4CDB8B8F.3060008@FreeBSD.org>
In-Reply-To: <AANLkTikMJXm5FkmLQ94sMRcW7Sr1kadHOiWRaqRtY7SG@mail.gmail.com>
References:  <4CDB8498.4020203@FreeBSD.org> <AANLkTikMJXm5FkmLQ94sMRcW7Sr1kadHOiWRaqRtY7SG@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/10/2010 21:56, Edho P Arief wrote:
> On Thu, Nov 11, 2010 at 12:52 PM, Doug Barton<dougb@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/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CDB8B8F.3060008>