Page 1 of 1

CD tray opens automatically when I put a cd in it

Posted: 19. Jul 2016, 09:28
by obippo
Hi all,

I've just installed virtualbox and I'm having this little problem. When I put a disct into the cd tray (while in the VM) it just stays there for like 10 seconds, and then a window from the host machine appears with the text "insert a disc on D:) and the tray auto-opens.

I've tried everything and searched everywhere but I can't find a solution to this.

Please, give me a hand.

I'm running a 32 bit XP VM in a windows 10 host.

Thanks in advance! :)

Re: CD tray opens automatically when I put a cd in it

Posted: 19. Jul 2016, 10:35
by mpack
That would be normal behaviour if the host CD is mapped to the VM, and the data CD you are trying to insert is unrecognizable.

It isn't, for example, a music CD is it?

Re: CD tray opens automatically when I put a cd in it

Posted: 19. Jul 2016, 11:40
by obippo
Hi mpack and thanks for your response.

No, it's a game CD (Riven). It worked fine yesterday and I could install some games (sierra's minigolf and pinball, etc), but it's just not working today, I don't know why.

Could it be because yesterday, the virtual CD drive 'matched' the physical cd drive? I mean, that both of them had the same letter (F), but today, I don't know why, the VM drive has another letter (D).

Excuse me but I'm extremely noob with this program, so please ELI5 :oops:

Re: CD tray opens automatically when I put a cd in it

Posted: 19. Jul 2016, 13:21
by mpack
obippo wrote: Could it be because yesterday, the virtual CD drive 'matched' the physical cd drive? I mean, that both of them had the same letter (F), but today, I don't know why, the VM drive has another letter (D).
The drive letter which a Windows guest assigns to a virtual drive is completely independant of how that drive is identified by the host. E.g. Linux guests won't give the drive a letter at all, while Windows guests are quite happy to assign drive letters when the host is Linux. In both cases the host "drive" can actually be an ISO file, in which case the idea of a host drive letter is quite meaningless.

So, I guess the short answer to that question is no.

Try making an ISO image of the CD, mount the ISO image instead of the mapping the host drive. ISO images are quieter and more reliable than physical media.
ImgBurn.

Re: CD tray opens automatically when I put a cd in it

Posted: 19. Jul 2016, 16:22
by obippo
I've just made an iso from the XP installation disc, is that correct?

Now I have the ISO image sitting in my desktop, but as I said I'm pretty tech retard and I really didn't understand what should I do next. A new "install" of the XP virtual machine? How do I do that mapping thing?

Thanks again for your help, friend.

Re: CD tray opens automatically when I put a cd in it

Posted: 19. Jul 2016, 16:51
by mpack
obippo wrote:I've just made an iso from the XP installation disc, is that correct?
No, that is not correct. We were talking about your game CD, what made you think I meant the XP install disk (*)? Use ImgBurn to make an ISO image of your game CD, use the "Devices" menu item when the VM is running to mount the ISO file as virtual CD media in the guest.

(*) To answer my own question, I'm guessing that you don't really know what an ISO image is. You think it has something to do with OS installation? It doesn't. "ISO" refers to the filesystem used by data CDs. That's all data CDs, not just the ones which install something. An "ISO file" is simply an image of a data CD, ready to be burned to a CD media... except you don't burn the image, just mount it in the VM as already described.

Re: CD tray opens automatically when I put a cd in it

Posted: 19. Jul 2016, 21:33
by obippo
I've tried doing that but ImgBurn is creating two files, one .bin and one .cue; I can't mount neither of those, it says they're not a valid format.

I tried forcing the program to make an ISO but it says something about yoda and then it makes another set of .cue and .bin files :roll:

Is there any way to mount that kind of files or I'm out of luck?

edit/ well it's only happening with worms 2 apparently. I don't know how but I've managed to install it via de cd drive... thanks for your help :))

Re: CD tray opens automatically when I put a cd in it

Posted: 20. Jul 2016, 10:05
by mpack
BIN/CUE is a different format. Tell it to create an ISO from an existing CD in the drive.
obippo wrote:edit/ well it's only happening with worms 2 apparently.
That brings us back to a damaged CD.