Problems with CD access on Virtualbox

Warren Block wblock at wonkity.com
Tue Sep 10 23:58:50 UTC 2013


On Tue, 10 Sep 2013, Mark Felder wrote:

>
>
> On Tue, Sep 10, 2013, at 14:26, Juris Kaminskis wrote:
>>
>> ls -l /dev/cd0 gives following:
>>
>> crw-rw---- 1 root operator 0,   85 Sep 10 18:46  /dev/cd0
>>
>
> Only root and operator have access to that device. Put your user in the
> operator group. You will have to logout/login again. In your
> shell/terminal, use the "groups" command to confirm you're really in the
> operator group. Then start up your virtualbox and it should have access.

I was fighting with that last night, and just now figured it out.  The 
user should be a member of the operator group, but also must have rw 
permissions on /dev/cd0, /dev/xpt0, and /dev/pass0... and here's the 
trick: there can be more than one /dev/pass device.  As soon as I added 
pass1 and pass2 to /etc/devfs.conf, it worked:

perm    cd0     0660
perm    pass0   0660
perm    pass1   0660
perm    pass2   0660
perm    xpt0    0660

HAL is not needed.


More information about the freebsd-emulation mailing list