How to find the mount point for my cd-rw in cdrecord
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
How to find the mount point for my cd-rw in cdrecord
I am setting up cdrecord using gnome toaster as the front end. While trying to set up the cd rom and cdrw info, I was unable to locate the mount point and scsi id for the cdrw to plug into the gnome toaster software. I tried the scan bus button, but it did not autodetect the device. My box is using an atapi ide cd rom and a cd burner. Would also like to know what the command line syntax would be to use cdrecord in a terminal to copy files to the burner and to duplicate a cdrom.
# See <http://www.troubleshooters.com/linux/coasterless.htm>
# Reads directly from the CD or DVD device specified on the command line amd dumps it to STDOUT
# Typical usage:
# copy-raw-cd.sh /dev/dvd > /tmp/dvd-contents.iso
# To use this script to check the md5sum of the CD, do the following:
# copy-raw-cd.sh /dev/cdrom | md5sum
# compare the result with:
# md5sum /tmp/dvd-contents.iso
blocksize=`/usr/bin/isoinfo -d -i $device | grep "^Logical block size is:" | cut -d " " -f 5`
if test "$blocksize" = ""; then
echo catdevice FATAL ERROR: Blank blocksize >&2
blockcount=`/usr/bin/isoinfo -d -i $device | grep "^Volume size is:" | cut -d " " -f 4`
if test "$blockcount" = ""; then
echo catdevice FATAL ERROR: Blank blockcount >&2
command="/bin/dd if=$device bs=$blocksize count=$blockcount conv=notrunc,noerror"
echo "$command" >&2
In terminal, I entered the cdrecord dev=ata -scanbus. I am pasting the results. It looks like some issues were noted by the scan and I am not sure how serious they are and if they need to be resolved. I am assuming the scsi address for the cendyne cdrw is 0,1,0? If the unit is atapi, why does gnome toaster need a scsi address?
cdrecord dev=ATA -scanbus
Cdrecord-Clone 2.01 (i686-suse-linux) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to http://www.suse.de/feedback
Note: The author of cdrecord should not be bothered with problems in this versio n.
scsibus: -2 target: -2 lun: -2
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (firstname.lastname@example.org- scsi-linux-sg.c-1.83-resmgr-patch '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
0,0,0 0) *
0,1,0 1) 'CENDYNE_' '481648AX ' '150F' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
cdrecord: Warning: controller returns wrong size for CD capabilities page.
1,0,0 100) ' ATAPI ' '50X CDROM ' '1.30' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
Whether the message for the other one needs investigation... I'd say try it and see - it may just be that with no CD in the drive it couldn't probe it properly, or that since it couldn't retrieve a brand name it tried its generic specs.
Although I haven't used gnome toaster, it's not unusual for applications to want to use SCSI for CD recording. CD recording with ATAPI drives was usually done with SCSI emulation under 2.4 kernels. With 2.6 series kernels it seems to be the preferred way is to use the device as ATAPI. Some apps like xcdroast will complain in ATAPI mode but still use it.
I am making progress. So far, I managed to drag and drop files, but could not make a recording. The top line says something like gnome filesystem. A right click on it opens a file dialog box. I point to the cdwriter, but nothing happens. In short, I do not know how to set up gnome toaster to record. I did a google search for gnome toaster docs, but what I found was scant help. I noticed in the terminal window when I closed gnome toaster, a bunch of repeated errors, something about not being able to set up the file system and filesystem does not exist.
Thanks alot! That was the reference I was looking for. I had to configure the cdrom as atapi and the cdwriter as scsi. The cd rom reads and when I put a data cd in the writer, it listed the disk fill state. I am going to read the rest of the pdf file before I try to make a data cd and will post my results.
I read the docs and have the following errors:
In terminal window: 'couldn't create symlink'
and when I tried to burn a cd-r of mp3 files:
'The filter program for the suffix 'mp3' couldn't be found on your system.'
I have not tried pure data file yet, so I am not sure if this is just an mp3
issue or not. I am able to read the cd-rom and cd-rw drives, but unable to burn.