From owner-freebsd-emulation@FreeBSD.ORG Fri May 4 15:12:17 2012 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29AE8106566C for ; Fri, 4 May 2012 15:12:17 +0000 (UTC) (envelope-from sdb@ssr.com) Received: from mailhost.ssr.com (mailhost.ssr.com [199.4.235.5]) by mx1.freebsd.org (Postfix) with SMTP id CDF388FC16 for ; Fri, 4 May 2012 15:12:16 +0000 (UTC) Received: (qmail 50002 invoked from network); 4 May 2012 14:58:32 -0000 Received: from pool-72-89-112-74.nycmny.east.verizon.net (HELO irelay.ssr.com) (sdb@72.89.112.74) by 199.4.235.5 with SMTP; 4 May 2012 14:58:32 -0000 Received: (qmail 70641 invoked by uid 103); 4 May 2012 14:41:43 -0000 Date: 4 May 2012 14:41:43 -0000 Message-ID: <20120504144143.70640.qmail@irelay.ssr.com> From: Scott Ballantyne To: emulation@freebsd.org In-reply-to: <1333868165.17811.5.camel@Nokia-N900-42-11> (message from Bernhard =?utf-8?Q?Fr=C3=B6hlich?= on Sun, 08 Apr 2012 08:56:05 +0200) References: <20120407212604.2285.qmail@irelay.ssr.com> <1333868165.17811.5.camel@Nokia-N900-42-11> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: Subject: Re: Can't install Windows 7 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: Fri, 04 May 2012 15:12:17 -0000 Just to follow up on my own email of a month ago about not being able to install from dvd and/or use the DVD from the guest OS on VirtualBox: > On Sa.,  7. Apr. 2012 23:26:04 CEST, Scott Ballantyne wrote: > > > Hi again, > > > > Trying to install windows 7 from the DVD, I keep getting the following > > error: > > > > -------------------------- > > Failed to open a session for the virtual machine Windows7. > > > > Cannot open host device '/dev/cd0' for readonly access. Check the > > permissions of that device (VERR_ACCESS_DENIED). > > > > Result Code: NS_ERROR_FAILURE (0x80004005) > > Component: Console > > Interface: IConsole {1968b7d3-e3bf-4ceb-99e0-cb7c913317bb} > > -------------------- > > > > And: > > > > $ ls -l /dev/cd0 /dev/xpt0 /dev/pass0 > > crw-rw----  1 root  operator      0, 112 Apr  7 17:08 /dev/cd0 > > crw-rw----  1 root  operator      0, 108 Apr  7 17:08 /dev/pass0 > > crw-rw----  1 root  operator      0,  76 Apr  7 17:08 /dev/xpt0 > > > > $ id > > uid=103(sdb) gid=20(staff) > > groups=20(staff),0(wheel),5(operator),32(texuser),920(vboxusers) > > > > So there should not be a permission problem.  The DVD drive is fine, > > and the DVD is fine. > > Either follow http://wiki.freebsd.org/VirtualBox on how to correctly setup cd/dvd passthrough or create a disk image from /dev/cd0 with dd and use that in vbox. > Problem being the instructions on http://wiki.freebsd.org/VirtualBox are slightly inaccurate. You need to set 0660 permissions on all pass devices (or figure out which one is being used), not just pass0. It might be helpful if VirtualBox mentioned this in the error message, as in "Permission denied openining /dev/pass3". In any case, hope this helps someone out down the road. Thanks again for the virtualbox port. Best, Scott -- sdb@ssr.com