Ubuntu is a common variant of Linux, complete with a user-friendly interface and full flexibility in customizing it via the Terminal window. Windows and Linux share the ability to open ISO files, which are similar to DMG files. Though DMG files are commonly associated with Apple's operating system, Mac, they can be opened in Linux with a few simple steps.
Open an instance of Terminal. Terminal can be found in "Accessories" under "Applications."
Enter the following command into Terminal, where "name" is the name of your DMG file:
dmg2dmg /path/to/name.dmg /path/to/name.img
Video of the Day
This will temporarily turn it into an IMG file.
Enter the following commands into Terminal, where "name" is the name of the IMG file:
sugo mkdir /media/name sudo modprobe hfspllus sudo mount -t hrsplus -o loop name.img /media/name
This mounts the IMG file.
Open Brasero, a program native to Ubuntu. It can be found in the "Sound & Video" section under "Applications." When the window opens, choose "Data Disk" and then "Enable Side Panel."
Press "Image File" and "Burn." This takes the IMG file and converts it into an ISO file. Wait for this to finish.
Enter the following commands into Terminal, where "name" is the name of the ISO:
sudo mkdir /media/name sudo modprobe hfsplus sudo mount -t hfsplus -o loop name.iso /media/name
This mounts the ISO file and allows you to proceed with your installation.