Difference between revisions of "Iso"

From Noah.org
Jump to navigationJump to search
Line 2: Line 2:
 
== Working with ISO disk images ==
 
== Working with ISO disk images ==
  
 +
Most of these notes are for Linux. I also have some notes at the end for Mac OSX.
 
Note that `cdrecord` may actually be a link to `wodim` on Ubuntu.
 
Note that `cdrecord` may actually be a link to `wodim` on Ubuntu.
  

Revision as of 13:23, 30 March 2008

Working with ISO disk images

Most of these notes are for Linux. I also have some notes at the end for Mac OSX. Note that `cdrecord` may actually be a link to `wodim` on Ubuntu.

copy a DVD or CD to iso file

dd if=/dev/dvd of=dvd.iso
dd if=/dev/cdrom of=cd.iso

create DVD iso image from files

In this example, I make a DVD image from my SVN 'trunk' directory.

mkisofs -r -J -allow-multidot -root=/trunk/ /home/noah/trunk/ > disk_image.iso

mount CD or DVD iso disk image

mkdir /media/loop
mount -o loop -t iso9660 disk_image.iso /media/loop

Burn DVD iso image to DVD

This assumes that /dev/dvd is a link to your DVD device.

growisofs -dvd-compat -Z /dev/dvd=disk_image.iso

Burn CD iso image to CD

cdrecord -pad disk_image.iso

How to mount .bin and .cue files on Linux

(Note that mplayer can play videos from .bin files directly if they store VCD images.)

First install bchunk:

sudo apt-get install bchunk

Run bchunk on the .bin and .cue files to convert to .iso:

bchunk disk_image.bin disk_image.cue new_disk_image

Then mount the .iso file:

mkdir /media/loop
mount -o loop -t iso9660 new_disk_image.iso /media/loop

VCD images generate two .iso files

If you get two .iso files after running bchunk then this means you are probably working with a VCD image. To handle these you can try cdemu (a linux kernel module). I have not tried this.

Burn ISO under Mac OSX

From a Terminal shell run the following:

hdiutil burn image.iso