How to access the host's DVD drive?

Discussions related to using VirtualBox on Solaris hosts.
Post Reply
budy
Posts: 31
Joined: 1. Jul 2010, 17:51
Primary OS: OpenSolaris 11
VBox Version: OSE other
Guest OSses: MacOS, Linux

How to access the host's DVD drive?

Post by budy »

Hi,

I have installed VirtualBox 3.2.6 on OpenSolaris snv134. The server is headless, so I have to setup the entire VMs using VBoxManage. Not a big problem, but I can't figure out how to correctly configure the appropriate option.

Atm, the DVD is inserted into the DVD drive of the host and df shows is like this:

/dev/dsk/c2t0d0s2 608M 608M 0 100% /media/WINDOWSSUPPORT

Interestingly, this is a MacOS X Server DVD and it seems to completely lack the OS X part, since the above seems to be the Windows session on that DVD.
Anyway, I even can't seem to get to that:

Code: Select all

oot@opensolaris-test:~# VBoxManage storageattach "MOSX" --storagectl 'IDE Controller' --port 0 --device 0 --type dvddrive --medium host:/dev/rdsk/c2t0d0s2
Oracle VM VirtualBox Command Line Management Interface Version 3.2.6
(C) 2005-2010 Oracle Corporation
All rights reserved.

But upon starting the VM I am getting:

Code: Select all

root@opensolaris-test:~# VBoxHeadless --startvm MOSXOracle VM VirtualBox Headless Interface 3.2.6
(C) 2008-2010 Oracle Corporation
All rights reserved.

Listening on port 3389.
Error: failed to start machine. Error message: Cannot open host device '/devices/pci@0,0/pci-ide@1f,1/ide@0/sd@0,0:c,raw' for readonly access. Check the permissions of that device (VERR_ACCESS_DENIED).
Unknown error creating VM (VERR_ACCESS_DENIED)
What am I doing wrong here?

Thanks,
budy
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: How to access the host's DVD drive?

Post by Perryg »

budy
Posts: 31
Joined: 1. Jul 2010, 17:51
Primary OS: OpenSolaris 11
VBox Version: OSE other
Guest OSses: MacOS, Linux

Re: How to access the host's DVD drive?

Post by budy »

Hi,

hmm… now this is an interesting case, since I am actually running OpenSolaris on a MacPro1,1, so actually I am pretty compliant with Apple's SLA for Mac OS X server.
Now, that aside: do my issues with setting the host's DVD drive originate from VirtualBox determining, that I threw a OS X Server boot DVD at it?

Thanks,
budy
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: How to access the host's DVD drive?

Post by Perryg »

Not sure, but you might put the CD/DVD in passthrough mode and see if that helps.
Post Reply