Conversion of dmg files to rar file format

You can extract DMG images in any program that supports bzip2 compression and repack the data again to RAR, which is what dmg to rar conversion represents. But that will make the installation disk unusable for Mac. You can also simply compress DMG further to RAR, which is possible in almost any file archiver today, because RAR is fairly supported. Other than that, there is really no point to convert dmg to rar.

Open DMG file    Open RAR file