From owner-freebsd-emulation@FreeBSD.ORG Thu Nov 11 06:22:09 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3EB21065674 for ; Thu, 11 Nov 2010 06:22:09 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with ESMTP id 5ADD48FC1C for ; Thu, 11 Nov 2010 06:22:09 +0000 (UTC) Received: (qmail 3250 invoked by uid 399); 11 Nov 2010 06:22:08 -0000 Received: from localhost (HELO doug-optiplex.ka9q.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 11 Nov 2010 06:22:08 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4CDB8B8F.3060008@FreeBSD.org> Date: Wed, 10 Nov 2010 22:22:07 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101028 Thunderbird/3.1.6 MIME-Version: 1.0 To: Edho P Arief References: <4CDB8498.4020203@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: vbox error trying to create a raw disk file X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2010 06:22:09 -0000 On 11/10/2010 21:56, Edho P Arief wrote: > On Thu, Nov 11, 2010 at 12:52 PM, Doug Barton 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/