LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-10-2006, 11:43 AM   #1
inverted.gravity
Member
 
Registered: Feb 2006
Location: Sweden
Distribution: Archlinux
Posts: 112

Rep: Reputation: 15
mount cdrom problem


pullansreturn:/mnt# mount /mnt/cdrom
mount: can't find /mnt/cdrom in /etc/fstab or /etc/mtab

Why wont it work, why?
 
Old 02-10-2006, 11:46 AM   #2
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Rep: Reputation: 30
It tells you lol. its nost listed in fstab

you need to add it to fstab, something like this:
Code:
nano /etc/fstab
And an entry like this should work:
Code:
/dev/hdc                /mnt/cdrom      auto            auto,ro,users           0 0
Of course, depending on the distro the cd might be mounted under /media/cdrom... Have a look.
 
Old 02-10-2006, 11:59 AM   #3
inverted.gravity
Member
 
Registered: Feb 2006
Location: Sweden
Distribution: Archlinux
Posts: 112

Original Poster
Rep: Reputation: 15
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0

it looks like this, clearly somethings wrong, how do I fix it so it looks the way you typed it? Should i just retype it?
 
Old 02-10-2006, 12:17 PM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Well clearly, your mount point is defined as /media/cdrom0 (in fstab) and you're trying to mount to /mnt/cdrom.
 
Old 02-10-2006, 12:29 PM   #5
inverted.gravity
Member
 
Registered: Feb 2006
Location: Sweden
Distribution: Archlinux
Posts: 112

Original Poster
Rep: Reputation: 15
Ok now i changed it to

/dev/hdc /mnt/cdrom auto auto,ro,users 0 0

and now it says

pullansreturn:/mnt# mount /mnt/cdrom
mount: you must specify the filesystem type

whats the filesystem for a cdrom? btw i read how to mount a cdrom in a book and it didn't say anything about typing a filesystem in the command to mount.
 
Old 02-10-2006, 12:42 PM   #6
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 363

Rep: Reputation: 33
Did you read Nylex's post? You change backd your fstab to contai what it had previously:
Code:
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
Then type:
Code:
mount /media/cdrom0
It won't ask for file system then.
 
Old 02-11-2006, 05:06 AM   #7
inverted.gravity
Member
 
Registered: Feb 2006
Location: Sweden
Distribution: Archlinux
Posts: 112

Original Poster
Rep: Reputation: 15
Ok this is how /etc/fstab looks like

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda6 /home ext3 defaults 0 2
/dev/hda5 none swap sw 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/hdd /media/cdrom1 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0


But now it says

pullansreturn:/home/ali# mount /media/cdrom0
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

And then i typed dmesg tail

pullansreturn:/home/ali# dmesg | tail
end_request: I/O error, dev hdc, sector 64
isofs_fill_super: bread failed, dev=hdc, iso_blknum=16, block=16
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54
end_request: I/O error, dev hdc, sector 64
isofs_fill_super: bread failed, dev=hdc, iso_blknum=16, block=16
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54
end_request: I/O error, dev hdc, sector 64
isofs_fill_super: bread failed, dev=hdc, iso_blknum=16, block=16


Whats wrong now then?
 
Old 02-11-2006, 05:24 AM   #8
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
Did it ever work before?
Quote:
missing codepage or other error
Have you compiled your kernel with support for cdrom-filesystems( iso9660 joliet and possibly udf - these can be modules)?
Also check your settings in "Native Language Support" (kernel-config)
But the errors look more like bad media.
You can also mount it whithout using fstab (as root then)
mount -t iso9660 /dev/hdc /_your_mount_point_here_
The module for the iso9660 filesystem as well as for the cdrom needs to be loaded eighter by hand or automatically - if these are modules onyour system...
 
Old 02-11-2006, 12:44 PM   #9
inverted.gravity
Member
 
Registered: Feb 2006
Location: Sweden
Distribution: Archlinux
Posts: 112

Original Poster
Rep: Reputation: 15
No it hasn't work before. Seriously, is it suppose to be this hard just to read from a cdrom? I dont want to know how hard its going to be to get my mp3 usb thing to work in linux...
 
Old 02-11-2006, 01:11 PM   #10
zeratul_mdq
LQ Newbie
 
Registered: Jul 2005
Location: /home/MarDelPlata_Argentina
Distribution: Debian Sarge 3.1
Posts: 24

Rep: Reputation: 15
Quote:
Originally Posted by inverted.gravity
No it hasn't work before. Seriously, is it suppose to be this hard just to read from a cdrom? I dont want to know how hard its going to be to get my mp3 usb thing to work in linux...
Hey, everyone had problems at the beginning. And the usb mp3 worked for me in every single linux I've installed with no extra configuration. Anyway, have you used the cd somewhere else? Like jomen said, it might be a media problem.

Bye!
 
Old 02-11-2006, 03:02 PM   #11
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
Yes - it was a bit hidden, but this is what it looks like.
Quote:
But the errors look more like bad media.
The other things are for the case, when you are _sure_ that the media is good, but not sure that your cdrom setup is indeed working.
That is easy to find out - just take another CD and try to mount/read it (the install CD would be a good choice since this one obviously was good).

BTW what kind of CD is it you are trying to get to work? (Data? Audio?)

-edit-
...this is no joke: it really is not hard - but sometimes you need to know how it is _supposed_ to be working to be able to tell the source of errors in case it is not...you are setting up your system and if you go with some defaults (which might not even exist) you cannot expect it to work out of the box.
But you can always ask - but then you will have to answer questions which might look complicated to you, but are necessary for others to narrow down the problem.

Last edited by jomen; 02-11-2006 at 03:12 PM.
 
Old 02-12-2006, 06:12 AM   #12
inverted.gravity
Member
 
Registered: Feb 2006
Location: Sweden
Distribution: Archlinux
Posts: 112

Original Poster
Rep: Reputation: 15
Ok it works now, i used a audio cd, i burned it like the cds you buy from the store, not mp3 files. I guess those cd doesnt work. But I managed to mount a regular data cd and surprisingly the usb too
 
Old 02-12-2006, 06:25 AM   #13
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
That is exactly what I suspected
The CD is very probably fine and playable - it is just not mountable.
Why?
You _cannot_ mount Audio-CD's!
You can play them but to do this you don't need to mount them, because it is impossible - there is no filesystem on them.
Try playing it with an CD-Player application or via a menu in some player called something like: play audio cd
 
  


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 mount problem suguname Mandriva 4 01-28-2005 01:34 AM
fodora 3 cdrom mount problem bob_knab Linux - Software 2 11-29-2004 12:52 PM
CDROM mount? problem ruse Mandriva 3 09-20-2004 04:10 PM
CDROM Mount Problem grover77 Linux - Newbie 13 07-01-2004 12:35 PM
Mount CDROM problem KMcD Slackware 4 02-17-2004 07:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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