LinuxQuestions.org
Help answer threads with 0 replies.
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 06-04-2004, 09:15 PM   #1
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Rep: Reputation: 30
Question cd drive mounting errror


hi

i have a CD/DVD-ROM drive located at hdc

i try to mount it:

mount hdc /mnt/cdrom

i get error:

mount: block device hdc is write-protected, mounting read-only
hdc: Input/output error
mount: you must specify the filesystem type

how do i resolve this error?

thanks
 
Old 06-04-2004, 09:21 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
mount -t iso9660 /dev/hdc /mnt/cdrom

The main thing is the missing /dev part.
 
Old 06-04-2004, 09:49 PM   #3
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Original Poster
Rep: Reputation: 30
hrmm...

i type in that line and i get an error:

mount: block device /dev/hdc is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
or too many mounted file systems
 
Old 06-04-2004, 09:53 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,969

Rep: Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752
What type of CD are you trying to mount? You can not mount audio CDs.
 
Old 06-04-2004, 09:59 PM   #5
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
This first bit isn't an error, after all DVD-ROMs aren't writable.

This second one is about filetypes, I've put iso9660 which is the standard data CD type. you can also use auto.

so try:
mount -t auto -r /dev/hdc /mnt/cdrom

The -r means read-only just gets rid of the error.

you can also put a line in your /etc/fstab file for the device so you can simply say
mount /mnt/cdrom.

The line would be
/dev/hdc /mnt/cdrom auto ro,user,noauto 0 0

user means that anyone can mount it, noauto tells the system not to try and mount a CD automatically at boot.

If its a music CD you don't mount it. Your CD player or ripper access's the device directly.

Last edited by leonscape; 06-04-2004 at 10:01 PM.
 
Old 06-04-2004, 10:04 PM   #6
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Original Poster
Rep: Reputation: 30
well there is a dvd in it and i guess it is stuck in there now unless if i can figure out how to get it out
 
Old 06-04-2004, 10:07 PM   #7
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Original Poster
Rep: Reputation: 30
oh i got it wokring now thanks guyys
 
Old 06-05-2004, 12:54 PM   #8
OC_eobard
Member
 
Registered: May 2004
Distribution: Slackware 10.2, Ubuntu 6.10
Posts: 94

Rep: Reputation: 15
What did you have to do to get it working? What did you change? I don't have the problem mounting my optical drives myself but it can't hurt to know for future reference.
 
  


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
k3b errror messages (several) rvijay Debian 2 02-28-2005 04:15 AM
KDE programs - mime errror Veteq Linux - Software 0 11-14-2004 08:48 PM
slackware 9.1 mounting problems (cd drive, cd writer drive, win partition (ntfs)) mr.gizm0 Slackware 8 05-11-2004 06:23 PM
Errror running ./configure on apollon Toro Linux - Software 2 04-05-2004 08:59 AM
kernel errror during booting deepsa Linux - Hardware 0 11-01-2003 12:46 AM


All times are GMT -5. The time now is 05:01 AM.

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