Search This Blog

Convert Mac OS X .dmg file to .iso format on Ubuntu Linux

  1. Install dmg2img:
    sudo apt-get install dmg2img
  2. Convert .dmg file to .img:
    dmg2img -i /path/to/mac.dmg -o /path/to/mac.img
  3. To mount the .img file:
    sudo modprobe hfsplus
    sudo mount -t hfsplus -o loop /path/to/mac.img /mnt
  4. To convert the .img file to .iso format:
    • Install ccd2iso:
      sudo apt-get install ccd2iso
    • Convert .img file to .iso
      ccd2iso /path/to/mac.img /path/to/mac.iso

No comments:

Post a Comment