From owner-freebsd-emulation@FreeBSD.ORG Sat May 4 01:19:56 2013 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 14043392 for ; Sat, 4 May 2013 01:19:56 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 051C01E33 for ; Sat, 4 May 2013 01:19:55 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id r441Js3g024624 for ; Fri, 3 May 2013 18:19:55 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <5184623A.7090603@rawbw.com> Date: Fri, 03 May 2013 18:19:54 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130327 Thunderbird/17.0.4 MIME-Version: 1.0 To: emulation@freebsd.org Subject: [VBOX] Failure while attaching the physical hard drive to the guest Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 04 May 2013 01:19:56 -0000 I have a Linux guest with VDI hard drive. I want to attach the physical (on host) hard drive to this guest. So I created the ada3.vmdk pointing to /dev/ada3: VBoxManage internalcommands createrawvmdk -filename ada3.vmdk -rawdisk /dev/ada3 Then I ran this command to attach ada3.vmdk to the machine Mint-mate-32: VBoxManage storageattach "Mint-mate-32" --storagectl "SATA" --port 1 --device 0 --type hdd --medium "/home/yuri/VirtualBox VMs/Mint-mate-32/ada3.vmdk" This added another HardDrive in Mint-mate-32.vbox: And also this hard drive's description under : However, this machine fails to start now: VERR_ACCESS_DENIED on ada3.vmdk No further explanation, except NS_ERROR_FAILURE (0x80004005) Log provides no further insight also. Hard drive is recognized by the host system as: ada3 at ahcich7 bus 0 scbus7 target 0 lun 0 ada3: ATA-8 SATA 2.x device ada3: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada3: Command Queueing enabled ada3: 152627MB (312581808 512 byte sectors: 16H 63S/T 16383C) How can I get information what the error actually is? Is such operation reasonable? Is it supposed to work? Yuri