Cannot eject CD/DVD disk from drive in Linux – device is busy

I tried to load some software from CD today on my Red Hat Linux ES 5 .. I have finished copying the software and I tried to eject the disk — well, one would say this is a simple process .. I clicked the CD-ROM icon on Desktop and right click and select EJECT — I got error message that this task has failed and the device is busy. I tried to use command line  with no luck …

I have used as a root this command:

 # eject -r

Well, thanks to Linux there are many ways to accomplish the task .. finally I have used this command and this worked and stopped the drive and ejected my disk:

 # umount -l /dev/cdrom

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.