Mount or Unmount a CD or DVD in Ubuntu

This tutorial will teach you how to mount or unmount a CD or DVD in Ubuntu. This very simple method can be done through your terminal and only requires the use of a command line.

Command Line to Mount or Unmount a Disc

Assuming that your CD or DVD is located in media/cdrom0, here are two lines of code that will enable you to mount or unmount a disc.

To mount a CD or DVD, simply open your terminal and type
sudo mount /media/cdrom0/ -o unhide
. Once your CD is mounted, you can access your data through your directory.

To unmount or eject the disc, open your terminal and enter
sudo umount /media/cdrom0/ -l
Published by jad05. Latest update on September 17, 2016 at 05:50 AM by ChristinaCCM.
This document, titled "Mount or Unmount a CD or DVD in Ubuntu," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (
Ubuntu - Restart Gnome or KDE in command line
Ubuntu - Login prompt not displayed