Differences between revisions 18 and 34 (spanning 16 versions)
Revision 18 as of 2016-12-11 17:24:35
Size: 5994
Editor: ?Nyav
Comment:
Revision 34 as of 2019-12-01 17:13:38
Size: 4547
Editor: leela52452
Comment: http - https 7-zip, updated URL of infra recorder URL
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
 . 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. ''[[WikiPedia:Disk_Image|See more]]...''
A common use of disk images is for remote distribution of software such as Linux distributions: installation floppy disks 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, user can burn the images to convert them in LiveCD s, to try an Operating System, without installing it in the hard disk .

A '''[[WikiPedia:Disk_image|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.

A common use of disk images is for remote distribution of software such as Linux distributions: installation [[CDDVD|CD/DVDs]] 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 CD/DVD drives. They are commonly used to distribute [[LiveCD|Live CDs]].
Line 10: Line 14:
-----------------
Line 11: Line 17:
== .bin ==
.bin files (or .RAW files) are images extracted in pure RAW format. 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 is copied and the resulting file will be bigger. The .BIN file should be 251,000 x 2352 = 590,352,000 bytes big. 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).
Line 14: Line 18:
<<Anchor(iso)>> -----------------
Line 17: Line 21:
An '''ISO image (.iso)''' is an informal term for a disk image of an ISO 9660 FileSystem. More loosely, it refers to any optical disk image.
Line 19: Line 22:
As is typical for disk images, in addition to the data files that are contained in the ISO image, it also contains all the filesystem metadata]] (Boot code, structures, and attributes). All of this information is contained in a single file. These properties make it an attractive alternative to physical data storage device for the distribution of software which requires this additional information as it is simple to retrieve over the Internet. An '''[[WikiPedia:ISO_image|ISO image (.iso)]]''' is an informal term for a disk image of an ISO 9660 FileSystem. More loosely, it refers to any optical disk image.
Line 21: Line 24:
Some of the common uses include the distribution of Linux and LiveCD s. As is typical for disk images, in addition to the data files that are contained in the ISO image, it also contains all the filesystem metadata (Boot code, structures, and attributes). All of this information is contained in a single file. These properties make it an attractive alternative to physical data storage device for the distribution of software which requires this additional information as it is simple to retrieve over the Internet. It is commonly used fir the distribution of Linux and [[LiveCD|LiveCDs]].
Line 23: Line 26:
=== Mime ===
[[MIME]] type
You can create, open and mount ISO images using [[CDDVDTools|CD and DVD applications]]. See [[ManipulatingISOs]] for info on manipulating ISO disk images.
Line 26: Line 28:
{{{
 application/x-iso-image
}}}
=== How to create it ===
You can create it with a [[CDDVDTools|CD and DVD applications]]
ISO images have the [[MIME]] type {{{ application/x-iso-image }}}
Line 32: Line 30:
__Command Line Interface: __ == .bin / .raw / .img ==
Line 34: Line 32:
Ways for copying a CD to a file (this is, create an iso file): {{{.bin}}}, {{{.raw}}}, or {{{.img}}} files are images extracted in pure RAW format.
Line 36: Line 34:
{{{
 dd if=/dev/cdrom of=image.iso
}}}
=== How to use it ===
You can open it with a [[CDDVDTools|CD and DVD applications]]
For a CD, 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 is copied and the resulting file will be bigger. The .BIN file should be 251,000 x 2352 = 590,352,000 bytes big. 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).
Line 42: Line 36:
__ Command Line Interface: __ This extension is also commonly used for hard disk images.
Line 44: Line 38:
{{{
 mount -o loop -t iso9660 image.iso /mnt/''somewhere''
}}}
=== .cue ===

Sometimes {{{.bin}}} images come with a [[WikiPedia:Cue_sheet_(computing)|cue file]], describing the layout of CD tracks.

You can burn a CD using the information from the cue file with [[DebPkg:cdrdao]]: {{{ cdrdao write --speed 4 --device 0,1,0 example.cue }}}
Line 48: Line 45:
== .dmg ==
Line 49: Line 47:
== .dmg ==
A DMG file ('''d'''isk i'''m'''a'''g'''e) is a popular format on Mac OS X. It is widely used for software distribution means, and is actually the raw image of a HFS filesystem, that's why in Mac OS X it is mounted as a drive.
A DMG file is an '''[[WikiPedia:Apple_Disk_Image|Apple Disk Image]]''', a popular format on Mac OS X. It is widely used for software distribution means, and is actually the raw image of a HFS filesystem, that's why in Mac OS X it is mounted as a drive.
Line 52: Line 49:
=== Mime ===
[[MIME]] type
DMG disk images have the [[MIME]] type {{{ application/x-apple-diskimage }}}
Line 55: Line 51:
{{{
application/x-apple-diskimage}}}
=== How to create it ===
AFAIK the only way to create under Debian it is to use the command line:
To create a .dmg image from a HFS formatted CD or hard drive partition: {{{ dd if="your input file" of=image.dmg }}}
Line 60: Line 53:
{{{
 dd if="your input file" of=image.dmg
}}}
Where "your input file" is a HFS formatted CD or hard drive partition.

But creating a DMG file under Linux makes no sense, since there are many other ways of packing your data, such as file archivers.

=== How to use it ===
First you have to install hfsplus (do it as root):

{{{
 apt-get install hfsplus
}}}
Since your DMG is a raw hfs filesystem, you can mount it the same way as an ISO image, just change "iso9660" to "hfs" after the -t (type) switch.

{{{
 mount -o loop -t hfs image.dmg /mnt/''somewhere''
}}}
Of course, you must do this as root, and the target directory has to be created first.

After that the files will be available in the target directory.

'''Although I haven't tested it, I think that if the DMG file is compressed or protected in any way, you won't be able to mount it.'''

It worked for me and may or may not work for you.''' '''

== .img ==
.img is the filename extension usually use for the disk image of floppy disks, and sometimes, hard disks. First popularized 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.
To mount a .dmg disk image to a directory, you need to install the [[DebPkg:hfsplus]] package, then mount it with {{{ mount -o loop -t hfs image.dmg /mnt/somewhere }}}
Line 92: Line 56:
.nrg is a Nero Image.
Line 94: Line 57:
You can mount it as follows:
{{{
 sudo mount -o loop,offset=307200 imagename.nrg /mount-point
}}}
.nrg is a [[WikiPedia:Nero_Burning_ROM|Nero]] disk image.

You can mount it to a directory using: {{{ mount -o loop,offset=307200 imagename.nrg /mount-point }}}

== See also ==

 * [[CDDVDTools|CD and DVD applications]]

== External links ==
 * Windows software: [[https://www.7-zip.org|7-zip]] and [[http://infrarecorder.org/|Infra recorder]] can be used to read and burn ISO images on Windows, respectively.
Line 100: Line 69:
== External links ==
 * wikipedia: WikiPedia:iso_image
 * DebPkg:iat - ''Converts many CD-ROM image formats to iso9660 ( BIN, MDF, PDI, CDI, NRG, and B5I)''
 * Windows users:
  * !SlySoft Virtual !CloneDrive ''(mount and ISO)'' ~-<<BR>>. http://www.slysoft.com/en/virtual-clonedrive.html-~ -~
  * [[http://www.smart-projects.net/isobuster/|IsoBuster]] and [[http://www.7-zip.org|7-zip]] let you browse the content of an ISO image.
  * [[http://infrarecorder.sourceforge.net/|Infra recorder]] and [[http://isorecorder.alexfeinman.com/isorecorder.htm|Iso Recorder]] let you burn CD/DVD/BD Iso images.
----
 . See also: [[CDDVDTools|CD and DVD applications]] - IsoBuster - [[genisoimage]] (replace mkisofs)
 . CategorySoftware
------------------------

CategorySoftware CategoryFileFormat

Translation(s): Deutsch - English - Français - Italiano - Русский

(!) ?/Discussion


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.

A common use of disk images is for remote distribution of software such as Linux distributions: installation CD/DVDs 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 CD/DVD drives. They are commonly used to distribute Live CDs.

Another common use is to provide virtual disk drive space to be used by SystemVirtualization. This can prevent the CD from getting burned or damaged. It can also reduce bulk when one wishes to carry the contents of the CD along with oneself: one can store disk images to a relatively lightweight and bootable storage device which has a higher storage capacity than that of a CD (i.e. a USB keydrive).



.iso

An ISO image (.iso) is an informal term for a disk image of an ISO 9660 FileSystem. More loosely, it refers to any optical disk image.

As is typical for disk images, in addition to the data files that are contained in the ISO image, it also contains all the filesystem metadata (Boot code, structures, and attributes). All of this information is contained in a single file. These properties make it an attractive alternative to physical data storage device for the distribution of software which requires this additional information as it is simple to retrieve over the Internet. It is commonly used fir the distribution of Linux and LiveCDs.

You can create, open and mount ISO images using CD and DVD applications. See ManipulatingISOs for info on manipulating ISO disk images.

ISO images have the MIME type  application/x-iso-image 

.bin / .raw / .img

.bin, .raw, or .img files are images extracted in pure RAW format.

For a CD, 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 is copied and the resulting file will be bigger. The .BIN file should be 251,000 x 2352 = 590,352,000 bytes big. 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).

This extension is also commonly used for hard disk images.

.cue

Sometimes .bin images come with a cue file, describing the layout of CD tracks.

You can burn a CD using the information from the cue file with cdrdao:  cdrdao write --speed 4 --device 0,1,0 example.cue 

.dmg

A DMG file is an Apple Disk Image, a popular format on Mac OS X. It is widely used for software distribution means, and is actually the raw image of a HFS filesystem, that's why in Mac OS X it is mounted as a drive.

DMG disk images have the MIME type  application/x-apple-diskimage 

To create a .dmg image from a HFS formatted CD or hard drive partition:  dd if="your input file" of=image.dmg 

To mount a .dmg disk image to a directory, you need to install the hfsplus package, then mount it with   mount -o loop -t hfs image.dmg /mnt/somewhere 

.nrg

.nrg is a Nero disk image.

You can mount it to a directory using:  mount -o loop,offset=307200 imagename.nrg /mount-point 

See also

  • Windows software: 7-zip and Infra recorder can be used to read and burn ISO images on Windows, respectively.


CategorySoftware CategoryFileFormat