VirtualBox

Ticket #646 (closed defect: fixed)

Opened 7 years ago

Last modified 3 years ago

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

Reported by: shamardin Owned by:
Priority: major 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

comment:1 Changed 7 years ago by Ingo

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 follow-up: ↓ 3 Changed 6 years ago by 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

comment:3 in reply to: ↑ 2 Changed 6 years ago by michael

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 Changed 6 years ago by elhoir

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 Changed 6 years ago by michael

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

comment:6 Changed 6 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

comment:7 Changed 4 years ago by sanemanmad

  • Status changed from closed to reopened
  • Resolution fixed deleted

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 Changed 3 years ago by frank

  • Status changed from reopened to closed
  • Resolution set to fixed

Please reopen if still relevant with VBox 4.0.4.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use