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

(!) ?/Discussion

Главная страница > Программное обеспечение > Менеджеры ISO-образов


Образы Дисков используются в основном для удаленного распространения различного програмного обеспечения, такого как дистрибутив Линукс: установочные флоппи или компакт диски можно записать в виде образа диска, передавать их через интернет и записать на физический носитель, при этом конечный пользователь получит точную копию содержимого первоначального образа. Таким образом, пользователь может записать образы в виде LiveCD и попробовать Операционную Систему не устанавливая её на жёсткий диск.

Еще одним популярным применением является виртуализация дисковых устройств. Она позволяет защитить CD от перезаписи или повреждений. Виртуализация также позволяет более эффективно переносить CD: можно хранить Образы Дисков на относительно лёгком загрузочном устройстве, имеющем объём больший чем CD (например, USB-флеш-накопитель)

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).

.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).

.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.

Some of the common uses include the distribution of Linux and LiveCD s.

Mime

MIME type

 application/x-iso-image

How to create it

You can create it with a CD and DVD applications

Command Line Interface:

Ways for copying a CD to a file (this is, create an iso file):

 dd if=/dev/cdrom of=image.iso

How to use it

You can open it with a CD and DVD applications

Command Line Interface:

 mount -o loop -t iso9660 image.iso /mnt/''somewhere''

.dmg

A DMG file (disk image) 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.

Mime

MIME type

application/x-apple-diskimage

How to create it

AFAIK the only way to create under Debian it is to use the command line:

 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 Some newer software like WinImage supports zipped version of the format and the extension is .imz.

.nrg

.nrg is a Nero Image.

You can mount it as follows:

 sudo mount -o loop,offset=307200 imagename.nrg /mount-point