How to Mount DVDs Using Ubuntu

There are multiple methods, so if one doesn't work, try another

Learn how to mount a DVD or CD using Ubuntu Linux. There are multiple methods in case one way doesn't work for you.

The Easy Way

In most cases, when you insert a DVD, you have to be patient while the DVD loads. You will then see a screen similar to the one below. The message you see varies depending on the type of media you inserted.

Dialog box related to mounting A DVD using Ubuntu.

For example, if you inserted a DVD from the front of a magazine, which contains software designed to run automatically, you see a message saying that the software wants to run. You can then choose whether to run that software or not.

If you insert a blank DVD, you are asked what you want to do with the DVD, such as create an audio DVD.

If you insert an audio CD, you are asked whether you want to import the music into an audio player such as Rhythmbox.

If you insert a DVD, you are asked whether you want to play the DVD in Totem.

You will be asked what to do when you insert this DVD again in the future. The examples include:

  • Ask what to do.
  • Do nothing.
  • Open the folder in the file manager.
  • Choose another application.

If things don't go according to plan, use the command line to mount the DVD.

Mount a DVD Using the File Manager

You can see if a DVD has mounted by using the file manager. To open the file manager, click the filing cabinet icon on the Ubuntu Launcher.

If the DVD is mounted, it appears as a DVD icon at the bottom of the Ubuntu Launcher. To open the DVD in the file manager, click the DVD icon.

The DVD appears in the list on the left side of the file manager screen. When you double-click the DVD name (with a DVD symbol), the files on the DVD appear in the right panel.

If the DVD didn't automatically mount, right-click the DVD and choose the mount option from the context menu.

How to Eject a DVD Using the File Manager

You can eject the DVD by right-clicking the DVD and choosing the Eject option, or by clicking the eject symbol next to the DVD.

How to Mount a DVD Using the Command Line

A DVD drive is a device. Devices in Linux are treated the same way as other objects and are listed as files.

  1. Use the cd command to go to the /dev folder as follows:

    cd /dev
  2. Use the ls command and the less command to get a listing.

    ls -lt | less
  3. Look through the listing to find the following two lines:

    cdrom -> sr0
    dvd -> sr0

    This indicates that both the CD-ROM and DVD link to sr0. You can mount either a DVD or cd using the same command.

  4. Before you can use the mount command to mount a DVD or CD, you need somewhere to mount the DVD. To do this, navigate to the /media/ folder using the following command:

    cd /media
  5. Create a folder to mount the DVD into.

    sudo mkdir mydvd
  6. Mount the DVD using the following command:

    sudo mount /dev/sr0 /media/mydvd
  7. When the DVD mounts, navigate to the /media/mydvd folder and perform a directory listing in the terminal window.

cd /media/mydvd
ls -lt

How to Unmount the DVD Using the Command Line

To unmount the DVD, run the following command:

sudo umount /dev/sr0

How to Eject a DVD Using the Command Line

To eject the DVD using the command line, use the following command:

sudo eject /dev/sr0

Summary

In most cases, you'll use the graphical tools to navigate and play the contents of DVDs. However, if you're using a computer without a graphical display, manually mount the DVD.