LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-10-2002, 12:51 AM   #1
alberto2498
LQ Newbie
 
Registered: May 2002
Location: USA
Distribution: Mandrake 9.0
Posts: 26

Rep: Reputation: 15
Unhappy No such file or directory


Hi all!

I have installed Mandrake 9.0 in my machine and sometimes I install a CD on the CDRom access it, copy or wathever and the next time I try to access the same disc the systems tells me NO SUCH FILE OR DIRECTORY, in this very moment that's exactly what I get. I installed Wine and before that I was able to look the files on the system, then I tried to run one game (DOS) and the system started, then Wine sent me a message saying that was not configured, so I tried to configure it and now I receive that error message.

This is not the first time that happens to me and Im wondering if is a bug on Mandrake 9.0

Any comments will be appreciated.

Geiner
 
Old 12-10-2002, 01:46 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
it sounds like you need to mount the cdrom
 
Old 12-10-2002, 08:08 AM   #3
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
Yeah... check the /etc/mount and man mount
 
Old 12-10-2002, 04:30 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
mount /dev/cdrom /mnt/cdrom
 
Old 12-11-2002, 10:00 PM   #5
alberto2498
LQ Newbie
 
Registered: May 2002
Location: USA
Distribution: Mandrake 9.0
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by DavidPhillips
mount /dev/cdrom /mnt/cdrom
Hi there!

I tried the option and I received this message:

MOUNT: BLOCK DEVICE /DEV/CDROM IS WRITE PROTECTED, MOUNTING READ ONLY
MOUNT: WRONG FS TYPE, BAD OPTION, BAD SUPERBLOCK ON /DEV/CDROM, OR TOO MANY MOUNTED FILE SYSTEM.

The situation is this: I turned on the computer, then I tried to run a DOS program and the Wine sends me an error message:

Wine has exited with a failure status of 1.

Wine ....

When I click on the View Log I receive the message:

/opt/wine/bin/wine.bin: cannot find '/mnt/cdrom'

Son in this very moment I dont know what to do, do you think this is a bug in Mandrake?

Thanks for any help in advance.
 
Old 12-11-2002, 10:37 PM   #6
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
No, check the /etc/fsck, ake sure that the CD rom has the FS=AUTO option.
 
Old 12-11-2002, 10:47 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
when you rebooted your machine that means the cdrom is not mounted again

mount /dev/cdrom /mnt/cdrom

then try wine


you cannot write to a cdrom so it's always going to be read only
 
Old 12-11-2002, 10:49 PM   #8
alberto2498
LQ Newbie
 
Registered: May 2002
Location: USA
Distribution: Mandrake 9.0
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Ciccio
No, check the /etc/fsck, ake sure that the CD rom has the FS=AUTO option.
Hi again!

When I tried to go to /etc/fsck the file doesnt show up, so I dont know if I should have it or if is that Mandrake doesnt have it at all.
 
Old 12-11-2002, 10:55 PM   #9
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
he's talkin about /etc/fstab


/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0

put this line in /etc/fstab

you could put auto instead of noauto is what he said


I don't think I would do that, I would just mount it when I need to, since it's not always there

auto is for things that are always there

Last edited by DavidPhillips; 12-11-2002 at 10:58 PM.
 
Old 12-11-2002, 10:57 PM   #10
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
check post #4for further instructions


if you put the line above in fstab you can use this


mount /dev/cdrom

Last edited by DavidPhillips; 12-11-2002 at 10:59 PM.
 
Old 12-11-2002, 10:59 PM   #11
alberto2498
LQ Newbie
 
Registered: May 2002
Location: USA
Distribution: Mandrake 9.0
Posts: 26

Original Poster
Rep: Reputation: 15
Hi!

I think I have discovered what is the situation, for some odd reason when I click on the link (icon) for the cdrom I get the files and the info from the cdrom, when I click on the file I want to be ran by Wine is when the whole things change, so I do a reload and the mighty message, actually I think it doesnt like any DOS (Windows) program because I tried with other program and happened the same, now I tried to play some songs from another cd (MP3) using XMMS and is doing weird things, it loads the list of songs but only plays one and when I select the next one I runs from the second all the way to the end without playing any music.

Is this a normal behavior after "crashing" some parts of the system?
 
Old 12-11-2002, 11:01 PM   #12
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
oh

you are mounting a music cd?

you can't do that

try mount with a data cd

for wine run it in a terminal or xterm

wine programname
 
Old 12-11-2002, 11:01 PM   #13
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
look at /var/log/messages

or

dmesg

and see if you are getting read errors on the cd you are trying to play
 
Old 12-11-2002, 11:03 PM   #14
alberto2498
LQ Newbie
 
Registered: May 2002
Location: USA
Distribution: Mandrake 9.0
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by DavidPhillips
he's talkin about /etc/fstab


/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0

put this line in /etc/fstab

you could put auto instead of noauto is what he said


I don't think I would do that, I would just mount it when I need to, since it's not always there

auto is for things that are always there
This is how my fstab file looks like:

/dev/hda1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdb1 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda6 /usr ext3 defaults 1 2
/dev/hda5 swap swap defaults 0 0

Should I change it or leave it like it is now?
 
Old 12-12-2002, 12:23 PM   #15
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
Ok, try this:
Code:
none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,user,iocharset=iso8859-1,codepage=850,umask=0 0 0

Last edited by Ciccio; 12-12-2002 at 12:24 PM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libtermcap.so.2: cannot open shared object file: No such file or directory tcma Linux - Software 11 02-24-2012 03:00 AM
awk: fatal:cannot open file for reading (no such file or Directory) in Linux sangati vishwanath Linux - Software 4 07-06-2005 12:59 AM
"cannot create directory: ...no such file or directory" fatblueduck Linux - General 7 06-04-2005 10:08 AM
libawt.so: libXp.so.6: cannot open shared object file: No such file or directory man26 *BSD 0 09-10-2004 08:34 AM
The file or directory file:/misc/cdrom does not exist rangerssg Linux - Newbie 5 08-29-2004 05:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:02 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
Open Source Consulting | Domain Registration