[SOLVED] How to fix "Unable to stat the mount point /media/cdrom/" while installing applications from repository CD/DVDs in Ubuntu 12.04
BY nitheesh.cs
9 years ago
1 comments comment

Ubuntu 12.04 comes with a bug that it will not mount the cdrom on proper path and that prevents installation of applications from the Ubuntu Repositories even if you add the repositories via apt-cdrom successfully.

Whenever you try to install applications you'll get an error message like

E: Unable to stat the mount point /media/cdrom/ - stat (2: No such file or directory)

Here is how to fix this problem:

Open the Terminal and follow the instructions below to add the Ubuntu repository DVDs to the Software Sources list (sources.list).

Create a mount point for cdrom device (if the directory already exists, goto the next step)

sudo mkdir /media/cdrom

Edit the fstab to make some change.

sudo gedit /etc/fstab

Paste the following line at the end of the file

/dev/sr0 /media/cdrom udf, iso9660 user, noauto 0 0

Save and close the file.

Then restart the system.

After restarting the system, insert the repository DVDs one by one.

Then copy and paste the below command to add the DVD to the source list.

sudo apt-cdrom add

You'll be prompted to name the DVD. Give the name such as DVD1, DVD2, DVD3...etc.

After all the DVD completes, reload the system repository using following command.

sudo apt-get update

Now your system is ready to install any package using the Ubuntu Repository DVDs.



on 04th April 2007 / by webmaster
Linux is the epitome of the FLOSS model. Technical Solution Linux installation Dewey J. Corl (not verified) access_time 31 Jul 2021 - 15:05 Linux is not ready for the general public! (I am a Ubuntu user). For proof, 1. try to simply print labels on a Dymo label printer. It takes a LOT of work to get to the ease of label printing already available in Windows and Mac. 2. try syncing a modern Palm based PDA. Yes, jpilot and others will sync the main data, but pictures and midi files do not get transferred without a lot of extra setup. These are examples of applications that are not ready for the general public. Since an operating system only supports applications, Linux is not ready to be a common desktop for the general public. While we are waiting for the applications to catch up, keep up the good work!! Anoop John (not verified) access_time 31 Jul 2021 - 15:05 Dewey Yes you may be right. But these are not applications that a common man would use. A common man would use one of these applications - Internet browser, Chat Client, Email Client, Document Writer, Presentation Creator, Spreadsheet Editor, Movie Viewer, Music Player, CD/DVD Writer. Both examples you cited are more specific applications that only a small percentage of the whole population uses. It will take time before those hardware vendors identify the need from their perspective to address the Linux community. Krishnadas (not verified) access_time 31 Jul 2021 - 15:05 Dear Mr Anoop, Thank you very much for the free installation of LINUX done in my PC. I am getting immersed in the LINUX and seeing the versatility. To my surprise, I am able to read one of my old backup CD(wherein lot of my valuable file exist) done in DIRECT CD wizard (a custom cd writing software of Easy Cd creator in WIN98) which could not be read in XP. Installation of old version of easycd creator/direct cd program was not possible in XP. I thought that possible i lost all data. Very pleasant start! Srikanth N. S. (not verified) access_time 31 Jul 2021 - 15:05 Hi Anoop, My friend is thrilled with Ubuntu. One of his grouses with windows was that after OS installation, everything else is to be installed separately which is a real headache. WHereas if u install Linux, everything is installed as a package and he is thrilled to bits! Let linux installation spread in Trivandrum and your service in this direction is highly appreciated. Kepp up the good work Regards. PDA Freak (not verified) access_time 31 Jul 2021 - 15:05 Is it possible to install linux on a packardbell notebook ?

Arne (not verified)
access_time 31 Jul 2021 - 15:31

The blank/space between "udf," and "iso9660" and "user," and "noauto" has to be left. Otherwise it wont work.