Disk Image Article Index for
Disk
Articles about
Disk Image
Website Links For
Disk
 

Information About

Disk Image




A disk image is a Computer File containing the complete contents and structure of a Data Storage Device . The term has been generalized to cover any such file, whether taken from an actual physical storage device or not.

One of the most popular and commonly encountered types of images is a CD/DVD image. In simple terms, a CD/DVD-image is an exact replica of a CD/DVD, whereby all the data is stored in one file for the convenience of its users and as a courtesy to those who prefer CD/DVD-images over compressed archives (.ZIP, .RAR).

Creating a CD/DVD-image is actually very easy, all that is required is an appropriate CD/DVD-imaging program and enough disk space to save the image onto. Some common disk-imaging programs are Alcohol 120% , CDRWin, CloneCD / DVD and Nero Burning ROM for Windows, and Disk Utility and Roxio Toast , for Macintosh. For CDs that contain CD audio ( Red Book standard), referred to as multi-track CDs (Data or Audio on the first track, Data or Audio on any subsequent tracks), a CD-image is required, as analog CD audio cannot be copied directly via the Windows interface.

An ordinary backup only backs up the files it can access; Boot information, and files locked by an Operating System or being changed at the time, may not be saved. A disk image contains all these, and faithfully replicates the data, so it is commonly used for backing up disks with operating systems, or Bootable CD / DVD s.


CD SECTOR SIZE FAQ

# A standard 74 min CD is made by 333,000 Sector s.
# Each sector is 2352 bytes, and contains 2048 bytes of PC (MODE1) Data, 2336 bytes of PSX/VCD (MODE2) Data or 2352 bytes of AUDIO.
# The difference between sector size and data content are the Header s info and the Error Correction Codes, that are big for Data (high precision required), small for VCD (standard for video) and none for audio.
# If you extract data in RAW format (standard for creating images) you always extract 2352 bytes per sector, not 2048/2336/2352 bytes depending on data type (basically, you extract the whole sector). This fact has two main consequences:
## You can record data at very high speed (40x) without losing information, but if you try to do the same with PSX or Audio you get unreadable CD (for PSX) or audio CD with lots of clicks because there are no error correction codes (and error are more likely to occur if you record at high speed.)
## On a 74 min CD you can fit very large RAW images,up to 333,000 x 2352 = 783,216,000 bytes (747 Mb). This should be the upper limit for a RAW image created from a 74 min CD. Remember that if you store standard data ( Backup files), you can burn only 333,000 x 2048 = 681,984,000 bytes (the well known 650 MB limit).
# Please note that an image size is ALWAYS a multiple of 2352 bytes (you extract SECTORS), if extracted in RAW mode.


COMMON FORMATS


.CUE/.BIN

This format was developed by Jeff Arnold for the CDRWIN software and encodes CD images using either 2048 or 2324 bytes per sector. .BIN / .CUE files usually come as a pair with identical file name prefixes. The .BIN file is a binary copy of an entire CD or DVD. It contains all the data stored on the original disc, not only its files and folders but also its system-specific information such as Boot Loaders , Volume attributes, error corretion codes and any other meta-data. That is why .BIN files are usually bigger than .ISO files, as .ISO files only store the files and folders, whereas a .BIN file is a true ''bit by bit'' copy.

.BIN files are images extracted in pure raw format (which is why they are sometimes renamed to .RAW files). That is 2352 bytes sectors, the full CD sector content: User data, sector header, error correction codes (ECC) and error detection codes (EDC). Once again, each sector is converted to digital data in the .BIN file, but more stuff than for an .ISO file is copied and the resulting file will be bigger. The .BIN file should usually be 251,000 x 2352 = 590,352,000 bytes in size. This process will copy ANYTHING on the disc, so it is useful for exotic discs (multiple tracks, mixed track type Audio+Data or Data+Audio) and for non-PC CDs (PSX, VCD, MAC).

The .CUE file is a Cue Sheet that describes the data stored in the .BIN file. The .CUE file is in fact a plain text file. A typical .CUE file is as follows:

FILE "IMAGE.BIN" BINARY
TRACK 01 MODE1/2352
INDEX 01 00:00:00

The file would be saved as IMAGE.CUE to match the file name prefix of IMAGE.BIN.


.ISO

See Also: ISO image


An ISO image (.iso) is an informal term for a or generating new ones from existing files, or using them to create a copy on physical media.

Some of the common uses include the distribution of Operating System s, such as Linux or BSD systems, and LiveCD s.

Most operating systems allow these images to be Mount ed as if they were physical Disc s, making them somewhat useful as a universal archive format. Console Emulator s, such as EPSXe , and many other emulators that read from CD/DVD, are able to run ISO/BIN (and other similar formats) instead of running directly from the CD drive, obtaining better performance.


.IMG

.img is the filename extension usually use for the disk image of floppy disks, and sometimes, hard disks. First populated by DOS-based software HD-Copy DiskDupe and now WinRaWrite , is a handy way to archive a floppy disk completely, including Bootable ones. In fact there is no "format" in it, just a Raw Dump of the content of the disk.

Some newer software like WinImage supports zipped version of the format and the extension is .imz.


Apple Disk Image


See Also: .dmg


For Macintosh computers, disk images have been available as a feature of the operating system since before System 7 . Mounting a compatible disk image is achieved by Double-clicking (opening) the image file. The archived volume is then available as a normal disk volume, indistinguishable at first glance from the physical volume. Modern Apple Disk Images for Mac OS X typically end in .dmg . Using NetBoot , client computers can start up over a network from a server-based disk image that contains system software. The default handler for disk images in Mac OS X is DiskImageMounter . Images may be created with Disk Utility .


STORAGE


An image is saved as a file, which for a full CD or system disk may be quite large (~10 MB to several GB ). This file can be saved onto a Hard Drive , CD, DVD or other media, for later use.

Disk images can either be compressed using some type of Compression Algorithm like LZW , or uncompressed (" Raw "). Images of CD-ROM s most often carry the file name extension . Iso , referring to the ISO 9660 file system commonly used on such discs. The .iso format is the most common format for Linux Distributions and other online images, however it is not a multi-track image format and cannot be used for CD's with CD Red Book audio. Other common CD image formats are .nrg ( Nero Burning ROM 's proprietary format), .bin/.cue, .mdf/.mds (Alcohol 120%'s proprietary format) and .ccd/.img/.sub (CloneCD's proprietary format). All of these support multi-track CD's.


USAGE


A common use of disk images is for remote distribution of software such as s or CD-ROMs can be recorded as disk image files, transferred over the Internet , and the contents of the original disk(s) duplicated exactly by end users with their own floppy or CD-R drives, so users can burn the ISO images to convert them into LiveCD s to try an operating system without installing it in the hard disk .

Disk images are also routinely used in connection with Software Copyright Infringement , creating an image of a software package and subsequently distributing it.

Another common use is to provide virtual disk drive space to be used by storage device which has a higher storage capacity than that of a CD (i.e. a USB Keydrive ).


SEE ALSO



REFERENCES

  • http://forums.afterdawn.com/thread_view.cfm/19244

  • http://isorecorder.alexfeinman.com/isorecorder.htm

  • http://www.petri.co.il/how_to_write_iso_files_to_cd.htm