Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 2010 12:56:00 +0700
From:      Edho P Arief <edhoprima@gmail.com>
To:        Doug Barton <dougb@freebsd.org>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: vbox error trying to create a raw disk file
Message-ID:  <AANLkTikMJXm5FkmLQ94sMRcW7Sr1kadHOiWRaqRtY7SG@mail.gmail.com>
In-Reply-To: <4CDB8498.4020203@FreeBSD.org>
References:  <4CDB8498.4020203@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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


-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org



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