LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 08-07-2010, 06:49 PM   #1
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Rep: Reputation: 47
Mounting Burned CD


I am on Slackware 13.1 x86_64, Linux 2.6.33.4. I can mount most CD's fine, but here is what happens when I try to mount a burned cd.

Code:
bash-4.1$ mount /mnt/cdrom
mount: /dev/sr0: can't read superblock
I can mount the same CD on my Debian and Ubuntu installations. Since this works on different distro's, it seems like maybe there would be a fix. Does anyone have any ideas.

Here is my /etc/fstab just in case it will help:

Code:
bash-4.1$ cat /etc/fstab
/dev/sda1        swap             swap        defaults         0   0
/dev/sda2        /                ext3        defaults         1   1
/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0

Last edited by CincinnatiKid; 08-07-2010 at 06:51 PM. Reason: forgot something
 
Old 08-07-2010, 06:57 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Using 'auto' as the filesystem type does not always work; it's fine for FAT file systems, but *might* not work reliably for other file systems. Try your mount command again, but specify a filesystem.

Incidentally, what's the burned CD contain? Like, is it an OS, data, an audio disc...?

EDIT - it's probably ISO9660 or UDF
 
Old 08-07-2010, 07:05 PM   #3
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Original Poster
Rep: Reputation: 47
It is an audio CD. I changed the type to iso9660. here is the output now.

Code:
root@david-slackware:~# mount /mnt/cdrom/
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

root@david-slackware:~# dmesg | tail
sr 1:0:0:0: [sr0] ASC=0x64 ASCQ=0x0
sr 1:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 00 00 10 00 00 01 00
end_request: I/O error, dev sr0, sector 64
isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
sr 1:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
sr 1:0:0:0: [sr0] Sense Key : 0x5 [current] 
sr 1:0:0:0: [sr0] ASC=0x64 ASCQ=0x0
sr 1:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 00 00 10 00 00 01 00
end_request: I/O error, dev sr0, sector 64
isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
Tried udf also with the same result.

Last edited by CincinnatiKid; 08-07-2010 at 07:06 PM.
 
Old 08-07-2010, 07:11 PM   #4
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Original Poster
Rep: Reputation: 47
Just found this link that says Music CD's are not iso9660: http://www.linuxconfig.org/HowTo_mount_cdrom_in_linux. But it really doesn't give a solution. I will keep looking.
 
Old 08-07-2010, 07:13 PM   #5
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
What do you get from this (from that link you gave):
Code:
# cat /proc/filesystems
 
Old 08-07-2010, 07:15 PM   #6
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
You cannot mount an audio CD -- there is no filesystem on it. Other distros may use tools that make it appear as though an audio CD is being mounted, but it isn't actually. I don't know about KDE4 but in KDE3.5 Konqeuror could pseudomount audio CDs using kioslaves to make it look as though there were mp3/ogg/etc. files on the disc. There may be some similar functionality in KDE4 and certainly in Gnome, but you will not be able to mount an audio CD through the command-line.
 
Old 08-07-2010, 07:16 PM   #7
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Something worth mention too: while it doesn't address why you can't mount it, technically you should not need to actually mount it, in order to play it with some music CD playing software.

EDIT: T3slider said it right there above - there's the issue.
 
Old 08-07-2010, 07:18 PM   #8
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Original Poster
Rep: Reputation: 47
Code:
bash-4.1$ cat /proc/filesystems 
nodev	sysfs
nodev	rootfs
nodev	bdev
nodev	proc
nodev	tmpfs
nodev	devtmpfs
nodev	debugfs
nodev	securityfs
nodev	sockfs
nodev	usbfs
nodev	pipefs
nodev	anon_inodefs
nodev	rpc_pipefs
nodev	inotifyfs
nodev	configfs
nodev	devpts
	reiserfs
	ext3
	ext2
	ext4
nodev	ramfs
	vfat
	msdos
	iso9660
