VirtualBox

Opened 17 years ago

Closed 13 years ago

#646 closed defect (fixed)

Only one of the CD/DVD drives from the host is available for mount

Reported by: Lev Shamardin Owned by:
Component: other Version: VirtualBox 1.5.0
Keywords: Cc:
Guest type: other Host type: other

Description

I am running VirtualBox 1.5.0 on Fedora 7 Linux. I have two CD/DVD drives: /dev/scd0 and /dev/scd1, the first one is a DVD drive, and the second one is a CD drive. The system symlinks them as /dev/dvd and /dev/cdrom respectively. Only /dev/cdrom is available in the dropdown box when I try to select a host drive to be mounted on the VM. When I try to do that from the command line I get the following:

[shamardin@leo ~]$ VBoxManage modifyvm adserver -dvd host:/dev/dvd
VirtualBox Command Line Management Interface Version 1.5.0
(C) 2005-2007 innotek GmbH
All rights reserved.

error: Invalid host DVD drive name

The command 'VBoxManage modifyvm adserver -dvd host:/dev/cdrom' is executed without any problems.

[shamardin@leo ~]$ ls -l /dev/{dvd,cdrom,scd0,scd1}
lrwxrwxrwx  1 root      root     4 2007-09-06 09:36 /dev/cdrom -> scd1
lrwxrwxrwx  1 root      root     4 2007-09-06 09:36 /dev/dvd -> scd0
brw-------+ 1 shamardin disk 11, 0 2007-09-06 09:36 /dev/scd0
brw-------+ 1 shamardin disk 11, 1 2007-09-06 09:36 /dev/scd1

Is it a problem with my system or with the VirtualBox?

Change History (8)

comment:1 by Kolkmann, 17 years ago

It is a problem with VirtualBox.
If I want to mount a CD-ROM thru the VirtualBox GUI Settings... CD/DVD-ROM the drop down list of available CD-ROM devices shows me also /dev/hda1 and /dev/fd0. That makes no sense.

I have found that the only device VirtualBox accepted is /dev/cdrom. For a workaround at the moement I set the symlink /dev/cdrom to the just needed device. This implies that I can only mount one optical drive.

comment:2 by Michael Thayer, 16 years ago

elhoir reported in ticket #836: i am using VirtualBox OSE in Ubuntu 7.10 and i have 2 DVD drives

when selecting DVD drives for my virtual machines i just can select one of those

in reply to:  2 comment:3 by Michael Thayer, 16 years ago

Replying to michael:

elhoir reported in ticket #836: i am using VirtualBox OSE in Ubuntu 7.10 and i have 2 DVD drives

when selecting DVD drives for my virtual machines i just can select one of those

elhoir: if you like, I can send you an updated build (development snapshot) by private mail to the address which you registered with the bugtracker. This issue should be fixed there.

comment:4 by javier fernandez, 16 years ago

michael: thanks for your help, i would like to receive it. The thing is that my mailbox can receive 10 Mb maximum, and i think VirtualBox is bigger...

In the other hand, will it be fixed on future versions of VBox? is it fixed on 1.5.2?

comment:5 by Michael Thayer, 16 years ago

elhoir: I sent you a download link by e-mail.

comment:6 by Frank Mehnert, 16 years ago

Resolution: fixed
Status: newclosed

comment:7 by Michael, 14 years ago

Resolution: fixed
Status: closedreopened

Hi All,

I am having the same exact issue. VHOST is ubuntu 8.10, running multiple linux VM's. The VM in particular that I am trying to attach to the host drive is also Ubuntu.

All this is on a Headless box (hence, a server) so I am not using all that fancy gui garbage.

Here is the error i receive.

virtadmin@alice:~$ VBoxManage modifyvm storm --dvd host:/dev/cdrom
VirtualBox Command Line Management Interface Version 3.0.8
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

error: Invalid host DVD drive name

And here are the cd/dvd drives that are present, and their symlinks

virtadmin@alice:~$ ls -l /dev/{cdrom,cdrom1,scd0,scd1}
lrwxrwxrwx 1 root root      4 2009-11-11 12:15 /dev/cdrom -> scd0
lrwxrwxrwx 1 root root      4 2009-11-11 12:15 /dev/cdrom1 -> scd1
brw-rw---- 1 root cdrom 11, 0 2009-11-11 12:15 /dev/scd0
brw-rw---- 1 root cdrom 11, 1 2009-11-11 12:15 /dev/scd1

I have tried every which way I can possibly imagine. Please advise.

comment:8 by Frank Mehnert, 13 years ago

Resolution: fixed
Status: reopenedclosed

Please reopen if still relevant with VBox 4.0.4.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use