ISO image

Creating ISO files of CD/DVD media or directories

I would like to summarize how to create ISO files of CD/DVD media or directories.

Creating an ISO image of a CD/DVD disc

First, make sure that your disc is currently *not* mounted.

$ sudo umount /dev/cdrom

Then, create an ISO image disc.iso of the disc by dd command:

$ dd if=/dev/cdrom of=disc.iso bs=1024

Creating an ISO image of a directory

Mounting / un-mounting ISO files from the command line

I would like to summarize how to probe an ISO file from the command line.

Mounting an ISO image file

Create a mount point directory isodir and mount hoge.iso file. The contents of hoge.iso is now accessible through the isodir.

$ mkdir isodir
$ sudo mount -t iso9660 -o loop hoge.iso isodir

Un-mounting an ISO image file

First, make sure that the isodir (and its internal files and irectories) is not being used. Then, issue the following command.

Syndicate content