LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-18-2003, 11:30 PM   #1
Parksy
Member
 
Registered: Apr 2003
Distribution: Gentoo/Mandrake 10.0
Posts: 110

Rep: Reputation: 15
Wine CD-Rom Problems


I have Wine working on Mandrake 9.1, but I'm having trouble with my CD Drive. Whenever I run wine, I get this error messsage:

Code:
Warning: access to temporary directory '/mnt/cdrom' failed (Read-only file system).
It doesn't bother me for most programs, because they work anyhow. But now I'm trying to run an installer from a CD and I'm thinking this is why my program won't run. My CD-Rom drive section from my .wine/config file looks like this:

Code:
[Drive E]
"Path" = "/mnt/cdrom"
"Type" = "cdrom"
"Label" = "Cd-Rom"
"Filesystem" = "win95"
; make sure that device is correct and has proper permissions !
"Device" = "/dev/cdrom"
I'm still pretty new to Linux, so the solution to my answer might be something fairly simple. I've seen some info about editing my fstab file (I've tried adding "exec" and "rw" to the line about my cd drive) but nothing has worked so far.

Thanks in advance for your help.

Last edited by Parksy; 05-18-2003 at 11:32 PM.
 
Old 05-19-2003, 05:51 AM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
The device of your cdrom should be /dev/cdrom/cdrom0. Mandrake used devfs, which handles devices slightly differently than previous kernel versions.

Do a ls -la for /dev/cdrom* and follow the symbolic link to the destination. No permission changes are needed, other than adding your user to the cdrom group. Good luck.
 
Old 05-19-2003, 10:38 AM   #3
Parksy
Member
 
Registered: Apr 2003
Distribution: Gentoo/Mandrake 10.0
Posts: 110

Original Poster
Rep: Reputation: 15
I changed the device section of the config file, but I still get the same error message. How do I go about adding my user to the cdrom group?

Thanks for helping me this far.
 
Old 05-19-2003, 11:27 AM   #4
DanH
LQ Newbie
 
Registered: May 2003
Posts: 10

Rep: Reputation: 0
Quote:
How do I go about adding my user to the cdrom group?
Look in /etc/group and see if there is a cdrom entry. If not, then add one and at the end of the line, you can add users comma seperated.

What are the permissions of /mnt/cdrom? You'll have to change them to 775 for the group to have full use of it.

DanH
 
Old 05-19-2003, 01:33 PM   #5
Parksy
Member
 
Registered: Apr 2003
Distribution: Gentoo/Mandrake 10.0
Posts: 110

Original Poster
Rep: Reputation: 15
I tried editing my /etc/group file. Here's a clip from it.

Code:
floppy:x:19:
games:x:20:
cdrom:x:22:wine,darcy
utmp:x:24:
usb:x:43:
I just added those two entries beside the cdrom section. darcy is the username I use. I stuck wine in there for good measure. However, it still doesn't work. I get the same error.

When I do the chmod 775 for /mnt/cdrom, this shows up:

Code:
chmod: changing permissions of `/mnt/cdrom': Read-only file system
Is that good or bad?
 
Old 05-19-2003, 01:52 PM   #6
DanH
LQ Newbie
 
Registered: May 2003
Posts: 10

Rep: Reputation: 0
Hold on a minute. I must have been on my first cup of coffee earlier.

Of course a CDROM is a read-only filesystem. It's ROM, Read Only Memory.

Ignore the output of "Read-Only Filesystem" when dealing with CDROMs.

DanH
 
Old 05-19-2003, 05:25 PM   #7
Parksy
Member
 
Registered: Apr 2003
Distribution: Gentoo/Mandrake 10.0
Posts: 110

Original Poster
Rep: Reputation: 15
Any idea why wine is complaining about the CD-ROM drive being read-only? I usually ignore the error message, but I can't run anything from CDs through wine and I'm guessing that's my problem.

Thanks for your help anyway.

Last edited by Parksy; 05-19-2003 at 05:28 PM.
 
Old 05-20-2003, 06:02 PM   #8
Parksy
Member
 
Registered: Apr 2003
Distribution: Gentoo/Mandrake 10.0
Posts: 110

Original Poster
Rep: Reputation: 15
It turns out I just had to use D for the drive letter for the CD-ROM drive. It works great now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Link targets - problems with Wine (Though not Wine specific - Wine site doesn't help) Kevjml Linux - Newbie 1 01-13-2006 08:53 AM
Diablo 2 CD-ROM driver error in wine jjorloff1 Linux - Software 2 11-28-2005 01:09 AM
Configuring Wine to see a DVD-ROM Baddox Linux - Software 2 11-12-2004 04:55 PM
Floppy drive and Cd-Rom issue in WINE Genesis Linux - Software 3 06-22-2003 06:59 PM
cd-rom access running wine bynaar Slackware 12 01-20-2003 02:02 PM


All times are GMT -5. The time now is 02:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration