LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-01-2007, 01:03 PM   #1
pencil
LQ Newbie
 
Registered: Apr 2006
Location: Italy
Distribution: Mandriva 2007
Posts: 12

Rep: Reputation: 0
Question types of CD images?


Hi all,
I have to create the Image of a CD containing the data as much as possible as it's actually stored on the cd.
How should I do?
It seems k3b can extract ISOs only, and a shell command I tryed (don't remember which) didn't work (data were still plain text, no bit-scrambling,eight-to-fourteen...).

Please help me.

PS: For those who want to know why I need it:
I don't want to duplicate protected CDs or anything. I'm just making an application to burn data on a cd in a specific way , and I have to verify how it is actually stored on it afterwards. The more the image is like the cd, the better.
 
Old 01-01-2007, 01:37 PM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
man cdrdao and man readcd should help
 
Old 01-01-2007, 01:37 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well if it's data then an ISO is as close as you can get. you can create ISO's yourself just with a normal dd command "dd if=/dev/cdrom of=/home/user/mycdimage.iso"
 
Old 01-01-2007, 02:00 PM   #4
odd2k
Member
 
Registered: Oct 2006
Distribution: Slackware-11.0
Posts: 35

Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie
well if it's data then an ISO is as close as you can get. you can create ISO's yourself just with a normal dd command "dd if=/dev/cdrom of=/home/user/mycdimage.iso"
My god. My respect for dd increases by the day. So by just doing a raw data dump, you have yourself an iso image! I would have thought it would be much more complex than that.
 
Old 01-01-2007, 02:06 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
conventional data cdroms use iso9660 format, i.e. specification number 9660 as defined by ISO, the International Standards Organisation. an iso file is nothing more than a clone of that data format exactly, and for simplicitlies, and doses 8.3 formattings, sake, "iso9660" just turned into "iso" as a 3 digit extension.
 
Old 01-01-2007, 02:24 PM   #6
pencil
LQ Newbie
 
Registered: Apr 2006
Location: Italy
Distribution: Mandriva 2007
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks dive,now I have to go, later I'll try.
If anybody has other suggestions you're welcome.

(The command I tryed last time was cdrdao with -read--raw)

Last edited by pencil; 01-01-2007 at 06:00 PM.
 
Old 01-01-2007, 04:52 PM   #7
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
To make an ISO image look similar to CD or DVD, I suggest using the option conv=notrunc when using dd. There are other forks of dd like dd_rescue and ddrescue which will do even better making the an image the same as a disc.
 
Old 01-01-2007, 06:02 PM   #8
pencil
LQ Newbie
 
Registered: Apr 2006
Location: Italy
Distribution: Mandriva 2007
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks, I will inform myself abut dd.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Types jhbumby Linux - Newbie 4 10-19-2005 06:47 AM
Video Types D.A Linux - Hardware 33 07-20-2005 07:57 AM
Convert cd images to dvd images rcsuk Debian 2 07-11-2005 10:34 AM
Which CPU Types are we using? smudge|lala Linux - Hardware 4 12-07-2004 08:34 PM
MIME Types? JoeLinux Linux - Software 6 09-14-2002 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:31 PM.

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