LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-11-2006, 08:41 AM   #1
jjrbg
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
Question Problem with Wine on FC5 not detecting CD drive


I'm a newbie to Linux and I am having problems running DVD Shrink through Wine on FC5.

Every time I put in a disc it mounts ok in /media, but the name of the folder is the name of the CD/DVD not "cdrecorder". This means whenever I change disc, it changes name!

This is causing problems in Wine, as I can't add the drive in the Wine Configuration. It means adding the drive every time I put a different disc.

fstab contains no reference to media at all. I have tried adding:

/dev/hda /media/cdrecorder auto pamconsole,exec,noauto,managed,user 0 0

but no change. Apologies if this is a simple problem, but I have tried searching for a solution to no avail!

Any help gratefully received.
 
Old 05-11-2006, 01:46 PM   #2
vegetassj2
Member
 
Registered: Jan 2005
Posts: 201

Rep: Reputation: 30
Did you mount your cdrecorder drive first?

if not try:

Code:
$ mount /media/cdrecorder
What do you mean by namechanging? is it:
'cdrecorder' changes to 'cd-rom' or what?

Last edited by vegetassj2; 05-11-2006 at 01:48 PM.
 
Old 05-14-2006, 05:40 AM   #3
jjrbg
LQ Newbie
 
Registered: May 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Got error msg:
mount: can't find /media/cdrecorder in /etc/fstab or /etc/mtab

By name changing, I mean when a cd/dvd is inserted - it mounts automatically in /media named whatever the label of the cd/dvd is. When no disc is in the drive, /media contains nothing.

I have no problems accessing the discs, but can't set drive location in Wine config.
 
Old 05-15-2006, 09:16 AM   #4
GL1800
Member
 
Registered: Jun 2005
Location: Lilburn, Ga
Distribution: FC5
Posts: 175

Rep: Reputation: 30
Here's a way that works to overcome that. Note that these are symbolic links. This goes in .wine/dosdevices. Here:
lrwxrwxrwx 1 ray ray 10 Apr 24 11:44 c: -> ../drive_c
lrwxrwxrwx 1 ray ray 10 Apr 24 11:44 d: -> /mnt/cdrom
lrwxrwxrwx 1 ray ray 8 Apr 24 11:44 d:: -> /dev/hdb
lrwxrwxrwx 1 ray ray 1 Apr 24 11:44 z: -> /
You will need to change these depending on your hardware setup. As you can see, my burner is on /dev/hdb, likely different for you, and I normally mount on /mnt/cdrom. Note the double colons for /dev/hdb.
After you make these links, if your CD is in /dev/hdb, that will appear as a choice in DVDShrink.
 
Old 06-15-2006, 08:37 AM   #5
d_GeNeRiT
LQ Newbie
 
Registered: May 2004
Location: Miami, FL
Distribution: Fedora Core 5
Posts: 28

Rep: Reputation: 15
Quote:
Originally Posted by GL1800
Here's a way that works to overcome that. Note that these are symbolic links. This goes in .wine/dosdevices. Here:
lrwxrwxrwx 1 ray ray 10 Apr 24 11:44 c: -> ../drive_c
lrwxrwxrwx 1 ray ray 10 Apr 24 11:44 d: -> /mnt/cdrom
lrwxrwxrwx 1 ray ray 8 Apr 24 11:44 d:: -> /dev/hdb
lrwxrwxrwx 1 ray ray 1 Apr 24 11:44 z: -> /
You will need to change these depending on your hardware setup. As you can see, my burner is on /dev/hdb, likely different for you, and I normally mount on /mnt/cdrom. Note the double colons for /dev/hdb.
After you make these links, if your CD is in /dev/hdb, that will appear as a choice in DVDShrink.
GL1800,

THis works on FC 5? Please advise step by step what exactly to type at the terminal. I have never been able to get this to work on FC 5. THanks
 
Old 06-15-2006, 08:50 AM   #6
GL1800
Member
 
Registered: Jun 2005
Location: Lilburn, Ga
Distribution: FC5
Posts: 175

Rep: Reputation: 30
Yes, FC5. NOTE! I mount the dvd using mount /dev/hdb /mnt/cdrom.
You may have to adjust to suit your drive layout. The critical parts:
ln -s d: /mnt/cdrom
ln -s d:: /dev/hdb
The rest is unrelated to the issue.
After this is done dvdshrink will allow selection of your drive.
 
Old 06-15-2006, 10:04 AM   #7
d_GeNeRiT
LQ Newbie
 
Registered: May 2004
Location: Miami, FL
Distribution: Fedora Core 5
Posts: 28

Rep: Reputation: 15
Quote:
Originally Posted by GL1800
Yes, FC5. NOTE! I mount the dvd using mount /dev/hdb /mnt/cdrom.
You may have to adjust to suit your drive layout. The critical parts:
ln -s d: /mnt/cdrom
ln -s d:: /dev/hdb
The rest is unrelated to the issue.
After this is done dvdshrink will allow selection of your drive.
THanks GL1800 for your fast reply,

I am very excited about this because my DVD-RW drive not appearing in DVDShrink is the ONLY OUTSTANDING issue I have with FC 5. My DVD-RW drive is device /dev/hdc I use DVDShrink with CrossOver Office 5.1 rather than wine. Will this procedure still work?

I followed this procedure before:

http://www.codeweavers.com/support/d...fig#DRIVECONFI

And it did not work. Is this similar to what you are suggesting?
 
Old 06-16-2006, 02:04 AM   #8
d_GeNeRiT
LQ Newbie
 
Registered: May 2004
Location: Miami, FL
Distribution: Fedora Core 5
Posts: 28

Rep: Reputation: 15
Quote:
Originally Posted by GL1800
Yes, FC5. NOTE! I mount the dvd using mount /dev/hdb /mnt/cdrom.
You may have to adjust to suit your drive layout. The critical parts:
ln -s d: /mnt/cdrom
ln -s d:: /dev/hdb
The rest is unrelated to the issue.
After this is done dvdshrink will allow selection of your drive.
Thanks friend,

I am stuck on this step:

Code:
[alleycat@localhost ~]$ su
Password:
[root@localhost alleycat]# mount /dev/hdc /mnt/dvdrw
mount: you must specify the filesystem type
[root@localhost alleycat]#
 
Old 07-26-2006, 01:43 PM   #9
thanquol
Member
 
Registered: Aug 2003
Location: Northern Sweden
Distribution: Fedora Core 3
Posts: 52

Rep: Reputation: 15
Quote:
Originally Posted by d_GeNeRiT
Thanks friend,

I am stuck on this step:

Code:
[alleycat@localhost ~]$ su
Password:
[root@localhost alleycat]# mount /dev/hdc /mnt/dvdrw
mount: you must specify the filesystem type
[root@localhost alleycat]#
If this is where you are stuck, then its simple:

the command mount works (simplified) like this:
mount -t "type of device" "device" "where to"

that means that you must:
a) have created the map: "/mnt/dvdrw" before you use the command else it will not be able to mount to that point
b) use the option "-t" with an option of what type it is... i.e.: "-t auto" to auto detect the device type.

like this for you:
(first check that the catalogue /mnt/dvdrw exist (else type: "mkdir /mnt/dvdrw"))
[root@localhost alleycat]# mount -t auto /dev/hdc /mnt/dvdrw

This is my edit:
-----------------
I just had to try out this...
This is what I did, and now it works the way that U want:
First I made the directories:
# mkdir /media/cdrecorder
# mkdir /media/cdrecorder1


Then I made a soft link for my first CDROM device:
# ln -s /dev/hdd /home/erik/.wine/dosdevices/d::
# ln -s /media/cdrecorder1 /home/erik/.wine/dosdevices/d:


then I made one for my second CDROM device (actually a DVD-RW):
# ln -s /dev/hdc /home/erik/.wine/dosdevices/e::
# ln -s /media/cdrecorder /home/erik/.wine/dosdevices/e:


I also made a smal adition in my fstab:
# vi /etc/fstab
and put in the following lines (last row):
/dev/hdc /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0
/dev/hdd /media/cdrecorder1 auto pamconsole,exec,noauto,managed 0 0

(but I havent tried out the last thing this yet)
(I switched device letter a bit unlogically for you, but totaly logical for me... hdd is above hdc on my machine)

Last edited by thanquol; 07-26-2006 at 03:32 PM.
 
0 members found this post helpful.
  


Reply

Tags
fedora, fstab, mount, wine


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
FC5 not detecting my external serial modem CytoTech Fedora - Installation 4 08-25-2006 12:23 AM
VMWare FC5 install problem detecting HD graeder Fedora 2 06-02-2006 04:55 PM
BIOS not detecting IDE drive, yet drive works fine slightcrazed Linux - Hardware 3 04-12-2006 08:48 PM
FC5 not detecting my 56k emokid Linux - Hardware 1 04-08-2006 01:23 AM
FC5 installer not detecting disk's free space LloydM Fedora - Installation 7 03-28-2006 07:17 PM


All times are GMT -5. The time now is 01:28 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration