Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to install a game of mine using POL (PlayOnLinux), but the CD-ROM must be mounted at /media/cdrom0. Instead, it is being mounted at /media/(diskname). Is there a way I can fix this?

share|improve this question
Ran into the same issue trying to install a wireless driver on a fresh ubuntu install - the disk has to be mounted at /media/cdrom in order to install packages from it. Unmounting and remounting in the correct spot fixed it. – Josiah Feb 13 at 16:50
up vote 7 down vote accepted

First Unmount it:

sudo umount /media/(diskname)  

Then mount it where you want:

mount -t auto /dev/cdrom /media/cdrom0  

I think there is another (easier) solution to your problem: just make a symbolic link:

sudo mkdir /media/cdrom0

sudo ln -s /media/(diskname) /media/cdrom0  
share|improve this answer
Hi! Thank you for your help. After I enter in the second command, it tells me that cdrom0 does not exist, am I doing something wrong? – Alan Apr 27 '11 at 2:15
Sadly, I had to find another way to install the game, the POL script was very outdated and didn't work for me. – Alan Apr 27 '11 at 3:01
You should create the folder before. I edited the answer. Glad you find a way to make it work. – desgua Apr 27 '11 at 10:07
Thank you for your help! Even though I found another way to get the game working, I will keep this bookmarked as it will come in handy, I have a LOT more to install. – Alan Apr 27 '11 at 15:30

You can use a bind mount. It allows you to have more than one mount point for a device. For instance, sudo mount -o bind /media/dvd0 /media/cdrom0 would make /media/cdrom0 identical to /media/dvd0.

share|improve this answer
Thank you Egil for your help! – Alan Apr 27 '11 at 15:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.