LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mount cdrom problem (https://www.linuxquestions.org/questions/linux-newbie-8/mount-cdrom-problem-413863/)

inverted.gravity 02-10-2006 11:43 AM

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?

jollyjoice 02-10-2006 11:46 AM

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.

inverted.gravity 02-10-2006 11:59 AM

/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?

Nylex 02-10-2006 12:17 PM

Well clearly, your mount point is defined as /media/cdrom0 (in fstab) and you're trying to mount to /mnt/cdrom.

inverted.gravity 02-10-2006 12:29 PM

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.

saman007uk 02-10-2006 12:42 PM

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.

inverted.gravity 02-11-2006 05:06 AM

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?

jomen 02-11-2006 05:24 AM

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...

inverted.gravity 02-11-2006 12:44 PM

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...

zeratul_mdq 02-11-2006 01:11 PM

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!

jomen 02-11-2006 03:02 PM

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.

inverted.gravity 02-12-2006 06:12 AM

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

jomen 02-12-2006 06:25 AM

That is exactly what I suspected :cool:
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


All times are GMT -5. The time now is 12:42 AM.