If you are seeking to master Linux and choose to... Read more →
In this guide, you will be shown how to mount a DVD or CD utilizing Ubuntu Linux. The guide shows multiple approaches in case one way doesn’t work for you.
The Easy Way
In many cases when you insert a DVD you simply need to be a bit client whilst the DVD loads. You will then see a screen similar to the one displayed in this guide.
The messages you will receive will vary depending on the type of media you have actually inserted.
For instance, if you have placed a DVD from the front of a publication, which contains software created to run immediately, you will see a message stating that the software application wants to run. You can then choose whether to run that software application or not.
If you insert a blank DVD you will be asked what you wish to finish with the DVD such as develop an audio DVD.
If you place an audio CD you will be asked whether you wish to import the music into your audio gamer such as Rhythmbox.
If you place a DVD you will be asked whether you want to play the DVD in Totem.
You will be asked what to do when you insert this DVD once again in the future. The examples consist of:
ask what to do
open the folder in the file manager
select another application
You may question what the point is to a guide showing how to do something so basic, but sometimes things do not go according to strategy and you will want to utilize the command line to install the DVD.
Mount a DVD Using the File Supervisor
You can see if a DVD has actually installed by utilizing the file manager. To open the file manager click the filing cabinet icon on the Ubuntu Launcher which is typically the 2nd option down.
If the DVD is installed it will look like a DVD icon at the bottom of the Ubuntu Launcher. You can open the DVD in the file supervisor by clicking on the DVD icon too.
If you are fortunate you will see the DVD in the list on the left side of the file supervisor screen. You can generally double click the DVD’s name (with a DVD symbol) and the files that are on the DVD will appear in the ideal panel.
If the DVD hasn’t immediately mounted for some reason you can attempt right-clicking on the DVD and choosing the mount choice from the context menu.
How to Eject a DVD Utilizing the File Supervisor
You can eject the DVD by right-clicking on the DVD and selecting the Eject alternative or by clicking the eject symbol beside the DVD.
How to Mount a DVD Utilizing the Command Line
A DVD drive is a device. Devices in Linux are dealt with in the same way as any other things and therefore they are noted as files.
You can browse utilizing the cd command to the/ dev folder as follows:
Now use the ls command and the less command to get a listing.
If you step through the listing you will see the following 2 lines:.
cdrom -> sr0.
dvd -> sr0.
What this informs us is that both CD-ROM and DVD link to sr0 so you can install either a DVD or cd using the exact same command.
To install a DVD or CD you need to use the mount command. Firstly, you need somewhere to mount the DVD to.
To do this browse to the/ media/ folder using the following command:.
Now create a folder to mount the DVD into.
sudo mkdir mydvd.
Lastly, mount the DVD using the following command:.
sudo install/ dev/sr0/ media/mydvd.
The DVD will be installed and you can navigate to the media/mydvd folder and carry out a directory listing within the terminal window.
How to Unmount the DVD Using the Command Line.
To unmount the DVD all you need to do is run the following command:.
sudo umount/ dev/sr0.
How to Eject a DVD Using the Command Line.
To eject the DVD utilizing the command line use the following command:.
sudo eject/ dev/sr0.
In most cases, you will utilize the graphical tools to browse and play the contents of DVDs but if you find yourself on a computer without a visual display then you now understand how to manually install a DVD.