LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-27-2004, 05:40 PM   #1
sephiro499
Member
 
Registered: Sep 2003
Location: Baltimore, MD
Distribution: Fedora Core 8
Posts: 39

Rep: Reputation: 15
Cd has different contents in Linux then in Windows


I'm trying to install unreal tournament using WINE in Mandrake 10.0. When I put the cdrom (disc 1) in my computer (running Mandrake) the files are different then what they are on my xp laptop. Disc 2 shows up fine under both computers. Disc 1 in linux even has this directory where as if I double click on it, it keeps loading the same directory over and over. Disc 1 in Windows works fine and I can install the program. Besides taking all of the files off the cd on my laptop and transfering them over the network to my desktop, is there anyway I can get Disc 1 to work?
 
Old 10-27-2004, 05:56 PM   #2
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
the problem sounds a bit weird. when you open the cdrom in mandrake, can you see anything at all? or just that directory that doesn't open/opens repeatedly? if that's all you see, i'm just guessing here, but it may not have been properly mounted. try putting the cd in, and opening up a terminal. type

su root
(enter you password)
umount /mnt/cdrom
mount /mnt/cdrom


if you get errors saying /mnt/cdrom doesn't exist, check /etc/fstab for the correct mount point. once you have successfully mounted the cd, then

cd /mnt/cdrom
ls -al

and see what comes up. if you still can't properly access the data, maybe someone else has a better idea.
 
Old 10-27-2004, 06:01 PM   #3
sephiro499
Member
 
Registered: Sep 2003
Location: Baltimore, MD
Distribution: Fedora Core 8
Posts: 39

Original Poster
Rep: Reputation: 15
It has files that don't exsist on the windows box plus a directory that keeps opening itself. I tried to unmount the cdrom drive "umount: /mnt/cdrom: device is busy" (logged in as root as you suggested). I tried right click on the icon to unmount same thing.
 
Old 10-27-2004, 06:09 PM   #4
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
more and more unreal, pardon the pun.

when you tried to unmount it, are you sure that you didn't have any files open? if you are using the resource, it won't let you unmount. otherwise, i suppose it's possible that either the drive or the cd could have problems. i'm reaching though.

EDIT: that applies to simply being "in" the /mnt/cdrom directory too. before you try to umount, cd /home or /etc or something just to be safe.

Last edited by mcd; 10-27-2004 at 06:11 PM.
 
Old 10-27-2004, 06:13 PM   #5
corbintechboy
Member
 
Registered: Sep 2003
Location: Kentucky
Posts: 480
Blog Entries: 1

Rep: Reputation: 51
There have been a few problems with supermount in mandrake might want to try disabling that and see if it helps:
supermount -i disable
 
Old 10-27-2004, 06:18 PM   #6
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
doing a little reading on the subject, i came across a neat little tool that might help:

lsof /mnt/cdrom

will tell you what, if anything, is accessing that directory.
 
Old 10-28-2004, 01:16 AM   #7
sephiro499
Member
 
Registered: Sep 2003
Location: Baltimore, MD
Distribution: Fedora Core 8
Posts: 39

Original Poster
Rep: Reputation: 15
I disabled the supermount but the lsof /mnt/cdrom command didn't work, command not found (I have mandrake 10). I did notice something strange though. Taking the cd out does not make the files go away. Pop in a photo cd and the eject the cd; the files still remain in the file viewer. I can also see the files via a console. The files not removing themselves is only a problem on /cdrom not /cdrom2. Cd 1 of unreal tournament reads differently in /cdrom2 with just 3 folders; all with question marks underneath of them.
 
Old 10-28-2004, 08:15 PM   #8
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
i'm confused. when you say /cdrom and /cdrom2 what are you referring to? is this your mount point? ie instead of mounting to /mnt/cdrom you created a folder called /cdrom? and another one called /cdrom2?

if you could do this and post the output it might help:

ls -l /cdrom
ls -l /cdrom2


and otherwise, it sounds like the drive is not getting properly unmounted. not sure what would be causing it though. i did a quick google and found an lsof rpm for you: http://rpmfind.net/linux/RPM/redhat/...47-2.i386.html install that and try running

lsof /mnt/cdrom


actually, please post the contents of your /etc/fstab file, and do the lsof on the folder the cd drive gets mounted to. in other words, you should see something like this:

/dev/cdrom /mnt/cdrom iso9660 defaults,users 0 0


do lsof whatever directory you have instead of /mnt/cdrom (although it really should be that). anyway, maybe with some more info we can narrow this down some more.
 
Old 10-29-2004, 01:17 AM   #9
sephiro499
Member
 
Registered: Sep 2003
Location: Baltimore, MD
Distribution: Fedora Core 8
Posts: 39

Original Poster
Rep: Reputation: 15
Here is the text from the ls command I currently have Unreal Tournament CD1 in my second cdrom disk drive.
-------------------------------------------------------------------------

[sephiro500@localhost sephiro500]$ ls -l /mnt/cdrom
total 0
[sephiro500@localhost sephiro500]$ ls -l /mnt/cdrom2
total 100
dr-xr-xr-x 1 root root 2048 May 10 2002 ????/
-r-xr-xr-x 1 root root 10042 Aug 22 2000 ??????*
-r-xr-xr-x 1 root root 10042 Aug 22 2000 ??????*
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
dr-xr-xr-x 1 root root 2048 Oct 6 2000 ???????/
--------------------------------------------------------------------------------

Here is my fstab file
---------------------------------------------------------------------------------
/dev/hda6 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdb6 /home ext3 defaults 1 2
none /mnt/cdrom supermount fs=udf:iso9660,dev=/dev/hdc,--,codepage=850,iocharset=iso8859-1,nosuid,ro,umask=0,nodev,exec 0 0
none /mnt/cdrom2 supermount fs=udf:iso9660,dev=/dev/hdd,--,codepage=850,iocharset=iso8859-1,nosuid,ro,umask=0,nodev,exec 0 0
none /mnt/floppy supermount fs=ext2:vfat,dev=/dev/fd0,--,codepage=850,iocharset=iso8859-1,nosuid,umask=0,unhide,nodev 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0
/dev/hdb5 swap swap defaults 0 0
---------------------------------------------------------------------------------------
I installed lsof when I lsof /dev/cdrom nothing happens
 
Old 10-29-2004, 02:29 AM   #10
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
hmm. i have no idea how supermount works, but you said you disabled it anyway, so.... i guess try mounting them by hand again. i really don't know what else to suggest, this one is beyond me.
 
Old 10-29-2004, 09:39 AM   #11
np complete
Member
 
Registered: May 2004
Distribution: Fedora Core 2/3
Posts: 51

Rep: Reputation: 15
Couldn't this entire issue be avoided by installing the Linux version of UT that comes on the original UT CD's???

Perhaps the computer is reading the disc as it is programmed to do in a linux partition, and the wine is trying to read it as a windows disc, but windows files are locked out or something????

Just some food for thought
 
  


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
equivalent of windows directory properties providing basic stats on contents alpha21 Linux - Newbie 9 05-01-2005 09:09 AM
Read windows drive and ftp contents alphanordix Linux - Newbie 1 11-27-2003 10:33 AM
Access contents of Linux drive from Windows???? welchdoc Linux - Newbie 3 11-15-2003 09:19 PM
Konqueror won't display Windows FTP contents tx29219 Linux - Software 1 02-27-2003 10:46 AM
can i copy windows contents into linux gurpreetpall Linux - General 5 03-20-2002 04:23 PM


All times are GMT -5. The time now is 06:32 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