# 磁盘映像

磁盘映像（disk image）是存储设备（如硬盘驱动器、固态驱动器或光盘）内容的逐字节、逐扇区副本，以一个文件或一小组文件的形式存储，以便能够精确地再现或模拟原始介质。<sup>[1](https://www.techtarget.com/whatis/definition/disk-image)</sup> 与普通文件备份不同，映像捕获的是设备的块级别：文件内容、文件系统元数据、分区表、引导扇区以及未分配空间。<sup>[2](https://datarecoveryfix.com/disk-image/)</sup>

| 关键事实 | 说明 |
|---|---|
| 定义 | 对原始源驱动器内容的逐字节、逐扇区复制，包括数据和结构信息<sup>[1](https://www.techtarget.com/whatis/definition/disk-image)</sup> |
| 捕获内容 | 已分配文件、未分配空间、松弛空间和文件系统元数据，而非仅可见文件的逻辑副本<sup>[3](https://incidentsecure.org/glossary/disk-imaging)</sup> |
| 常见格式 | 原始格式（.dd、.img、.raw）、用于光学介质的ISO、用于多轨CD的BIN/CUE、用于压缩模拟器映像的CHD<sup>[2](https://datarecoveryfix.com/disk-image/)</sup><sup> • </sup><sup>[4](https://psgamer.net/disc-image-formats-chd-cue-iso)</sup> |
| ISO范围 | 包含光盘单个数据轨道的数据内容，包括光盘文件系统（若存在）<sup>[5](https://www.loc.gov/preservation/digital/formats/fdd/fdd000348.shtml)</sup> |
| CHD范围 | MAME的压缩光盘格式；将所有轨道（包括音频）保存在单个文件中，通常可将大小减半<sup>[4](https://psgamer.net/disc-image-formats-chd-cue-iso)</sup> |
| 主要用途 | 计算机取证、复制CD和DVD、灾难恢复、磁盘克隆以及应用程序和操作系统的分发<sup>[1](https://www.techtarget.com/whatis/definition/disk-image)</sup> |
| 保存指南 | 软盘和HDD/SSD存储使用RAW（img、dd）映像，光学介质使用.ISO，符合常见保存标准<sup>[6](https://www.softwarepreservationnetwork.org/wp-content/uploads/2020/06/UA_Disk-Image-Format-Primer-WIP.pdf)</sup> |

## 映像的工作原理

映像软件按物理顺序读取源设备，从第一个逻辑块到最后一个，将每个字节写入输出文件，无论该扇区存放的是真实文件、分区表、引导代码还是空白空间。<sup>[7](https://win32diskimager.org/sector-by-sector-imaging-explained/)</sup> 由于映像包含文件系统，磁盘映像的内容可以由映像读取软件直接读取，而无需将其挂载为卷或虚拟磁盘。<sup>[8](https://techterms.com/definition/disk_image)</sup><sup> • </sup><sup>[16](https://www.sleuthkit.org/sleuthkit/docs/api-docs/4.2/group__imglib.html)</sup>

取证映像旨在逐扇区精确再现原始介质，涵盖已分配文件、未分配空间、松弛空间和文件系统元数据。获取的数据可以存储为原始dd式映像，或存储为可容纳元数据、案件信息并支持压缩的取证容器格式。<sup>[3](https://incidentsecure.org/glossary/disk-imaging)</sup>

## 磁盘映像、磁盘克隆与黄金映像

这三个术语描述的是相关但不同的产物。磁盘映像是真实磁盘驱动器的虚拟表示，允许细粒度数据恢复，每个磁盘可存储多个映像并可增量更新。<sup>[17](https://csrc.nist.gov/glossary/term/disk_image)</sup> [磁盘克隆](https://www.edgepedia.org/zh/disk-cloning)是驱动器的未压缩副本，可立即替换生产环境中故障的硬盘；克隆速度更快，但每个磁盘只能存储一个克隆，且无法向其添加新数据。黄金映像是已配置的磁盘、服务器、系统或虚拟机的快照，用于在网络上部署新实例。<sup>[1](https://www.techtarget.com/whatis/definition/disk-image)</sup>

## 常见格式

**原始映像。** .img格式是磁盘的原始逐扇区副本，IMG文件最初用于复制软盘；它们通常被转换为ISO，以将光学介质的内容归档为单个文件。<sup>[9](https://www.vioware.com/knowledge/disk-image-formats-iso-dmg-img-bin-cue.html)</sup><sup> • </sup><sup>[1](https://www.techtarget.com/whatis/definition/disk-image)</sup> 在未压缩形式下，IMG与ISO磁盘映像文件之间没有可辨别的差异。<sup>[1](https://www.techtarget.com/whatis/definition/disk-image)</sup>

**ISO。** ISO映像是包含来自光盘或准备写入光盘的内容的归档文件，最初限于符合ISO 9660标准（1988年）的数据，该标准赋予了此格式名称和.iso扩展名。<sup>[5](https://www.loc.gov/preservation/digital/formats/fdd/fdd000348.shtml)</sup> [ISO 9660](https://www.edgepedia.org/zh/iso-9660)可追溯至High Sierra格式，该格式于1986年12月被采纳为ECMA-119，后来被接受为ISO 9660:1988。<sup>[5](https://www.loc.gov/preservation/digital/formats/fdd/fdd000348.shtml)</sup> 从20世纪90年代开始，ISO映像一词也适用于按通用磁盘格式（UDF）结构化的数据，该格式标准化为ISO/IEC 13346和ECMA-167；UDF用于DVD和蓝光盘，并已在这些介质上取代ISO 9660。<sup>[5](https://www.loc.gov/preservation/digital/formats/fdd/fdd000348.shtml)</sup> ISO映像还可采用Rock Ridge（POSIX权限和更长文件名）、Joliet（Unicode文件名）、El Torito（可引导CD）和Apple ISO 9660扩展等扩展。<sup>[5](https://www.loc.gov/preservation/digital/formats/fdd/fdd000348.shtml)</sup> 严格的ISO 9660文件带有魔数CD001（十六进制43 44 30 30 31），通常位于字节偏移32769（0x8001）处。<sup>[5](https://www.loc.gov/preservation/digital/formats/fdd/fdd000348.shtml)</sup>

**BIN/CUE。** .bin文件保存CD的原始数据，.cue是一个小型文本文件，描述每个轨道的起始位置。两个文件必须位于同一文件夹中，且.cue必须准确命名.bin文件；重命名其中一个而不编辑另一个会导致模拟器报告文件缺失或仅加载第一个轨道。应加载的是.cue文件，切勿直接加载.bin。<sup>[4](https://psgamer.net/disc-image-formats-chd-cue-iso)</sup>

**CHD。** CHD是“压缩数据块”的缩写，是MAME的压缩光盘格式。它以无损压缩方式存储与.cue文件及其对应的.bin文件相同的数据，将所有轨道（包括音频）保存在单个文件中，通常只有一半大小。<sup>[10](https://engineered.at/articles/popular-file-formats-for-cd-emulation)</sup><sup> • </sup><sup>[4](https://psgamer.net/disc-image-formats-chd-cue-iso)</sup> MAME工具chdman执行转换；对于CD映像，命令为`chdman createcd -i "Game.cue" -o "Game.chd"`。<sup>[11](https://docs.libretro.com/guides/disc-images/)</sup>

**其他格式。** GDI是[Dreamcast](https://www.edgepedia.org/zh/dreamcast) GD-ROM的cue表等效格式，加载方式相同。<sup>[11](https://docs.libretro.com/guides/disc-images/)</sup> 对于PSP，CSO是文件大小最小的压缩格式，ZSO比CSO大但加载更快。<sup>[12](https://nemo-retro.cc/en/guides/disc-image-formats)</sup> CloneCD映像采用.ccd加.img加.sub的三文件形式。<sup>[13](https://marcelofrau.github.io/OpenBurningSuite/supported-formats)</sup>

## 模拟中的磁盘映像

以CD、GD-ROM或DVD形式发行的游戏从光盘映像加载，格式的选择决定了游戏是否能正确运行。<sup>[11](https://docs.libretro.com/guides/disc-images/)</sup> CD-ROM游戏不是一团数据：它是一组轨道，一个数据轨道保存游戏，通常还有若干音频轨道保存配乐，与音乐CD完全相同。Saturn、[PlayStation](https://www.edgepedia.org/zh/playstation)、Sega CD、PC Engine CD和Dreamcast游戏都依赖这一点，因此音乐通常是普通的CD音频轨道。<sup>[4](https://psgamer.net/disc-image-formats-chd-cue-iso)</sup>

仅存储数据轨道的格式会丢弃音频。游戏仍能运行，因为代码完好，但运行时会没有声音，且没有任何模拟器设置能修复此问题。<sup>[4](https://psgamer.net/disc-image-formats-chd-cue-iso)</sup> ISO仅包含单个数据轨道，这使其适用于基于DVD的系统（如PS2、PSP和GameCube）以及纯数据CD，但无法容纳CD音频轨道。<sup>[11](https://docs.libretro.com/guides/disc-images/)</sup> 如果Saturn或PS1游戏以裸ISO形式出现，配乐已经丢失，只有通过正确的重新转储才能恢复。<sup>[4](https://psgamer.net/disc-image-formats-chd-cue-iso)</sup>

CHD将.cue和.bin文件合并为单个.chd文件，简化了文件管理，但该格式并非与所有模拟器兼容，因此应首先检查模拟器支持的扩展名。<sup>[14](https://device.report/m/8201aa9421215c53c07d346ed01d8cf35ea877a26212b0d43cebe84c67fccb15.pdf)</sup> 特定模拟器核心接受哪些格式，在其核心库页面的“扩展名”下有所列出。<sup>[11](https://docs.libretro.com/guides/disc-images/)</sup>

## 保存与归档用途

对于寻求保存内容的组织，ISO磁盘映像格式支持位保存但不支持长期内容管理，因为该术语命名了一系列变体，不受单一综合规范的管辖。<sup>[5](https://www.loc.gov/preservation/digital/formats/fdd/fdd000348.shtml)</sup> 软件保存网络的入门指南建议软盘和HDD/SSD存储使用RAW（img、dd）磁盘映像，处理光学介质时使用.ISO，因为长期归档、向后兼容性、成本和开放规范可降低格式过时的风险。<sup>[6](https://www.softwarepreservationnetwork.org/wp-content/uploads/2020/06/UA_Disk-Image-Format-Primer-WIP.pdf)</sup> 在基于模拟的保存工作中，建议使用原始载体的数字映像，而非直接从物理介质运行软件。<sup>[15](https://www.clir.org/wp-content/uploads/sites/6/2025/07/An_Overview_of_Emulation_as_a_Preservation_Method_CLIRpub194.pdf)</sup>

## References

1. [What Is a Disk Image? | Definition from TechTarget](https://www.techtarget.com/whatis/definition/disk-image)
2. [What Is a Disk Image? Sector-by-Sector Recovery Copy, DataRecoveryFix](https://datarecoveryfix.com/disk-image/)
3. [Disk Imaging, Incident Security Authority](https://incidentsecure.org/glossary/disk-imaging)
4. [CHD vs CUE/BIN vs ISO, PSGamer](https://psgamer.net/disc-image-formats-chd-cue-iso/)
5. [ISO Disk Image File Format, Library of Congress](https://www.loc.gov/preservation/digital/formats/fdd/fdd000348.shtml)
6. [Disk Image Format Primer, Software Preservation Network](https://www.softwarepreservationnetwork.org/wp-content/uploads/2020/06/UA_Disk-Image-Format-Primer-WIP.pdf)
7. [What Does Sector-by-Sector Imaging Mean?, Win32DiskImager](https://win32diskimager.org/sector-by-sector-imaging-explained/)
8. [Disk Image Definition, TechTerms](https://techterms.com/definition/disk_image)
9. [Disk Image Formats Explained: ISO vs DMG vs IMG vs BIN/CUE, VIOware](https://www.vioware.com/knowledge/disk-image-formats-iso-dmg-img-bin-cue.html)
10. [Popular File formats for CD Emulation, Engineered.at](https://engineered.at/articles/popular-file-formats-for-cd-emulation)
11. [Disc Images: CUE, CHD and M3U, Libretro Docs](https://docs.libretro.com/guides/disc-images/)
12. [Disc Image Formats, Retro Lab](https://nemo-retro.cc/en/guides/disc-image-formats)
13. [Supported Formats, Open Burning Suite](https://marcelofrau.github.io/OpenBurningSuite/supported-formats)
14. [Different images formats, device.report](https://device.report/m/8201aa9421215c53c07d346ed01d8cf35ea877a26212b0d43cebe84c67fccb15.pdf)
15. [An Overview of Emulation as a Preservation Method, CLIR](https://www.clir.org/wp-content/uploads/sites/6/2025/07/An_Overview_of_Emulation_as_a_Preservation_Method_CLIRpub194.pdf)
16. [The Sleuth Kit: C Disk Image Functions](https://www.sleuthkit.org/sleuthkit/docs/api-docs/4.2/group__imglib.html)
17. [Disk image - Glossary, CSRC](https://csrc.nist.gov/glossary/term/disk_image)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 21, 2026 · Edited: Sep 30, 2026; Oct 21, 2026 · Last review: Oct 21, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 计算机硬件 › Storage devices & memory

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/disk-image

English original: https://www.edgepedia.org/disk-image
