How to Mount a DVD on Linux

by Contributing Writer

In Windows operating system a DVD becomes acceptable instantly as soon as it is inserted in a drive. In Linux, a DVD needs to be mounted as a file system. Usually the mounting point for the DVD/CD drive should be defined in the system file "fstab." Note that Section 1 below is the one-time procedure. Once it is done, always proceed directly to Section 2.

Modifying fstab file

1

Right-click on the Desktop and choose "open terminal" from the pop-up menu.

2

Type "su" and press "Enter." Then type "<root password>" and press "Enter" to get administrator (root) privileges.

3

Type "cd /mnt" and press "Enter."

4

Type "mkdir cdrom" and press 'Enter' to create the directory "cdrom."

5

Type "cd /etc" and press "Enter."

6

Type "cp fstab fstab_original" and press "Enter" to make a copy of the file in case you would need to restore the original configuration.

7

Type "nedit fstab" and press "Enter" to open the file "fstab" for editing.

8

Press "End" followed by "Enter" to get to the end of the file.

9

Type the following line at the end of the file "fstab." "/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0"

10

Click the menu "File >Save" to save the file. Then click "File >Exit" to exit "nedit."

11

Type "exit" followed by "Enter" to exit the root shell.

Mounting DVD

1

Insert a DVD into the DVD/CD drive.

2

Type "mount /mnt/cdrom" and press "Enter" to mount DVD.

3

To unmount DVD, close all files and folders (if any) that were used on DVD.

4

Type "umount /mnt/cdrom" and press "Enter."

Items you will need

References