<p>In this guide, you will be shown how to mount a DVD or CD using <a href="https://www.lifewire.com/beginners-guide-to-ubuntu-2205722" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="1">Ubuntu Linux</a>. The guide shows multiple methods in case one way doesn&#39;t work for you.</p><h3>The Easy Way</h3><p>In most cases when you insert a DVD you just have to be a little bit patient whilst the DVD loads. You will then see a screen similar to the one shown in this guide.</p><p>The messages you will receive will vary depending on the type of media you have inserted.</p><p>For example, if you have inserted a DVD from the front of a magazine, which contains software designed to run automatically, you will see a message saying that the software wants to run. You can then choose whether to run that software or not.</p><p>If you insert a blank DVD you will be asked what you want to do with the DVD such as create an audio DVD.</p><p>If you insert an audio CD you will be asked whether you want to import the music into your audio player such as <a href="https://www.lifewire.com/complete-guide-rhythmbox-2204885" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="2">Rhythmbox</a>.</p><p>If you insert a DVD you will be asked whether you want to play the DVD in Totem.</p><p>You will be asked what to do when you insert this DVD again in the future. The examples include:</p><ul><li>ask what to do</li><li>do nothing</li><li>open the folder in the file manager</li><li>choose another application</li></ul><p>You may wonder what the point is to a guide showing how to do something so simple but sometimes things don&#39;t go to plan and you will want to use the command line to mount the DVD.</p><h3>Mount a DVD Using the File Manager</h3><p>You can see if a DVD has mounted by using the file manager. To open the file manager click on the filing cabinet icon on <a href="https://www.lifewire.com/complete-guide-ubuntu-launcher-2202067" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="3">the Ubuntu Launcher</a> which is usually the 2nd option down.</p><p>If the DVD is mounted it will appear as a DVD icon at the bottom of the Ubuntu Launcher. You can open the DVD in the file manager by clicking on the DVD icon as well.</p><p>If you are lucky you will see the DVD in the list on the left side of the file manager screen. You can generally double click on the DVD&#39;s name (with a DVD symbol) and the files that are on the DVD will appear in the right panel.</p><p>If the DVD hasn&#39;t automatically mounted for some reason you can try right-clicking on the DVD and choosing the mount option from the context menu.</p><h3>How to Eject a DVD Using the File Manager</h3><p>You can eject the DVD by right-clicking on the DVD and choosing the Eject option or by clicking on the eject symbol next to the DVD.</p><h3>How to Mount a DVD Using the Command Line</h3><p>A DVD drive is a device. Devices in Linux are treated in the same way as any other object and therefore they are listed as files.</p><p>You can navigate using <a href="https://www.lifewire.com/uses-of-command-cd-2201063" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="4">the cd command</a> to the /dev folder as follows:</p><blockquote><p>cd /dev</p></blockquote><p>Now use <a href="https://www.lifewire.com/uses-of-linux-ls-command-4054227" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="5">the ls command</a> and <a href="https://www.lifewire.com/what-to-know-less-command-4051972" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="6">the less command</a> to get a listing.</p><blockquote><p>ls -lt | less</p></blockquote><p>If you step through the listing you will see the following two lines:</p><blockquote><p>cdrom -&gt; sr0</p><p>dvd -&gt; sr0</p></blockquote><p>What this tells us is that both CD-ROM and DVD link to sr0 so you can mount either a DVD or cd using the same command.</p><p>To mount a DVD or CD you need to use <a href="https://www.lifewire.com/uses-of-linux-command-mount-2201110" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="7">the mount command</a>. First of all, you need somewhere to mount the DVD to.</p><p>To do this navigate to the /media/ folder using the following command:</p><blockquote><p>cd /media</p></blockquote><p>Now create a folder to mount the DVD into</p><blockquote><p>sudo mkdir mydvd</p></blockquote><p>Finally, mount the DVD using the following command:</p><blockquote><p>sudo mount /dev/sr0 /media/mydvd</p></blockquote><p>The DVD will be mounted and you can navigate to the media/mydvd folder and perform a directory listing within the terminal window.</p><blockquote><p>cd /media/mydvd</p><p>ls -lt</p></blockquote><h3>How to Unmount the DVD Using the Command Line</h3><p>To unmount the DVD all you have to do is run the following command:</p><blockquote><p>sudo umount /dev/sr0</p></blockquote><h3>How to Eject a DVD Using the Command Line</h3><p>To eject the DVD using the command line use the following command:</p><blockquote><p>sudo eject /dev/sr0</p></blockquote><h3>Summary</h3><p>In most cases, you will use the graphical tools to navigate and play the contents of DVDs but if you find yourself on a computer without a graphical display then you now know how to manually mount a DVD.</p>