Зачем конвертировать IMG в DMG?
DMG is Apple's standard disk image format. Converting an .img to .dmg makes the file work natively with macOS's DiskImageMounter and Finder, and is needed when distributing the image to Mac users or using it in macOS installer workflows.
Способы конвертации IMG в DMG
hdiutil (macOS) FREE
Run hdiutil convert input.img -format UDZO -o output.dmg in Terminal; use UDZO for a compressed read-only DMG or UDRW for a read/write image.
AnyToISO APP
Load the .img in AnyToISO, choose DMG as the output format, and click Convert; the result is a wrapped image suitable for file extraction but not for bootable Mac use.
AnyToISO for Mac APP
Open the .img in AnyToISO for Mac, select DMG output, and convert; for a native Apple volume hdiutil is more reliable.
Программы, которые конвертируют IMG
Об этих форматах
Файл IMG чаще всего представляет собой посекторную копию CD/DVD, дискеты, USB-накопителя или раздела - часто он идентичен файлу ISO. В Windows 8 и более поздних версиях щелкните правой…
Открыть детали .IMG →Файл DMG - это образ диска Apple, стандартный контейнер для распространения приложений Mac. На Mac дважды щелкните по нему, чтобы смонтировать образ, затем перетащите приложение в папку…
Открыть детали .DMG →Качество и на что обратить внимание
- Only
hdiutilon macOS produces a true Apple DMG; Windows tools wrap the raw image and the result may not mount or boot correctly on a Mac. - The conversion preserves the filesystem data inside the image, but DMG-specific features (HFS+ extended attributes, code-signed volumes) are only present if the source
.imgalready had them. - Boot-sector data for non-Apple bootable images (Linux, Windows install discs) is carried over in the raw data, but macOS will not boot from such an image.
Часто задаваемые вопросы
Can I convert IMG to DMG on Windows?
hdiutil for genuine Mac disk images.Which hdiutil format option should I use?
UDZO gives a compressed read-only DMG (most common); use UDRW if you need a writable image.Will the DMG be bootable on a Mac?
.img already contained a macOS-compatible bootable filesystem; non-Apple images are not bootable on macOS after conversion.Can I extract files from an IMG without converting it?
.img files directly and extract their contents without conversion.