Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

2 Answers 2

up vote 6 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
add comment

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
add comment

Your Answer

 
discard

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.