CD drive will not Eject

Discussions related to using VirtualBox on Linux hosts.
Post Reply
ToddWelch
Posts: 2
Joined: 15. Jan 2009, 17:07

CD drive will not Eject

Post by ToddWelch »

I am running Ubuntu 8.10 and start up Windows XP in Virtual Box. When Windows XP is running many times I am unable to eject the cd drive. When I shutdown the XP the drive eject just fine. Something in virtual box is hanging up the CD drive. Any idea?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

No, Linux locks the drive by default until you safely unmount it.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
ToddWelch
Posts: 2
Joined: 15. Jan 2009, 17:07

Post by ToddWelch »

The only time this happens is when I have XP running with Virtual Box. It even happens when no disc is in the tray. As soon as I shut down XP in virtual box then the drive will eject by using the button.
breinicke
Posts: 1
Joined: 3. Mar 2009, 06:31

Re: CD drive will not Eject

Post by breinicke »

I am running XP SP3 inside Ubuntu 8.10. As a graphic designer, I'm a slave to adobe and since I have PC hardware, a slave to Windows.
That said, I am in XP A LOT for various reasons with frequent need of using the CD/DVD R drive.
I'm still a linux noob, and am really wanting a way to work this out. Is there any fix at all to allow the DVD drive to act more "normally" from inside Windows?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: CD drive will not Eject

Post by Sasquatch »

When Linux detecs that the drive is in use in any matter, it usually prevent the user from ejecting the disc. But if no disc is inserted, it should eject the drive just fine. If you have a disc in the drive and your filebrowser or terminal is inside a folder on the disc, it will lock it due to access to the drive. You can always use the eject command to eject a drive. It will give an error if it fails stating what is wrong (e.g. in use).

With VB, it would be best to unmount it from there, so the Guest will detect the disc change. You should be able to just eject the drive if only the VM is running and accessing it.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply