Handling various CD formats: Difference between revisions

From Elvanör's Technical Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
It will tell you if the CD contains audio tracks, and several sessions.
It will tell you if the CD contains audio tracks, and several sessions.


= Copying a simple CD =
= Copying a simple CD or a multi-session CD =


* The easiest method is to use K3b and create an .iso image.
* The easiest method is to use K3b and create an .iso image.
* Note that K3B can also create images of multi-session CDs. Just copy the drive as usual, it will create one image per session.


= Copying a mixed-mode disk (data track with multiple audio tracks) =
= Copying a mixed-mode disk (data track with multiple audio tracks) =


  cdrdao read-cd --read-raw --datafile IMAGE.bin --driver --device /dev/cdrom IMAGE.toc
  cdrdao read-cd --read-raw --datafile IMAGE.bin --device /dev/cdrom IMAGE.toc


* Note that the name (IMAGE) you give to the .bin and .toc files is very important, as in the .toc file all the tracks will be written with this name.
* Note that the name (IMAGE) you give to the .bin and .toc files is very important, as in the .toc file all the tracks will be written with this name.

Latest revision as of 16:54, 25 June 2012

The main application needed is app-cdr/cdrdao.

Identifying the CD format

  • Use the following command:
cdrdao disk-info

It will tell you if the CD contains audio tracks, and several sessions.

Copying a simple CD or a multi-session CD

  • The easiest method is to use K3b and create an .iso image.
  • Note that K3B can also create images of multi-session CDs. Just copy the drive as usual, it will create one image per session.

Copying a mixed-mode disk (data track with multiple audio tracks)

cdrdao read-cd --read-raw --datafile IMAGE.bin --device /dev/cdrom IMAGE.toc
  • Note that the name (IMAGE) you give to the .bin and .toc files is very important, as in the .toc file all the tracks will be written with this name.