Page 1 of 1

iso mounted as CD and not DVD

Posted: 26. Apr 2015, 16:55
by jaaassh
I added an ISO as a a dvd drive yet windows thinks it's a CDROM. I can see the contents of the disk so the ISO is in tact however, I'm trying to run a program that looks for and verifies that a DVDROM is available - so this detail is important.

I attached it like this:

VBoxManage storageattach win7 --storagectl IDE --port 0 --device 0 --type dvddrive --medium /path/to/file.iso

There's no flag I see for storageattach that would differentiate between a CD and a DVD. Maybe it's something about how the ISO was created?

Thanks!

Re: iso mounted as CD and not DVD

Posted: 27. Apr 2015, 00:13
by michaln
jaaassh wrote:looks for and verifies that a DVDROM is available
How exactly?

Re: iso mounted as CD and not DVD

Posted: 27. Apr 2015, 01:06
by jaaassh
Beats me
michaln wrote:
jaaassh wrote:looks for and verifies that a DVDROM is available
How exactly?
Beats me - usually when I put a CD in windows thinks it's a CD. If I put a DVD in... windows thinks it's a DVD. I don't ask questions :)

I've never mounted an ISO and *needed* it to be a DVD until now.

Re: iso mounted as CD and not DVD

Posted: 27. Apr 2015, 12:05
by mpack
I assume it's the ISO size that determines this. ~700MB or less, it's a CD. So if you want to force it, create a larger image (put a big file on it).

Re: iso mounted as CD and not DVD

Posted: 27. Apr 2015, 22:27
by jaaassh
The ISO I'm testing with is well into DVD-sized range.

Re: iso mounted as CD and not DVD

Posted: 28. Apr 2015, 00:16
by mpack
Hmm. Then you may need to ask on a Windows forum why Windows says what it says.

Re: iso mounted as CD and not DVD

Posted: 28. Apr 2015, 16:37
by scottgus1
I find that my Windows 7 guest still identifies its virtual CD drive as a "CD drive" even when I mount a Windows 7 iso, 3GB in size.

On the other hand my Windows 7 host continually sees a DVD drive, regardless of the type of disc I insert, Audio, CD-rom or DVD, because the physical drive is a DVD drive.

I suspect the guest will always see a CD drive regardless of the size of the ISO mounted because Virtualbox tells the guest it's a CD drive, not a DVD drive, even though the Vboxmanage command says its a DVD drive. I don't yet see anywhere if there's a way to get Virtualbox to tell the guest its drive is a DVD drive, either.

Now that they're beta-ing another version, you might ask them to make the CD drive a DVD drive and see what you get. Post an enhancement on the Bugtracker. https://www.virtualbox.org/wiki/Bugtracker

You could also ask the software developer to get rid of that check, or get a DVD drive emulator (I've used SlySoft's free Virtual Clone Drive on hosts, might work in a guest.)