9771 Virtual Box Can't read cd0 - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old April 13th, 2012, 15:43
urlugal urlugal is offline
Junior Member
 
Join Date: Apr 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Virtual Box Can't read cd0

I am trying to install Windows Server 2008R2 as a guest on my FreeBSD 9.0 host. I have followed all the instructions in the wiki namely:
Quote:
atapicam kernel module needs to be loaded via /boot/loader.conf:
Code:
atapicam_load="YES"
HAL has to run at the moment so enable it in /etc/rc.conf and start it if not yet done:
Code:
hald_enable="YES"
# /usr/local/etc/rc.d/hald start
Your account needs permissions to access /dev/xpt0, /dev/cdN and /dev/passN so add this to /etc/devfs.conf:
Code:
perm cd0 0660
perm xpt0 0660
perm pass0 0660
This is the error that I get. I am running this as a normal user. I just installed Virtual Box from ports after updating my ports tree. The version is 4.1.12_OSE r77245

Code:
Failed to open a session for the virtual machine windows2k8.

Cannot open host device '/dev/cd0' for read/write 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}
I have tried playing with the permissions and owner myself even going to far as to chmod 777 and change the owner to vboxusers but still no luck. Any thoughts on where to look, I am somewhat knew to FreeBSD but have been using Linux for over 10 years.

Last edited by DutchDaemon; April 13th, 2012 at 22:56. Reason: Proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
  #2  
Old April 13th, 2012, 21:48
je33 je33 is offline
Junior Member
 
Join Date: Jun 2010
Posts: 55
Thanks: 15
Thanked 4 Times in 4 Posts
Default

Welcome to the forums. See:

http://forums.freebsd.org/showthread...ght=virtualbox

While it's a bit dated, it has all you should need about permissions to get your host CD drive running. Albeit, you will need to localize the actual rules you create for your system.

Good luck!

Last edited by DutchDaemon; April 13th, 2012 at 22:56. Reason: spell
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix virtual mysql. virtual alias issues. hockey97 Web & Network Services 7 December 19th, 2011 12:11
DNS help please read! royalweb Firewalls 9 March 9th, 2010 16:13
Substitute for 'read' to read file descriptors angy Userland Programming & Scripting 1 February 9th, 2010 20:35
tape read errors: how to read past? recover? monkeyboy System Hardware 5 May 13th, 2009 13:41
Cannot read from ext2 disk - g_vfs_done():da2[READ(snip)] error 5 skaffen General 0 March 6th, 2009 16:02


All times are GMT +1. The time now is 08:57.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0