DMG Files

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Priyesh
Posts: 12
Joined: 15. Feb 2012, 01:57

DMG Files

Post by Priyesh »

Can virtualbox boot from a .dmg file rather than an .iso?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: DMG Files

Post by mpack »

If it's just an Apple pseudonym for ISO then yes, but I would rename it to .ISO first. If its an image of a Mac hard disk then your Apple license will not allow that.
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all
Contact:

Re: DMG Files

Post by michaln »

The DMG format is not an ISO image.

DMG supports compression (zip/bzip2) and checksums, and it can be used for read/write images. VirtualBox supports a subset of read-only DMG files for CD/DVD images, but not for virtual hard disks.

I personally like the DMG format because unlike ISOs, the CD images are compressed and checksummed.
Priyesh
Posts: 12
Joined: 15. Feb 2012, 01:57

Re: DMG Files

Post by Priyesh »

k, so if the dmg file is an image of an operating system it should boot fine just like an iso in virtualbox?
BillG
Volunteer
Posts: 5105
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: DMG Files

Post by BillG »

No. DMG is an Apple disk image format. On a Windows machine you may not be able to read it at all. There are proprietary programs to convert .dmg files to other formats.

You aren't trying to install Mac OS in a vm are you?
Bill
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all
Contact:

Re: DMG Files

Post by michaln »

BillG wrote:No. DMG is an Apple disk image format. On a Windows machine you may not be able to read it at all. There are proprietary programs to convert .dmg files to other formats.
Did no one really notice that VirtualBox supports typical DMG images of CDs and DVDs on every supported host platform?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: DMG Files

Post by Perryg »

Yes but I am curious as to what operating system other than MAC comes in such a format.
Priyesh has already been warned several times that installing the hazard version of MAC is not supported for various reasons.
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all
Contact:

Re: DMG Files

Post by michaln »

It's trivial to convert any ISO image to DMG on a Mac.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: DMG Files

Post by mpack »

Priyesh wrote:k, so if the dmg file is an image of an operating system it should boot fine just like an iso in virtualbox?
If the .DMG file being discussed contains an image of a hard disk with a MAC OS X installation then attempting to use it on a Windows host would be a breach of the Apple license, as I already mentioned above. Priyesh, I'm aware that you have already been warned on this matter from earlier threads. Next step would be a ban.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: DMG Files

Post by mpack »

michaln wrote:Did no one really notice that VirtualBox supports typical DMG images of CDs and DVDs on every supported host platform?
I'm not an Apple user, so DMG is not a format I ever encounter. I did know that VirtualBox supported it, but not the details. I assumed the devteam would not have put a lot of effort into supporting an obscure and proprietary format, hence I guessed it was probably just another name for ISO (more precisely: a name for the output of a dd like tool for the Mac, so an DMG image of a CD would == ISO). Evidently that isn't the case.
Post Reply