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?
2 Answers
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
-
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?– AlanApr 27, 2011 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.– AlanApr 27, 2011 at 3:01
-
You should create the folder before. I edited the answer. Glad you find a way to make it work.– desguaApr 27, 2011 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.– AlanApr 27, 2011 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
.