Discussion:
Mounting CDs
Chris
2011-11-18 04:15:34 UTC
Permalink
I have a bunch of audio cds I want to copy over to my phone however 9
out of 10 won't mount. I'm tried manually mounting but don't think I'm
doing it right. My fstab looks like this:

# Entry for /dev/sda5 :
UUID=0872e67d-8dc4-489c-9dc7-bbf8202207fa / ext3 relatime 1 1
# Entry for /dev/sda1 :
UUID=68e2b94e-f8ff-44f1-8b22-7bc629d67afa /home ext3 relatime 1 2
/dev/cdrom /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec
0 0
/dev/fd0 /media/floppy auto
umask=0,users,iocharset=utf8,noauto,exec,flush 0 0
none /proc proc defaults 0 0
none /tmp tmpfs defaults 0 0
# Entry for /dev/sdb1 :
UUID=60017260-d213-486e-afa6-7081557baedd /var ext3 defaults 1 2
# Entry for /dev/sdb5 :
UUID=c0aa6db5-7b00-4bea-aed3-c241b19e9c33 swap swap defaults 0 0

My mtab whenever a cd does mount looks like this:

/dev/sda5 / ext3 rw,relatime 0 0
none /proc proc rw 0 0
/dev/sda1 /home ext3 rw,relatime 0 0
none /tmp tmpfs rw 0 0
/dev/sdb1 /var ext3 rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
/var/lib/authdaemon /var/spool/postfix/var/lib/authdaemon none rw,bind 0
0
/proc /var/lib/named/proc none rw,bind 0 0
/dev/sr0 /media/CDROM iso9660
ro,nosuid,nodev,uhelper=udisks,uid=500,gid=500,iocharset=utf8,mode=0400,dmode=0500 0 0

of course whenever I unmount the cd the mtab entry goes away. Is there
any way I can manually attempt to mount the cds that won't mount
automagically?

Chris
--
Chris
KeyID 0xE372A7DA98E6705C
31.11°N 97.89°W (Elev. 1092 ft)
22:10:32 up 47 days, 7:20, 1 user, load average: 2.01, 0.77, 0.60
Chris
2011-11-18 04:29:51 UTC
Permalink
Post by Chris
I have a bunch of audio cds I want to copy over to my phone however 9
out of 10 won't mount. I'm tried manually mounting but don't think I'm
UUID=0872e67d-8dc4-489c-9dc7-bbf8202207fa / ext3 relatime 1 1
UUID=68e2b94e-f8ff-44f1-8b22-7bc629d67afa /home ext3 relatime 1 2
/dev/cdrom /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec
0 0
/dev/fd0 /media/floppy auto
umask=0,users,iocharset=utf8,noauto,exec,flush 0 0
none /proc proc defaults 0 0
none /tmp tmpfs defaults 0 0
UUID=60017260-d213-486e-afa6-7081557baedd /var ext3 defaults 1 2
UUID=c0aa6db5-7b00-4bea-aed3-c241b19e9c33 swap swap defaults 0 0
/dev/sda5 / ext3 rw,relatime 0 0
none /proc proc rw 0 0
/dev/sda1 /home ext3 rw,relatime 0 0
none /tmp tmpfs rw 0 0
/dev/sdb1 /var ext3 rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
/var/lib/authdaemon /var/spool/postfix/var/lib/authdaemon none rw,bind 0
0
/proc /var/lib/named/proc none rw,bind 0 0
/dev/sr0 /media/CDROM iso9660
ro,nosuid,nodev,uhelper=udisks,uid=500,gid=500,iocharset=utf8,mode=0400,dmode=0500 0 0
of course whenever I unmount the cd the mtab entry goes away. Is there
any way I can manually attempt to mount the cds that won't mount
automagically?
Chris
I would mention that this is on 2010.2
--
Chris
KeyID 0xE372A7DA98E6705C
31.11°N 97.89°W (Elev. 1092 ft)
22:29:30 up 47 days, 7:39, 1 user, load average: 0.20, 0.68, 0.84
Peter Vollebregt
2011-11-18 18:24:55 UTC
Permalink
Post by Chris
I have a bunch of audio cds I want to copy over to my phone however 9
out of 10 won't mount. I'm tried manually mounting but don't think I'm
doing it right.
Audio CD's cannot be mounted because they only carry raw data and there
is no file system (like ext4 or FAT) on them. The only thing you can do
is to read them (often called ripping) and "Pack" the sound in an
optionally compressed file format like .wav or .mp3 (called "encoding").

Windows simulates this like it is mounting the CD (you can see the
tracks than as "track1.wav", etc.) and some desktop systems on Linux do
the same thing. For instance konqueror/dolphin on KDE will do the same
thing. But normally you hav to use applications that will do this.

Reading under Linux is done via cdparanoia normally (low level, not
directly used by users). Ripping and encoding is supported by programs
like kaudiocreator (that i lke very much but is difficult to find
nowadays) or grip or abcde (command line). Also under othet OSés ohet
programs habe to be used for this.

The one cd that works maybe has a little data partition.Some CD's have
this although it normally is done as a piracy protection (older cd's
-luckili they stopped doing this because it confuses also other devices).

Peter
Chris
2011-11-19 03:31:45 UTC
Permalink
Post by Peter Vollebregt
Post by Chris
I have a bunch of audio cds I want to copy over to my phone however 9
out of 10 won't mount. I'm tried manually mounting but don't think I'm
doing it right.
Audio CD's cannot be mounted because they only carry raw data and there
is no file system (like ext4 or FAT) on them. The only thing you can do
is to read them (often called ripping) and "Pack" the sound in an
optionally compressed file format like .wav or .mp3 (called "encoding").
Windows simulates this like it is mounting the CD (you can see the
tracks than as "track1.wav", etc.) and some desktop systems on Linux do
the same thing. For instance konqueror/dolphin on KDE will do the same
thing. But normally you hav to use applications that will do this.
Reading under Linux is done via cdparanoia normally (low level, not
directly used by users). Ripping and encoding is supported by programs
like kaudiocreator (that i lke very much but is difficult to find
nowadays) or grip or abcde (command line). Also under othet OSés ohet
programs habe to be used for this.
The one cd that works maybe has a little data partition.Some CD's have
this although it normally is done as a piracy protection (older cd's
-luckili they stopped doing this because it confuses also other devices).
Peter
What I should have said is that these are music cds that are in mp3
format that I downloaded. Some will mount, some won't. Using the command
line

[***@localhost ~]# mount -t iso9660 /dev/sr0 /home/chris/cd
mount: block device /dev/sr0 is write-protected, mounting read-only

Some will mount just fine, however others show:

[***@localhost ~]# mount -t iso9660 /dev/sr0 /home/chris/cd
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
--
Chris
KeyID 0xE372A7DA98E6705C
31.11°N 97.89°W (Elev. 1092 ft)
21:29:34 up 3:43, 2 users, load average: 0.81, 1.02, 0.88
bascule
2011-11-19 15:17:55 UTC
Permalink
Post by Chris
What I should have said is that these are music cds that are in mp3
format that I downloaded. Some will mount, some won't. Using the command
line
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
did you download them as cd image files and burn to disk? if so maybe some of
them are in non iso9660 format, mauybe udf or something?

bascule
--
"the experiment is simple, my hypothesis is correct..."
Chris
2011-11-19 15:25:30 UTC
Permalink
Post by bascule
Post by Chris
What I should have said is that these are music cds that are in mp3
format that I downloaded. Some will mount, some won't. Using the command
line
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
did you download them as cd image files and burn to disk? if so maybe some of
them are in non iso9660 format, mauybe udf or something?
bascule
No, they were all downloaded as mp3s. They used to work fine and some
still do. I can play them with no problems on my LG DVD player. I've
reseated the connections on the cd player in the computer to see if that
would help, which it didn't.
--
Chris
KeyID 0xE372A7DA98E6705C
31.11°N 97.89°W (Elev. 1092 ft)
09:23:17 up 11:07, 1 user, load average: 0.32, 0.30, 0.29
Chris
2011-11-20 04:00:58 UTC
Permalink
Post by Chris
Post by bascule
Post by Chris
What I should have said is that these are music cds that are in mp3
format that I downloaded. Some will mount, some won't. Using the command
line
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
did you download them as cd image files and burn to disk? if so maybe some of
them are in non iso9660 format, mauybe udf or something?
bascule
No, they were all downloaded as mp3s. They used to work fine and some
still do. I can play them with no problems on my LG DVD player. I've
reseated the connections on the cd player in the computer to see if that
would help, which it didn't.
Solved it by using cdparanoia which was suggested over on the Mandriva
newsgroup. Now I'm looking for a wav to mp3 converter. I've done a
couple of tracks with Audacity however I'd like to find a script that
will do a batch conversion. Is there such an animal?
--
Chris
KeyID 0xE372A7DA98E6705C
31.11°N 97.89°W (Elev. 1092 ft)
21:58:46 up 23:43, 3 users, load average: 0.42, 0.72, 0.82
Jonathan Remener
2011-11-20 05:24:26 UTC
Permalink
I would try them on a different device to see if they still work. The
coatings in some discs wear down over time, sometimes just after a few
years. It could also be that your drive is bad or dirty. You could try
cleaning it, usually just touching the lens with a q-tip(don't rub it or
anything) will do the trick. I should also mention that from what I
understand, LG drives are some of the worst. Mine will burn discs just
fine, but is starting to have issues reading DVD's. Its actually
managed to lock up my whole system trying to play a DVD. It may simply
be time to upgrade.
Post by Chris
Post by bascule
Post by Chris
What I should have said is that these are music cds that are in mp3
format that I downloaded. Some will mount, some won't. Using the command
line
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
did you download them as cd image files and burn to disk? if so maybe some of
them are in non iso9660 format, mauybe udf or something?
bascule
No, they were all downloaded as mp3s. They used to work fine and some
still do. I can play them with no problems on my LG DVD player. I've
reseated the connections on the cd player in the computer to see if that
would help, which it didn't.
Chris
2011-11-20 13:46:02 UTC
Permalink
Post by Jonathan Remener
I would try them on a different device to see if they still work. The
coatings in some discs wear down over time, sometimes just after a few
years. It could also be that your drive is bad or dirty. You could try
cleaning it, usually just touching the lens with a q-tip(don't rub it or
anything) will do the trick. I should also mention that from what I
understand, LG drives are some of the worst. Mine will burn discs just
fine, but is starting to have issues reading DVD's. Its actually
managed to lock up my whole system trying to play a DVD. It may simply
be time to upgrade.
Post by Chris
Post by bascule
Post by Chris
What I should have said is that these are music cds that are in mp3
format that I downloaded. Some will mount, some won't. Using the command
line
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
did you download them as cd image files and burn to disk? if so maybe some of
them are in non iso9660 format, mauybe udf or something?
bascule
No, they were all downloaded as mp3s. They used to work fine and some
still do. I can play them with no problems on my LG DVD player. I've
reseated the connections on the cd player in the computer to see if that
would help, which it didn't.
The LG drive is the one connected to my TV. However, all is well now as
I've been able to rip the tracks to the hard drive using cdparanoia.
--
Chris
KeyID 0xE372A7DA98E6705C
31.11°N 97.89°W (Elev. 1092 ft)
07:43:26 up 1 day, 9:28, 1 user, load average: 0.77, 0.79, 0.61
Loading...