LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   K3B and creating an .iso image from a CD? (https://www.linuxquestions.org/questions/linux-software-2/k3b-and-creating-an-iso-image-from-a-cd-385829/)

rgbrock1 11-23-2005 09:49 AM

K3B and creating an .iso image from a CD?
 
Hi.

Is there any way to create an .iso image from an existing CD using K3B?
I've looked everywhere and can't seem to find a way to do so.
Thanks.

Richard

Bruce Hill 11-23-2005 10:24 AM

Just to test I did this now and this is the output:
Code:

bruce@silas:~$ ls -alh /backup/ISO/k3bCdCopy0/
total 745M
drwxr-xr-x  2 bruce users  400 2005-11-23 10:56 ./
drwxr-xr-x  5 bruce users 1.1K 2005-11-23 10:51 ../
-rw-r--r--  1 bruce users  67M 2005-11-23 10:52 Track01.wav
-rw-r--r--  1 bruce users  80M 2005-11-23 10:53 Track02.wav
-rw-r--r--  1 bruce users  44M 2005-11-23 10:53 Track03.wav
-rw-r--r--  1 bruce users  40M 2005-11-23 10:53 Track04.wav
-rw-r--r--  1 bruce users  55M 2005-11-23 10:54 Track05.wav
-rw-r--r--  1 bruce users  56M 2005-11-23 10:54 Track06.wav
-rw-r--r--  1 bruce users  42M 2005-11-23 10:55 Track07.wav
-rw-r--r--  1 bruce users  44M 2005-11-23 10:55 Track08.wav
-rw-r--r--  1 bruce users  41M 2005-11-23 10:55 Track09.wav
-rw-r--r--  1 bruce users  39M 2005-11-23 10:56 Track10.wav
-rw-r--r--  1 bruce users 242M 2005-11-23 10:56 Track11.iso

I opened K3B with the CD in the drive, but not mounted. Then I chose
Tools > Copy CD > Options tab > Only create image
Image tab > browse to your directory (mine was /backup/ISO/)
and K3B added the k3bCdCopy0/ directory.

A much more efficient way is through the command line:
Code:

To burn an image of a CD to the hd
bruce@silas:~$ dd if=/dev/hda of=namethecd.iso


rgbrock1 11-23-2005 10:56 AM

Thanks for the info Chinaman. how obvious it should have been!

Bruce Hill 11-23-2005 10:59 AM

I do notice that the CD I burned there has an additional track which is a video, so it
might not be what you want. I'm burning those .wav files to a CD right now using
"root@silas:/backup/ISO/k3bCdCopy0# cdrecord dev=/dev/cdrom -audio *.wav"
I know K3B will do the job, but I like the efficiency of command line. This is one of
the first things that impressed me so much about Linux. After this one finishes, I'll
burn another one with K3B that's only audio and see what happens with it. Hope
I don't cause you to make a coaster, and that you'll try the command line interface.

rgbrock1 11-23-2005 11:14 AM

Actually I'm only trying to create an .iso of data files. I'll give it a try with K3B and if it doesn't work the way I want then I'll go to the command line.
Thanks.

Bruce Hill 11-23-2005 11:17 AM

Try this:
Code:

mkisofs -r dir | gzip > cdrom.iso.gz
create cdrom image from directory

mount -oloop cdrom.iso /mnt/dir
mount the cdrom image at /mnt/dir (for viewing/editing)

gzip -dc cdrom.iso.gz | cdrecord dev=/dev/cdrom -
burn cdrom image (use dev=ATAPI -scanbus to confirm dev)



All times are GMT -5. The time now is 07:21 AM.