nodev	nfs
nodev	nfs4
nodev	nfsd
	ntfs
	romfs
	udf
	jfs
	xfs
	ocfs2
nodev	ocfs2_dlmfs
	btrfs
	gfs2
	gfs2meta
nodev	mqueue
nodev	fuse
	fuseblk
nodev	fusectl
bash-4.1$ cat /proc/filesystems | grep iso9660
	iso9660
bash-4.1$ clear

bash-4.1$ cat /proc/filesystems
nodev	sysfs
nodev	rootfs
nodev	bdev
nodev	proc
nodev	tmpfs
nodev	devtmpfs
nodev	debugfs
nodev	securityfs
nodev	sockfs
nodev	usbfs
nodev	pipefs
nodev	anon_inodefs
nodev	rpc_pipefs
nodev	inotifyfs
nodev	configfs
nodev	devpts
	reiserfs
	ext3
	ext2
	ext4
nodev	ramfs
	vfat
	msdos
	iso9660
nodev	nfs
nodev	nfs4
nodev	nfsd
	ntfs
	romfs
	udf
	jfs
	xfs
	ocfs2
nodev	ocfs2_dlmfs
	btrfs
	gfs2
	gfs2meta
nodev	mqueue
nodev	fuse
	fuseblk
nodev	fusectl
Everything I am reading says Linux can't mount audio CD's. Like I said in Debian Gnome the CD auto mounts. These CD's are sermons at the church I go to, and I have a project where I am converting them to MP3 and uploading them to our church website. What I do in Debian is move the *.wav tracks to the hard disk, and then run sox to make 1 *.wav file with all of the tracks, then I run lame on it to convert it to mp3.
 
Old 08-07-2010, 07:20 PM   #9
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Original Poster
Rep: Reputation: 47
Quote:
Originally Posted by T3slider View Post
You cannot mount an audio CD -- there is no filesystem on it. Other distros may use tools that make it appear as though an audio CD is being mounted, but it isn't actually. I don't know about KDE4 but in KDE3.5 Konqeuror could pseudomount audio CDs using kioslaves to make it look as though there were mp3/ogg/etc. files on the disc. There may be some similar functionality in KDE4 and certainly in Gnome, but you will not be able to mount an audio CD through the command-line.
In my post above this one I explained kind of what I need to do, and how I used to do it in Debian. Do you have a suggestion on what I should do? Do you know any tools to put all the tracks in 1 file and encode it to mp3 format?
 
Old 08-07-2010, 07:31 PM   #10
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
For the record, I do not - I don't do much with audio CD's or audio in general. Hopefully T3 or someone else will have an idea.
 
Old 08-07-2010, 07:48 PM   #11
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
I don't use KDE4 so I don't know if dolphin and/or Konqueror can be made to 'mount' audio CDs as in Gnome and KDE3.5...it probably can be done but I have no instructions for you since I haven't tried. kaudiocreator is a good app for ripping CDs and is included with KDE4, so you may wish to try that (it is not drag-and-drop but it won't need any intermediate steps if you set it up properly). Someone else probably knows a lot more about KDE4 than I do...
 
Old 08-08-2010, 08:29 AM   #12
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Original Poster
Rep: Reputation: 47
kaudiocreator worked great. Once I extracted the tracks, I just used sox to combine them and then lame to encode them as mp3. Thanks for your help T3slider.
 
  


Reply



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
NO!! My burned anime is gone!! invinciblegod General 2 08-24-2005 10:21 AM
mounting burned dvd movies neuroticnumbnuts Linux - Newbie 2 06-17-2005 02:01 PM
issue with cd burned kira Linux - Hardware 2 05-22-2005 07:29 AM
Trouble With Burned CD luigidrummer Mandriva 5 08-20-2004 06:26 AM
burned cd xviddivxoggmp3 Red Hat 1 07-20-2004 03:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:32 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
Open Source Consulting | Domain Registration