LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-04-2010, 02:28 PM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
how to convert a cdrom made with linux clonecd to ISO9660 format ?


Hello,

I used linux clonecd to copy a cdrom, but I would like to convert it to more standard iso9660 format.

How could we make it?
I have the bin and toc files as source from clonecd linux.
 
Old 01-04-2010, 03:03 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
giyf:
http://linux.softpedia.com/get/Multi...so-13929.shtml
... but clonecd images are usually a triplet of .ccd .img and .sub

You can convert the toc to a cue file with

toc2cue image.toc image.cue

and burn the image with

cdrdao image.cue

or

convert it to an iso with bchunk

I suspect that the usual burners like K3B will actually handle bin/toc or bin/cue files directly.

for future reference - use a more standard linux cd ripping tool.

even the quick and dirty

dd if=/dev/cdrom0 of=image.iso

works better than it aught to anyway.
 
Old 01-04-2010, 04:03 PM   #3
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
thank you!!

nota. I use this clonecd for linux /usr/bin/clonecd that I found

cat /usr/bin/clonecd
Code:
#!/bin/sh
if [ "$1" == "--help" ] ; then 
	cat /etc/fstab | grep cdrom 
	exit
	exit 0
fi
readom dev=$1 -clone -nocorr f="$2"
 
Old 01-04-2010, 05:48 PM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
cdclone is a script which calls readom

if you leave off the -clone option it will read raw images suitable for direct burning.

readom dev=cdrom f=image.iso

burn with

readom -w dev=cdrom f=image.iso

presumably this will also work with image.bin

readom -w -clone dev=cdrom f=image.bin

never tried it.

note: "cdrom" from dev= needs to be defined in /etc/wodim.conf

wodim has more useful burning options, particularly for data/audio disks.
genisofs is also very useful - thus, to copy a mixed audio/data disk, rip the audio normally, then copy the files. Use wodim to tie them back together when you burn.

Last edited by Simon Bridge; 01-04-2010 at 05:52 PM.
 
Old 01-05-2010, 02:23 AM   #5
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Lot of knowledge, you are the king with cd burning, man ! thank you
 
Old 01-05-2010, 06:53 PM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
It's an illusion the best skill you can pick up is reading the man pages ... all the above is from

man readom

gnu/linux has a pretty steep learning curve - the upside is that you are able to learn a lot The other guys always have some sort of cutout where you are not provided with what you need to do certain things ... that makes the other guys learning curves impossibly steep: a fact they try to cover over.

You see what happens if you show curiosity and a willingness to learn? People are willing to tell you stuff in more detail.

I remember you from your earlier posts - you've come a long way
 
Old 06-06-2010, 08:32 AM   #7
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by Simon Bridge View Post
cdclone is a script which calls readom

if you leave off the -clone option it will read raw images suitable for direct burning.

readom dev=cdrom f=image.iso

burn with

readom -w dev=cdrom f=image.iso

presumably this will also work with image.bin

readom -w -clone dev=cdrom f=image.bin

never tried it.

note: "cdrom" from dev= needs to be defined in /etc/wodim.conf

wodim has more useful burning options, particularly for data/audio disks.
genisofs is also very useful - thus, to copy a mixed audio/data disk, rip the audio normally, then copy the files. Use wodim to tie them back together when you burn.
Onced cloned with readmon, would you know if K3B can burn it and if the mount can mount it ?
 
Old 06-06-2010, 03:07 PM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Are we talking about an audio CD ? We probably are, because the are the ones that are usually cloned, in which case it's senseless to convert it to iso9660, because audio CDs do NOT have a filesystem, they're just raw data. For audio CD cloning .bin and .cue are a standard, pretty much every program generates these, and they can be burned by cdrdao.
 
Old 08-07-2010, 07:43 AM   #9
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by H_TeXMeX_H View Post
Are we talking about an audio CD ? We probably are, because the are the ones that are usually cloned, in which case it's senseless to convert it to iso9660, because audio CDs do NOT have a filesystem, they're just raw data. For audio CD cloning .bin and .cue are a standard, pretty much every program generates these, and they can be burned by cdrdao.
but maybe somehow one can convert it, from bin to iso9660, then use cdrecord to burn this made iso?
 
Old 09-05-2010, 08:33 AM   #10
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by frenchn00b View Post
but maybe somehow one can convert it, from bin to iso9660, then use cdrecord to burn this made iso?
You can use cdrdao to burn the bin and cue.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Simple Linux script to convert datetime format to UTC format shayno90 Linux - Newbie 10 10-09-2009 08:19 AM
How to make bootable CDROM to format a raw disk? Barzan Linux - Networking 2 08-19-2004 12:36 PM
How to make bootable CDROM to format a raw disk? Barzan Linux - Distributions 1 08-19-2004 11:30 AM
How to make bootable CDROM to format a raw disk? Barzan Linux - Software 1 08-19-2004 06:22 AM
use vi to convert linux format to windows format intolinux Linux - Software 2 12-10-2003 10:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration