Jun
9

How to eject a cd/dvd in Linux if the eject button dosen’t works.

It sometimes happens that when you press the eject button of the DVD/CD drive, nothing happens. You can eject the disk only by rebooting the system. But you can eject the disk without a system reboot by the following methods.

Simply right click on the CD/DVD icon on your desktop and select the Eject/Unmount option.  If even this does not work , then run the following command:

$ df

Shown below is a sample output for the above command:

/dev/hda6         11079832       6788525       365286    66%      /tmp

“                                 ”                        ”                     ”            ”            ”

/dev/hdc              693064          693064              0          100%      /media/LFYCD_March08

This tells us that /dev/hdc is our CD/DVD-ROM drive. Now use the following command as the root.

# fuser -km /dev/hdc

Now you should be able to eject your Disk :)

1 Comment to “How to eject a cd/dvd in Linux if the eject button dosen’t works.”

  • Narayanan April 1, 2010 at 3:47 am

    You can also use the eject command to eject the disk from the drive.

Post comment

Follow us on Twitter! Follow us on Twitter!
http://twitter.com/efheem
The next version of Ubuntu is coming soon

Recent Posts

Recent Comments

Firefox Download Button
Google Analytics Alternative Add to Technorati Favorites Technology Blogs - BlogCatalog Blog Directory Free Hit Counter Technology Google Analytics Alternative Blog Buzzer