LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Creating ISO from CD (https://www.linuxquestions.org/questions/red-hat-31/creating-iso-from-cd-87617/)

terry_truitt 08-31-2003 11:18 AM

Creating ISO from CD
 
How do you make an ISO image from a CD

r00tnuke 08-31-2003 11:20 AM

Create an ISO and write ISO to CD-Writer
To create an iso of a cd use this command...
# mkisofs -J -r -T -o /tmp/your.iso /mnt/cdrom

To write a cd to your cdrom writer the command will be....
# cdrecord -eject -v speed=12 dev=0.0.0 /tmp/your.iso

terry_truitt 08-31-2003 11:28 AM

Thanks... Helped out alot
Is it also possible to mount an ISO image to veiw the file contents.
If so how.

r00tnuke 08-31-2003 11:45 AM

mkdir /mnt/iso
mount -o loop your.iso /mnt/iso

misc 08-31-2003 08:47 PM

Re: Creating ISO from CD
 
Quote:

Originally posted by terry_truitt
How do you make an ISO image from a CD
Use the readcd command.

Or, provided that the CD was burnt correctly, simply read an image of the ISO filesystem with cat /dev/cdrom > image.iso or something equivalent (e.g. with the dd command).

Using mkisofs doesn't make much sense, because the CD contains the ISO 9660 file-system already. No need to rebuild it from scratch. It is only necessary to create a raw image of the CD.

contrasutra 08-31-2003 10:17 PM

I usually use:

dd if=/mnt/cdrom of=/tmp/myiso.iso


All times are GMT -5. The time now is 01:54 PM.