Recent from talks
Nothing was collected or created yet.
Optical disc image
View on WikipediaThis article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
|
| ISO 9660 image | |
|---|---|
| Filename extensions |
.iso, .udf |
| Internet media type |
application/vnd.efi.iso[1] |
| Uniform Type Identifier (UTI) | public.iso-image |
| Magic number | Volume descriptor: CD001 at 32769. NSR0 at 38913 or 32769 for UDF.[2] |
| Type of format | Disk image |
| Standard | ISO 9660, UDF |
An optical disc image (or ISO image, from the ISO 9660 file system used with CD-ROM media) is a disk image that contains everything that would be written to an optical disc, disk sector by disc sector, including the optical disc file system.[3] ISO images contain the binary image of an optical media file system (usually ISO 9660 and its extensions or UDF), including the data in its files in binary format, copied exactly as they were stored on the disc. The data inside the ISO image will be structured according to the file system that was used on the optical disc from which it was created.
ISO images can be created from optical discs by disk imaging software, or from a collection of files by optical disc authoring software, or from a different disk image file by means of conversion. Software distributed on bootable discs is often available for download in ISO image format; like any other ISO image, it may be written to an optical disc such as CD, DVD and Blu-Ray.
Description
[edit]Optical-disc images are uncompressed and do not use a particular container format; they are a sector-by-sector copy of the data on an optical disc, stored inside a binary file. Other than ISO 9660 media, an ISO image might also contain a UDF (ISO/IEC 13346) file system (commonly used by DVDs and Blu-ray Discs), including the data in its files in binary format, copied exactly as they were stored on the disc. The data inside the ISO image will be structured according to the file system that was used on the optical disc from which it was created.
The .iso file extension is the one most commonly used for this type of disc images. The .img extension can also be found on some ISO image files, such as in some images from Microsoft DreamSpark; however, IMG files, which also use the .img extension, tend to have slightly different contents. The .udf file extension is sometimes used to indicate that the file system inside the ISO image is actually UDF and not ISO 9660.
ISO files store only the user data from each sector on an optical disc, ignoring the control headers and error correction data, and are therefore slightly smaller than a raw disc image of optical media. Since the size of the user-data portion of a sector (logical sector) in data optical discs is 2,048 bytes, the size of an ISO image will be a multiple of 2,048.
Any single-track CD-ROM, DVD or Blu-ray disc can be archived in ISO format as a true digital copy of the original. Unlike a physical optical disc, an image can be transferred over any data link or removable storage medium. An ISO image can be opened with almost every multi-format file archiver. Native support for handling ISO images varies from operating system to operating system.
With a suitable driver software, an ISO can be "mounted" – allowing the operating system to interface with it, just as if the ISO were a physical optical disc. Most Unix-based operating systems, including Linux and macOS, have this built-in capability to mount an ISO. Versions of Windows, beginning with Windows 8, also have such a capability.[4] For other operating systems, separately available software drivers can be installed to achieve the same objective.
Multiple-track images
[edit]A CD can have multiple tracks, which can contain computer data, audio, or video. File systems such as ISO 9660 are stored inside one of these tracks. Since ISO images are expected to contain a binary copy of the file system and its contents, there is no concept of a "track" inside an ISO image, since a track is a container for the contents of an ISO image. This means that CDs with multiple tracks can not be stored inside a single ISO image; at most, an ISO image will contain the data inside one of those multiple tracks, and only if it is stored inside a standard file system.
This also means that audio CDs, which are usually composed of multiple tracks, can not be stored inside an ISO image. Furthermore, not even a single track of an audio CD can be stored as an ISO image, since audio tracks do not contain a file system inside them, but only a continuous stream of encoded audio data. This audio is stored on sectors of 2352 bytes different from those that store a file system and it is not stored inside files; it is addressed with track numbers, index points and a CD time code that are encoded into the lead-in of each session of the CD-Audio disc.
Video CDs and Super Video CDs require at least two tracks on a CD, so it is also not possible to store an image of one of these discs inside an ISO image file, however an .IMG file can achieve this.
Formats such as CUE/BIN, CCD/IMG and MDS/MDF formats can be used to store multi-track disc images, including audio CDs. These formats store a raw disc image of the complete disc, including information from all tracks, along with a companion file describing the multiple tracks and the characteristics of each of those tracks. This would allow an optical media burning tool to have all the information required to correctly burn the image on a new disc. For audio CDs, one can also transfer the audio data into uncompressed audio files like WAV or AIFF, optionally reserving the metadata (see CD ripping).
Most software that is capable of writing from ISO images to hard disks or recordable media (CD / DVD / BD) is generally not able to write from ISO disk images to flash drives.[needs update?] This limitation is more related to the availability of software tools able to perform this task, than to problems in the format itself. However, since 2011, various software has existed to write raw image files to USB flash drives.[5][6]
Uses
[edit]This section needs expansion. You can help by adding to it. (October 2025) |
.iso files are commonly used in emulators to replicate a CD image. Emulators such as Dolphin and PCSX2 use .iso files to emulate Wii and GameCube games, and PlayStation 2 games, respectively.[7][8] They can also be used as virtual CD-ROMs for hypervisors such as VMware Workstation or VirtualBox. Other uses are burning disk images of operating systems to physical install media.
See also
[edit]References
[edit]- ^ Siyuan, Fu (24 January 2017). "application/vnd.efi.iso". IANA. Retrieved 18 July 2023.
- ^ "File Signatures". www.garykessler.net. Archived from the original on 2020-07-03. Retrieved 2020-07-01.
- ^ Fisher, Tim (24 April 2018). "What Is an ISO File?". Lifewire. Archived from the original on 23 June 2018. Retrieved 23 June 2018.
- ^ "Windows 8 Explorer will support native mounting of ISO and VHD". ExtremeTech. Archived from the original on 2012-05-31. Retrieved 2012-05-21.
- ^ "ISO image to USB conversion". ISO to USB burning tool. Archived from the original on 15 February 2015. Retrieved 15 February 2015.
- ^ "How to Setup Windows 7 or Windows 8 from USB drive?". PowerISO. Archived from the original on 20 June 2016. Retrieved 15 February 2015.
- ^ "What dump formats are supported by Dolphin?". Dolphin Emulator Project. Archived from the original on 4 March 2017. Retrieved 11 March 2021.
- ^ "So how do I use it? - PCSX2". PCSX2 Team. Archived from the original on 9 March 2021. Retrieved 11 March 2021.
External links
[edit]Optical disc image
View on GrokipediaFundamentals
Definition and Purpose
An optical disc is a flat, circular storage medium that encodes data as microscopic pits and lands on its surface, which are read by a laser beam in an optical disc drive to distinguish reflective and non-reflective areas representing binary 0s and 1s.[4] Building on this technology, an optical disc image is a single digital file that serves as a sector-by-sector or logical copy of the entire data structure of an optical disc, such as a CD, DVD, or Blu-ray, capturing the filesystem, metadata, boot sectors, and other structural elements exactly as they appear on the physical medium.[2] Technically, optical disc images replicate the disc's sectors, which for Mode 1 CDs consist of 2048 bytes of user data per sector, along with additional bytes for synchronization, headers, and error correction mechanisms like Cross-Interleaved Reed-Solomon Coding (CIRC) to ensure data integrity against scratches or manufacturing defects.[5][6] This replication preserves not only the raw data but also the disc's logical layout, allowing the image to function as a virtual equivalent of the original without requiring the physical disc.[2] The primary purposes of optical disc images include enabling precise duplication and distribution of content without physical media, supporting long-term archiving to safeguard against media degradation, and allowing software testing or installation in virtual environments to avoid hardware wear.[7] These images emerged in the 1990s alongside the widespread adoption of CD-ROMs for data storage and distribution, with early standardized approaches linked to the ISO 9660 filesystem specification developed in 1988.[8]Common File Formats
Optical disc images are commonly stored in several file formats, each designed to capture the structure and content of CDs, DVDs, or Blu-ray discs for archiving, distribution, and emulation purposes. The ISO 9660 format serves as the foundational standard for CD-ROM images, specifying a hierarchical file system with support for up to eight levels of directories and 8.3 filename conventions to ensure cross-platform compatibility. Defined in the ISO/IEC 9660:1988 standard, it often incorporates extensions like Joliet for Unicode support and longer filenames in Windows environments, or hybrid combinations with UDF for broader media compatibility. ISO images (.iso files) contain an exact sector-by-sector representation of the disc's file system and data, making them widely used for data discs without audio tracks.[9][10][8] For higher-capacity media like DVDs and Blu-rays, the Universal Disk Format (UDF) provides a more advanced file system, enabling packet-writing for incremental updates and better support for large files and multimedia. Developed by the Optical Storage Technology Association (OSTA) as a profile of the ISO/IEC 13346 standard, UDF images capture the disc's logical structure, including metadata for files, directories, and partitions. Key versions include 1.02 (released in 1997 for DVD-Video compatibility) and 2.01 (introduced in 2000 as a bug fix and clarification of version 2.00, with later versions like 2.50 (2003) providing support for Blu-ray writability and metadata partitions), allowing for dynamic media like DVD-RW and BD-RE. UDF is prevalent in modern optical images due to its flexibility over ISO 9660 for non-CD media. Later versions include 2.50 (2003) for Blu-ray Disc with metadata partitions and 2.60 for advanced Blu-ray features.[11][12] The BIN/CUE format, popular for audio CDs and mixed-mode discs, pairs a binary data file (.bin) with a plain-text cue sheet (.cue) that describes the disc's track layout, including timings, modes (e.g., audio or data), and pregap information. This structure preserves the exact sector contents, including subchannel data for copy protection or multisession layouts, making it suitable for exact raw dumps of CDs that include Red Book audio tracks. Originating in the mid-1990s with early CD burning software, BIN/CUE supports emulation of interactive or protected discs by maintaining the original track boundaries and formats like MODE1/2352 for data or MODE2/2352 for XA.[13][14] Other notable formats include NRG, a compressed proprietary format developed by Nero AG for use with Nero Burning ROM software, which stores disc images in a single file while reducing size through proprietary algorithms for efficient online distribution. CDI, from Padus DiscJuggler, is another proprietary format optimized for CD images, particularly those with copy protection schemes, by embedding session and track metadata directly in the file. Similarly, the MDF/MDS pair from Alcohol Soft's Alcohol 120% consists of an MDF file for the main image data and an MDS descriptor for subchannel, track, and session details, enabling accurate reproduction of complex or protected media. These formats prioritize preservation of low-level disc features like error correction codes.[15][16][17]| Format | Supported Disc Types | Size Efficiency | Openness |
|---|---|---|---|
| ISO 9660 | CD, DVD | Uncompressed | Open standard |
| UDF | DVD, Blu-ray | Uncompressed | Open (OSTA/ISO) |
| BIN/CUE | CD (audio, mixed-mode) | Uncompressed | Open |
| NRG | CD, DVD | Compressed | Proprietary |
| CDI | CD | Uncompressed | Proprietary |
| MDF/MDS | CD, DVD | Uncompressed | Proprietary |
Creation Processes
Extraction Methods
Optical disc images are primarily created through read-based extraction, where the optical drive's laser diode emits a focused beam onto the disc's reflective surface to detect variations in reflectivity caused by microscopic pits and lands encoding the data. As the disc spins, the laser reads the spiral track sequentially, converting reflected light into electrical signals that are decoded into a bitstream. The drive's firmware groups these bits into frames (98 frames per sector for CDs), synchronizes using frame sync patterns, extracts subcodes (like Q-channel for track information), and assembles sectors while applying cross-interleaved Reed-Solomon error correction (CIRC) at the frame level to mitigate read errors from minor surface imperfections. This process ensures data integrity before higher-level sector error detection and correction (EDC/ECC) is applied. Extraction methods differ in whether they produce raw dumps or logical dumps, impacting the completeness and usability of the resulting image. A raw dump captures the entire physical sector without processing, including synchronization bytes, headers, subheaders, user data, EDC, and ECC fields—for instance, 2352 bytes per sector in CD-ROM Mode 1 (12 sync bytes + 4 header bytes + 2048 user data bytes + 4 EDC bytes + 220 ECC bytes + 64 auxiliary bytes)—along with lead-in and lead-out areas containing table of contents (TOC) and manufacturer data. This preserves low-level details like copy protection schemes (e.g., subchannel manipulations) but results in larger files unsuitable for direct mounting without specialized software. Conversely, a logical (or "cooked") dump extracts only the corrected user data (typically 2048 bytes per sector), stripping overhead after the drive applies EDC/ECC using Reed-Solomon codes to correct up to certain burst errors, ignoring lead-in/out regions and focusing on accessible file system content like ISO 9660 volumes. Raw dumps are essential for archival fidelity, while logical dumps facilitate standard use in formats like .iso. Command-line methods enable precise block-level extraction on Unix-like systems, such as using thedd utility to copy sectors directly from the device file (e.g., /dev/sr0 for the optical drive). For a logical dump of a data CD, the command dd if=/dev/sr0 of=image.iso bs=2048 reads 2048-byte blocks sequentially, leveraging the drive's default cooked mode to output only user data while handling sector alignment. For raw extraction, tools like readcd from cdrtools can specify full 2352-byte sectors with options like -raw to bypass drive-level stripping, ensuring inclusion of all overhead for complete replication. These methods rely on the SCSI command set (via ATAPI for most drives) to issue read commands (e.g., READ(10) or READ CD for raw), allowing control over starting sector, count, and transfer size.
Different disc types require tailored handling during extraction to account for varying sector formats and error correction. For CDs in Mode 1 (standard data), extraction focuses on 2048-byte logical sectors with robust EDC/ECC to correct up to 4000-bit burst errors; Mode 2 (used in CD-XA for interleaved multimedia) employs Form 1 (with EDC/ECC, 2048 bytes data) or Form 2 (EDC only, 2324 bytes data for audio/video), necessitating mode detection via TOC to avoid data corruption. DVDs use a uniform 2048-byte logical sector size across data modes, but video DVDs incorporate IFO files (for menu navigation and title structures) and VOB streams (MPEG-2 video multiplexed with audio in 2048-byte aligned blocks), requiring full-volume reads to capture the UDF/ISO 9660 hybrid file system without fragmenting streams. Extraction commands must specify appropriate sector sizes and modes (e.g., via -mode1 for CD data) to match the disc's recorded format, preventing misalignment. For Blu-ray discs, extraction follows similar principles but handles 2048-byte logical sectors with the UDF file system and advanced error correction using long distance codes (LDC) and Bose-Chaudhuri-Hocquenghem (BCH) codes, often requiring tools that support high-capacity media and burst cutting area (BCA) data for full fidelity.[18]
To ensure accuracy post-extraction, integrity checks involve computing cryptographic hashes such as MD5 or SHA-256 on the image file and comparing them against hashes generated from re-reading the original disc or known reference values. This verifies bit-for-bit fidelity, detecting discrepancies from read errors or incomplete dumps; for example, matching hashes confirm that all sectors, including any error-corrected ones, were accurately captured. Multiple extraction runs with hash comparison can further validate consistency.
Challenges in extraction often arise from physical disc degradation, such as scratches that scatter the laser beam, leading to increased noise in the reflected signal and failed frame decoding. The drive responds with automatic retries (up to 10-20 revolutions per sector in many models) and CIRC correction to recover minor errors, but severe damage may trigger unrecoverable read errors (C2 errors in CD terminology). Solutions include configuring extraction for multiple passes over problematic sectors, enabling error-skipping modes to flag and log bad sectors for later repair (e.g., via interpolated data), or using lower read speeds to improve signal-to-noise ratio. For heavily damaged discs, raw dumps allow manual post-processing of partial ECC data, though success depends on the error burst length exceeding the code's correction capacity (e.g., 2.5 mm for CD Mode 1).
Authoring Tools
Open-source tools play a significant role in authoring optical disc images, offering free alternatives for users seeking reliable extraction and creation capabilities. ImgBurn, available for Windows, supports the creation of ISO and UDF images from CDs, DVDs, and Blu-ray discs, and is praised for its lightweight design and broad compatibility with optical writers.[19][20] Similarly, cdrdao, primarily used on Linux and Unix-like systems, enables the creation of raw disc images including the table of contents (TOC), making it suitable for precise backups of audio CDs and data discs. The Unix command-line tool dd, found in most Unix-like operating systems including Linux and macOS, provides a basic method for dumping entire discs to image files by reading raw sectors, though it requires careful parameter specification for accuracy. Commercial software often includes advanced features for handling protected media and proprietary formats. Nero Burning ROM, a long-standing Windows application, supports ISO and NRG image creation, along with comprehensive disc authoring for multimedia projects. Alcohol 120%, also for Windows, specializes in MDF images and excels at extracting copy-protected discs, supporting virtual drives for testing images before burning.[21] PowerISO offers full support for Windows and a command-line utility for macOS, allowing users to create, edit, and compress ISO images with additional capabilities like password protection and multi-volume splitting.[22] Hardware considerations are crucial for effective authoring, as drive compatibility affects image quality and speed. Older SCSI interfaces provide high-performance access for professional setups but require adapters for modern systems, while ATAPI (ATA Packet Interface) remains standard for most internal IDE/SATA optical drives, ensuring seamless integration with consumer hardware.[23] USB external drives enhance portability, allowing image creation on laptops without built-in optics, and are compatible with most authoring tools via plug-and-play support. Modern tools address specific needs, such as audio extraction; Exact Audio Copy (EAC), updated to version 1.8 in July 2024, continues to refine accurate ripping for audio CDs using standard drives, incorporating bug fixes and improved plugin support post-2020.[24] While cloud-based extractors for physical optical discs remain limited due to the need for local hardware, some services facilitate remote collaboration on digitized images.| Tool | Supported Formats | Operating Systems | Key Extras |
|---|---|---|---|
| ImgBurn | ISO, UDF, BIN/CUE | Windows | Batch processing, verification |
| cdrdao | Raw (with TOC), BIN/CUE | Linux/Unix | Command-line scripting, audio focus |
| dd | Raw sector dumps | Unix-like (Linux, macOS) | Compression via pipes, basic no-frills |
| Nero Burning ROM | ISO, NRG | Windows | Multimedia authoring, copy protection handling |
| Alcohol 120% | MDF, ISO, NRG | Windows | Virtual drives, protected media support |
| PowerISO | ISO, BIN, NRG | Windows (GUI), macOS (command-line) | Editing, compression, encryption |
