Find the answer to your Linux question:
Results 1 to 10 of 10
hey Please can some one help or give me a guide to copying a cd using linux, i tried bake oven on suse 8.2 pro which i use, and it ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2003
    Location
    UK
    Posts
    27

    help Copying CDS :(


    hey

    Please can some one help or give me a guide to copying a cd using linux, i tried bake oven on suse 8.2 pro which i use, and it keeps coming up with read errors when reading the source cd ?

    ne help would be appreciated

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Are you sure that the source CD actually is undamaged?

  3. #3
    Just Joined!
    Join Date
    Feb 2003
    Location
    UK
    Posts
    27
    well i installed suse off the source cd no problems

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Try this then:
    Code:
    cdrecord dev=0,0 -vv speed=20 -data -isosize /dev/hdc
    Replace 0,0 with whatever your CD recorder has (see cdrecord -scanbus to check that), 20 with whatever speed you want to burn, and /dev/hdc with the device name of your CD reader.

    You could also cache the CD on your hard drive, like this:
    Code:
    cat /dev/hdc >/tmp/suse.iso
    cdrecord dev=0,0 -vv speed=20 -data /tmp/suse.iso

  6. #5
    Just Joined!
    Join Date
    Feb 2003
    Location
    UK
    Posts
    27
    i tried this.. sorry i am a newbie very new :'(

    linux:/home/user # cat/dev/hdc >/tmp/suse.iso
    bash: cat/dev/hdc: No such file or directory
    linux:/home/user # cat /dev/hdc/ >/tmp/suse.iso
    cat: /dev/hdc/: Not a directory
    linux:/home/user # not much use am i
    bash: syntax error near unexpected token `('
    linux:/home/user # cat /dev/cdrecorder/ >tmp/suse.iso
    bash: tmp/suse.iso: No such file or directory

    HELP lol

  7. #6
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Quote Originally Posted by hydrouk
    cat /dev/hdc/
    Try that without the last slash. However, be sure that /dev/hdc actually is your CD reader. Otherwise you'll get a "no such device or address" error.

  8. #7
    Just Joined!
    Join Date
    Feb 2003
    Location
    UK
    Posts
    27
    i tried this :

    hydro@linux:~> cdrecord -scanbus
    Cdrecord 2.0 (i686-suse-linux) Copyright (C) 1995-2002 Jörg Schilling
    Linux sg driver version: 3.1.24
    Using libscg version 'schily-0.7'
    cdrecord: Warning: using inofficial libscg transport code version (okir@suse.de-scsi-linux-sg.c-1.75-resmgr-patch '@(#)scsi-linux-sg.c 1.75 02/10/21 Copyright 1997 J. Schilling').
    scsibus0:
    0,0,0 0) 'SAMSUNG ' 'CD-R/RW SW-240B ' 'R403' Removable CD-ROM
    0,1,0 1) 'ATAPI ' 'CD-R/RW 6X4X32 ' '6.DU' 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) *
    hydro@linux:~> cat /dev/cdrecorder >/tmp/backup.iso
    cat: /dev/cdrecorder: Input/output error
    cat: /dev/cdrecorder: Input/output error

    The ATAPI CD-R/RW 6x4x32 doesnt work so just ignore this drive
    i then tried this

    inux:/home/hydro # cat /dev/hdc >/tmp/backup.iso
    cat: /dev/hdc: Input/output error
    cat: /dev/hdc: Input/output error
    linux:/home/hydro #

    i dont kno i tried following the guide on linuxdoc.org i will try going through the guide again tho

  9. #8
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Ah, do you have two writers? In that case, use /dev/scd0 or /dev/scd1, depending on which one you have the CD in.

  10. #9
    Just Joined!
    Join Date
    Feb 2003
    Location
    UK
    Posts
    27

    right....lol

    ok I have taken the other cd writer out of my pc since it didnt work anyway, i reinstalled suse 8.2, i looked on the suse support pages found a guide on how to use a atapi driverfor suse linux upto and for 7.2 (i have version 8.2) i had a look anyway, i followed part of the guide up to the point where it tells me to edit the boot config and enter hdc-scsi etc and it has already been done so i dont need to change that because suse had already configured that correctly i then tried to burn a data cd using k3b (everything is supported according to k3b and automatically found my cdrw no problem so far) here is the debugging output message i recieved when trying to burn:

    cdrdao
    -----------------------
    Cdrdao version 1.1.7 - (C) Andreas Mueller <andreas@daneb.de>
    SCSI interface library - (C) Joerg Schilling
    Paranoia DAE library - (C) Monty
    Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.
    Using libscg version 'andreas-0.5-UNIXWARE_Patch-and-resmgr'
    0,0,0: SAMSUNG CD-R/RW SW-240B Rev: R403
    ERROR: No driver found for 'SAMSUNG CD-R/RW SW-240B', available drivers:
    cdd2600
    generic-mmc
    generic-mmc-raw
    plextor
    plextor-scan
    ricoh-mp6200
    sony-cdu920
    sony-cdu948
    taiyo-yuden
    teac-cdr55
    toshiba
    yamaha-cdr10x
    For all recent recorder models either the 'generic-mmc' or
    the 'generic-mmc-raw' driver should work.
    Use option '--driver' to force usage of a driver, e.g.: --driver generic-mmc
    ERROR: Cannot setup device 0,0,0.

    SO then i went into the k3b options and under the cdrdao user parameters i entered --driver generic-mmc-raw (as this is what the website listed above tells me to use) so then i try again to burn a data cd and it worked FINE !! Wooohoo lol

    Thanks for your help and advise Tho i thought it might help other users if they ever have a similar problem, Linux is really really fasinating and my quest continues to learn more and more

    I am wondering though will i have a problem burning a cd within a shell, will i have to make the cdrdao use this everytime if so how would i go about doing this? will i have to edit a config file? etc

    thanks in advance

    hydro

  11. #10
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Since your burner seemed to work with the generic-mmc-raw driver, it's probably just that that noone has reported this to the development team. Subscribe to the mailing list and tell them, and they'll probably correct it in the next version or so.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •