LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Copying CD's with one burner/cdrom (https://www.linuxquestions.org/questions/linux-software-2/copying-cds-with-one-burner-cdrom-116089/)

B McHack 11-14-2003 04:49 PM

Copying CD's with one burner/cdrom
 
I would like to copy some linux cds for members of my lug but I only have one cdrom/burner so I think Ill have to copy them to my hard disk first then burn them from there. So how do I keep them true images or make them exactly the way the originals are so some one else can load them on theyre computer.

fancypiper 11-14-2003 04:54 PM

# CD burning copying ripping info
Is it configured and what is the device? Command this to find out:
cdrecord -scanbus
Adding an IDE CD-Writer to Linux
CD Writing HOWTO
Burning CDs on Linux
# Burn an ISO to disk
cdrecord -v speed=<burning speed> dev=<your device> /path/to/foo.iso
# Burn from disk to disk
cdrecord -v dev=<your device> speed=<burning speed> -isosize /dev/cdrom
#ISO information
isoinfo -i -d /dev/cdrom
# Generate an ISO from a directory.
mkisofs -vrTJUV "Label" -o foo.iso /path/to/directory
# Generate an ISO from a CD
dd if=/dev/cdrom of=foo.iso
# cdparanoia - search for a drive with reporting of autosense:
cdparanoia -vsQ
# Rip a complete audio CD with cdparanoia
cdparanoia -B "1-"
Linux MP3 CD Burning mini-HOWTO
# Convert mp3 to wav with lame
for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav; done
# Burn a CD from wav files
cdrecord -v -audio -pad speed=<burning speed> dev=<your device> /path/to/*.wav
# Erase a CDRW
cdrecord -v dev=<your device> speed=<burning speed> blank=fast

Caeda 11-14-2003 04:54 PM

put cd in.. run cd-burner software.. Press.. Copy... really not that hard if your using k3b...

B McHack 11-14-2003 08:07 PM

Actually Caeda its put in cd click on tools, click on CD, and click on Burn ISO image in K3B.
I got that my problem is that when I load the cd onto my hard drive to burn,
it loads as different files ie an rpm file,a boot file,a suse info file, ect. the actual files on the cd not an ISO image which will not be a bootable cd.
Is there a way to put it on my hard drive as an "ISO Image" or is there a way I can convert the files that it were loaded into the temp file on my hard drive an iso image or bootable cd.
Thanks for the reply Fancypiper
The output of cdrecord -scanbus:

john@linux:~> cdrecord -scanbus
Cdrecord-Clone 2.01a18-dvd (i686-suse-linux) Copyright (C) 1995-2003 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to <warly@mandrakesoft.com>.
Note: The author of cdrecord is not to be bothered with problems in this version.
Linux sg driver version: 3.1.25
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) 'TEAC ' 'DW-224E ' '7.0A' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

fancypiper 11-14-2003 08:27 PM

As root (open x terminal and command su - and give root's password), mount the cd, cd to the directory you wish your iso file to be and command

dd if=/dev/cdrom of=<name-of-your>.iso

For example:

mkdir /suse
cd /suse
mount /mnt/cdrom
dd if=/dev/cdrom of=susecd1.iso ; eject
ls

Were you successful? Do you see susecd1.iso there?

Now, burn it
cdrecord -v speed=<your burning speed> dev=0,0,0,0 susecd1.iso ; eject

B McHack 11-14-2003 09:48 PM

"mount /mnt/cdrom"
can't find /mnt/cdrom in /ect/fstab or /etc/mtab
But the dd command worked beutifullythaks fancypiper

fancypiper 11-14-2003 09:56 PM

Your distro must mount the cdrom somewher other than /mnt/cdrom. You can examine your /ect/fstab file to see where your distro mounts that device, or you can edit it to use whatever you want.

# Managing drives
LNAG - Accessing my drives
Rute - Device Mounting

DirtDart 11-15-2003 03:19 AM

You didn't say what distro you are using, but as mentioned before, sounds like your distro doesn't mount the cdrom under /mount/cdrom.

Do a cd /;ls -l and see if there is something that looks like a place (besides the obvious /mnt) that they put the cdrom.

I know Suse for some strange reason, puts it under /media, so you'd type mount /media/cdrom.

Caeda 11-15-2003 12:51 PM

Actually B McHack its put in cd. Run K3b, and click "COPY", since it now has this button on the latest version, Perhaps you should upgrade before commenting.


All times are GMT -5. The time now is 11:02 AM.