Mount or Unmount a CD or DVD in Ubuntu

December 2016

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

Related :

This document entitled « Mount or Unmount a CD or DVD in Ubuntu » from CCM ( is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.