In this small guide, I will be showing you how to mount DMG file on VirtualBox with the Windows 10,8.1 or any Windows client Operating Systems. As DMG is the file format of Mac OS X, Windows OS can’t read the file. As we earlier mentioned in this guide, we need to convert the DMG to ISO, then use it on VirtualBox. This method will be useful to try and install any Hackintosh versions on Mac OS X on VirtualBox.
What is DMG File?
A file with the DMG extension is an Apple disk image which intendedly created for Mac OS X. It may have the compressed and sometimes encrypted data for Mac OS X. This type of compressed data disk format helps to carry the software installation files in DMG file format. Usually, you will see the enter Mac Operating System and its applications in DMG file format. Opening the DMG file on Mac OS X is straightforward like executing the .EXE file on Windows OS. But it is not easy to open or use the DMG file on Windows computer. We need to convert it first.
The favorite software I used to convert DMG to ISO was dmg2iso. I tried MagicISO and some other software, but dmg2iso worked well for me.
Download dmg2iso (dmg2img) here for Windows.
Installation not required, extract the zip file add the dmg2img.exe path in Windows path variable.
Mount DMG File on VirtualBox or VMware with Windows OS Host
By the way, converting the DMG to ISO will help you to mount the installation disk on VMware workstation as well.
Syntax is dmg2img < Source file.dmg> <destination file.iso>
A successful conversion will start and run like shown below.
If DMG file is clean, it will produce an ISO file. Mounting this ISO file which came from DMG is easy in VirtualBox.
Go to Virtual media manager in VB and add ISO file under CD/DVD images as below.
Hope this guide is useful in mounting the DMG disk file on Virtualbox with Windows Operating System host.