Mounting CD/DVD in a running guest OS from the host cli?

Discussions related to using VirtualBox on Solaris hosts.
Post Reply
agrajag
Posts: 4
Joined: 3. Mar 2009, 01:02

Mounting CD/DVD in a running guest OS from the host cli?

Post by agrajag »

Hi,

I've been searching around for a way to mount a CD/DVD iso image from the host OS command line, for a running (active) guest VBox vm.

(i.e. attach cd 1 and 2 of win2k3 install to a running guest OS to complete the setup of an AD server). I don't want to BOOT with the CD active, I want to mount it once the guest is running.

I'm on a solaris x86 host with a windows 2003 guest vm. I've found how to mount the media from the command line when the guest is shut down, but I have not seen a method by which a running guest can have a CD/DVD mounted by anything other than the Virtualbox console... which is not practical for the environment I'm working with (solaris shell only for creating and managing the vm's).

Any pointers to how this is done from the CLI would be greatly appreciated.

< one clarification> - I'm looking to mount ISO images present on the host system, from the guest OS, as a CD/DVD, from the host command line. Not access the CD/DVD drive of the host.

Thanks!
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Re: Mounting CD/DVD in a running guest OS from the host cli?

Post by Ramshankar »

Once you have the controller in place with storagectl (or via the GUI), take a look at VBoxManage storageattach (User manual section 8 ). http://www.virtualbox.org/manual/ch08.html#idp14153472
Oracle Corp.
Sopalajo de Arrierez
Posts: 30
Joined: 5. Jul 2008, 12:04

Re: Mounting CD/DVD in a running guest OS from the host cli?

Post by Sopalajo de Arrierez »

I have developed an answer to this thread in another forum.
I am posting the link here for not doing cross-posting:
http://superuser.com/questions/741734/v ... mmand-line
Post Reply