LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 07-05-2005, 09:05 AM   #1
hobgoblin
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Rep: Reputation: 0
Cdrom issues


Can anyone tell me where exactly the cdrom drive is located and how to browse the files on a CD like you do by accesing d:/ on windows?

Thanks.
 
Old 07-05-2005, 09:31 AM   #2
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 34
If the cdrom is Secondary Master > /dev/hdb
If the cdrom is Primary Slave > /dev/hdc (like here)
if the cdrom is Secondary Slave > /dev/hdd

---

To access you have to mount (see more withe the command man mount ) the driver, most distros already do this automaticly (the mounted cdrom may be in /cdrom or /mnt/cdrom but only will be showing something when you have a disk inserted and is mounted), but the command you must enter is: mount /dev/hdX /mnt/cdrom
Where hdX is hdb, hdc or hdd.
if the folder cdrom dont exist you will need to create it using the command mkdir /mnt/cdrom
to check if it existis you may run: ls -a /mnt if shows something like this:
Code:
.     ..     cdrom
them its there.

if command mount /dev/hdX /mnt/cdrom returns an error about the file type you have to mount with the follow command mount -t iso9660 /dev/hdX /mnt/cdrom


NOTE: execute this commands running as root!
if you dont know how to access as root you have to use the su command or if your user have permission the sudo <command> command.

Last edited by maginotjr; 07-05-2005 at 09:43 AM.
 
Old 07-05-2005, 09:38 AM   #3
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
Also maybe the slackware install did some fstab setup for you

You may just try :
mount /mnt/cdrom
then cd /mnt/cdrom and do a ls to see your files
 
Old 07-05-2005, 09:39 AM   #4
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 34
yeah... good point ;D
 
Old 07-05-2005, 09:54 AM   #5
hobgoblin
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Okay so, I did all of what you told me... all of which didn't seem to work =/

when entering 'mount -t iso9660 /dev/hdc /mnt/cdrom' I get this message:

''mount: block device /dev/hdc is write protected, mounting read-only"
"mount: wrong fs type, bad option, bad superblock on dev/hdc, missing codepage or other error.
In some cases useful info is found in syslog - try dmesg | tail or so''

EDIT: The thing is though, I can run 'gxine' - a multimedia player and select 'CD from the file menu. I checked the preferences and found that it is set to read /mnt/cdrom so obviously, it is being linked to the cdrom fine... in terms of playing an audio cd!

Last edited by hobgoblin; 07-05-2005 at 10:02 AM.
 
Old 07-05-2005, 10:19 AM   #6
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 34
them you got it
 
Old 07-05-2005, 10:42 AM   #7
hobgoblin
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Not entirely... I don't know why but, If I insert a data disk, or even keep the same audio cd in the drive - I open /mnt/cdrom and nothing is there! Seems a bit odd, maybe I'll need to re-install slackware?

I checked the playlist editor for gxine and it gives the 'MRL adress' for the file as cdda:/1, cdda:/2 etc.
 
Old 07-05-2005, 10:51 AM   #8
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
Quote:
maybe I'll need to re-install slackware
That will change nothing

Audio CDs can't be mounted, they don't contain any file system into them
only one large audio file and tracks index informations

What are the error message when insert a data cd and attempt to mount it with :
mount /mnt/cdrom

Also maybe post your /etc/fstab file and the output with :
ls -l /dev/cdrom
 
Old 07-05-2005, 11:04 AM   #9
hobgoblin
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Managed to sort it out, tried a different disk from the audio & orig. data disk and it worked fine. Must have been the disk, thanks for the mounting help though! Worked great.
 
  


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
cdrom issues cs-cam Linux - Hardware 6 01-08-2005 02:06 PM
cdrom issues talkinggoat Linux - Hardware 9 07-12-2004 02:27 PM
cdrom issues scarsmonkey Slackware 10 08-01-2003 10:38 PM
CDRom issues.... penguinz Linux - Hardware 0 03-12-2003 10:23 AM
CDROM issues kkempter Linux - Hardware 1 12-13-2002 02:58 PM


All times are GMT -5. The time now is 06:40 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration