Disk Image

From ITS Wiki - Information Technology Services - University of Rhode Island

Jump to: navigation, search
Image:Disc.png
Disk Image Types

International
› .ISO

Macintosh
› .DMG
› .CDR

Windows
› .GHO
› .GHS

A disk image is a file containing not only files and folders but also metadata information, such as filesystem stucture and boot commands. Uses include creating a digital backup of optical media (CD/DVD) or transferring software over the internet.

Contents

Creating a Disk Image

Macintosh

1. Insert the optical media (CD/DVD) into the drive.
2. In the menubar at the top, select Go, then Utilities. Open Disk Utility.
3. Go to File, New, then New Disk Image From ... and select your optical media.
4. Follow the instructions and save a "Master" file. This can be renamed to a .iso image.

Windows

Windows does not natively support iso images. Please consult http://www.daemon-help.com/ and use the provided "ISO Maker Plugin" with the DAEMON Tools Lite application.

Linux

1. Insert the optical media into the drive. Unmount the media.
2. Use the following command, dd if=/dev/cdrom of=/home/me/myimage.iso

 of - output file
 if - input file

Burning a Disk Image

Macintosh

1. Insert blank optical media (CD/DVD) into the drive.
2. In the menubar at the top, select Go, then Utilities. Open Disk Utility.
3. Drag the disk image into the left pane and then highlight it. Click the burn button.

Windows

Windows does not natively support iso images. Please consult http://www.daemon-help.com/ and use the provided "ISO Maker Plugin" with the DAEMON Tools Lite application.

Linux

1. Insert blank optical media (CD/DVD) into the drive.
2. Run, cdrecord -scanbus to determine the drive (i.e. 0,0,0) to burn to.
3. Run the following command, cdrecord -v -pad speed=8 dev=0,0,0 myimage.iso

Using a Disk Image

Macintosh

1. Double-click the .iso file. It will mount on the desktop.
2. To eject, right-click the desktop mount and select, "Eject".

Windows

Windows does not natively support iso images. Please consult http://www.daemon-help.com/ and use the provided "ISO Maker Plugin" with the DAEMON Tools Lite application.

Linux

1. Run the following command, mount -t iso9660 -o loop myimage.iso /mnt/
2. To eject, run the following command, umount myimage.iso

Encrypted Disk Image

An encrypted disk image (.DMG) is a 128-bit or 256-bit encrypted file that, when opened, will prompt the user for a password. Once authenticated, the disk image will mount on the desktop allowing the user to copy data to or from the mounted disk image before unmounting the image to secure it. For more information, please see OS X Encrypted Disk Image.


Related Links:

 http://en.wikipedia.org/wiki/ISO_image
 OS X Encrypted Disk Image
Personal tools