Closed Thread Icon

Topic awaiting preservation: Help with mounting CDRom under Linux (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=6285" title="Pages that link to Topic awaiting preservation: Help with mounting CDRom under Linux (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Help with mounting CDRom under Linux <span class="small">(Page 1 of 1)</span>\

 
CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 05-26-2003 05:13

I have been trying to figure out what is going on with my CDRom Drives under Linux and can't figure it out. When I go to /mnt, the CDRoms have the little "lock" icons on them and can not get into them. Can't play music or anything. I used to and haven't changed anything, but now Permission is denied.

I have checked under Root by righ clicking and selecting Properties to check the Permissions, but they seem to be right.

Here is what I am running:
Dual Boot with WindowsXP / Mandrake Linux 9.0

I have 2 CDRoms (which are listed under /mnt) and a floppy drive that are not accessible.

Any words of adice

Thanks in advance

Later,

C:\


~Binary is best~

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 05-27-2003 02:56



Later,

C:\


~Binary is best~

Veneficuz
Paranoid (IV) Inmate

From: A graveyard of dreams
Insane since: Mar 2001

posted posted 05-27-2003 15:08

Are the CD-roms mounted (the content is there, but you can't access it) or do you have problem mounting the CD-roms?

Check out the /etc/fstab file. There should be a line there looking someting like this:
/dev/cdrom /mnt/cdrom iso9660 noauto, ro, user 0 0

What this does is basicly tell Linux that the device /dev/cdrom should be mounted on /mnt/cdrom, the fileformat is iso9660 and it is to be mounted as read-only and the user should be allowed to mount this drive. You might need to change /dev/cdrom to whatever device name your cdroms have.

Then to mount the CD-rom use the standard mount <fileformat> <device> <target> command. It is possible to automate this task, but I'm not sure how. It is very possible that this task is allready automated in Mandrake...

The floppy drive can be handled in the same manner...


_________________________
"There are 10 kinds of people; those who know binary, those who don't and those who start counting at zero"

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 05-27-2003 21:49

Veneficuz, sorry for not making much sense. I haven't had much sleep lately.

The CD-ROMS are mounted, if I go to /mnt, they are both there (cdrom, cdrom2 & floppy). Like you said, I just can't access them. I get a permissions error. I am expecting that I have to go in under root to change the seetings for the fstab, right?

When I tried to install CrossOver, it said that I was running supermount. I didn't know that and had to find out what the hell that was anyway.

I will check out the fstab and see if that works.

Thanks

Later,

C:\


~Binary is best~

[This message has been edited by CPrompt (edited 05-27-2003).]

Veneficuz
Paranoid (IV) Inmate

From: A graveyard of dreams
Insane since: Mar 2001

posted posted 05-27-2003 23:23

Can you read the cdroms when you're logged in as root?

The fstab file is basicly the file that the system reads when loading so it knows which devices to load where. You might be able to read the file as a normal user, but to edit it you'll have to be root.

Even though the directories are listed in /mnt doesn't mean that the devices are loaded. The directories will always be there, even if you don't have any CDs in the cdroms. The thing is that you first create the directories where you want the devices to be accessed from, then you mount them to that directory. So the /mnt/cdrom directory will always be there. Each time you insert a cd you'll have to mount that cd to the /mnt/cdrom directory. When you then remove the CD you should unmount the /mnt/cdrom directory again, since the cd is no longer there... But these steps are probably automated in RedHat and Mandrake.


_________________________
"There are 10 kinds of people; those who know binary, those who don't and those who start counting at zero"

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 05-28-2003 00:49
quote:
Can you read the cdroms when you're logged in as root?



Nope. Says that I can't access them. When I looked at fstab, it had "none" before the mount points. At this point I am kind of ignorant with Linux. I know my way around it a little (just enough to be dangerous)

I have read the O'Reilly book on Running Linux about this and tried everything they suggested and I still can't get it to work.
I am going to try your suggestion with editing the fstab file and see if that works.

If not then I am going to just post my fstab file here and see if you see anything. That is if you don't mind.

Thanks for the help.


Later,

C:\


~Binary is best~

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 05-28-2003 03:09

OK, here is what fstab has:

code:
/dev/hda7 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
none /mnt/cdrom supermount dev=/dev/hdb,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/cdrom2 supermount dev=/dev/hdd,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
/dev/hda1 /mnt/win_c vfat iocharset=iso8859-1,codepage=850,umask=0 0 0
/dev/hda5 /mnt/win_d vfat iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/zip supermount dev=/dev/sda4,fs=auto,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda6 swap swap defaults 0 0
/dev/sdb1 /mnt/removable auto user,iocharset=iso8859-1,kudzu,codepage=850,noauto,umask=0,exec 0 0



Don't know if that will help or not. I have tried unmounting and then mounting again and nothing. I have tried to put a CD into each of the drives
and tried to access it through a terminal and I get "Input/Output Error"

I put in the line that you gave me and rebooted and nothing.

Well, if you can help that would be great, if not. Oh well . . .

Thanks for trying.

Later,

C:\


~Binary is best~

Petskull
Maniac (V) Mad Scientist

From: 127 Halcyon Road, Marenia, Atlantis
Insane since: Aug 2000

posted posted 05-28-2003 14:33

<question class="stupid">
Are your CDdrives plugged in? If you put the CD in the drive and you don't hear it spin, it could be that the power or some other cabe is loose or fell off...
</question>


Code - CGI - links - DHTML - Javascript - Perl - programming - Magic - http://www.twistedport.com
ICQ: 67751342

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 05-28-2003 15:51

Nope, CD-ROM's are working fine. I can access them under Windows but not Mandrake.

I think that one of the problems is that I have a slave and a master. Sometimes Linux doesn't like the "slave / master" setup. I am going to try to just unplug one of the drives and see if the remaining one works.

~sigh~-

Later,

C:\


~Binary is best~

Jestah
Maniac (V) Mad Scientist

From: Long Island, NY
Insane since: Jun 2000

posted posted 05-28-2003 21:26

What type of CD-ROM drives are you using? While Mandrake generally has excellent hardware support perhaps you should be looking for a better driver.

Jestah

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 05-28-2003 23:37

CD-ROMS are:

MasterPhillips PCRW1208 CDRW
SlaveLG CD-ROM CDR-8400B

The last one came with the system, so more than likely it is that one that is giving me the problems plus it is set as slave. Only thing I can guess.

Later,

C:\


~Binary is best~

« BackwardsOnwards »

Show Forum Drop Down Menu