Ventoy icon indicating copy to clipboard operation
Ventoy copied to clipboard

Support for .dmg files

Open git70 opened this issue 4 years ago • 14 comments

Hi

.iso and .img work great! Do you plan to be able to boot .dmg files?

git70 avatar Dec 23 '20 19:12 git70

@git70 have you tried dmg2iso?

JonnyTech avatar Dec 23 '20 21:12 JonnyTech

Thank you for your help, but I don't use a Mac. I only have a few .dmg files for liveUSB to work (for example, SSD updater).

Ventoy is great, but .dmg is the ONLY thing I have to record to another USB stick outside of it. My dream is to give up other tools and only use Ventoy! ;)

git70 avatar Dec 23 '20 22:12 git70

dmg2iso is a Linux tool, for Windows try dmg2img

JonnyTech avatar Dec 24 '20 00:12 JonnyTech

It would be elegant to have support natively ;)

git70 avatar Dec 24 '20 13:12 git70

The difference is that ISO is a raw dump of an optical media and IMG is a raw dump of a flash drive or hard drive. DMG is a compressed proprietary format.

jendalinda avatar Dec 27 '20 09:12 jendalinda

DMG is a compressed proprietary format.

Proprietary filesystem inside it, yes, but otherwise, just another raw dump (just like IMG). Additionally, it's not always compressed.

Andrew-J-Larson avatar Jun 02 '21 23:06 Andrew-J-Larson

Hello, can i (as a nooby :)) have a link for that program to change DMG to ISO for changing the mac os file to Ventoy in my T-drive?

Rzrady avatar Oct 05 '22 07:10 Rzrady

Hello, can i (as a nooby :)) have a link for that program to change DMG to ISO for changing the mac os file to Ventoy in my T-drive?

@Rzrady Looks like https://sourceforge.net/projects/dmg2iso/files/dmg2iso/Ver%202.0/Droplet/ should have what you need, though old.

TPS avatar Oct 05 '22 09:10 TPS

TNX a lot

Rzrady avatar Oct 05 '22 11:10 Rzrady

What if you made a USB installer with "createinstallmedia" then dd it into an img raw and import it into ventoy?

dziarski-hwat avatar Oct 20 '22 20:10 dziarski-hwat

What if you made a USB installer with "createinstallmedia" then dd it into an img raw and import it into ventoy?

No, see: https://github.com/ventoy/Ventoy/issues/918

Andrew-J-Larson avatar Oct 20 '22 21:10 Andrew-J-Larson

What if you made a USB installer with "createinstallmedia" then dd it into an img raw and import it into ventoy?

No, see: #918

Irrevelant i think. Let me elaborate. When you make an installer to USB flash drive with "createinstallmedia" you make a boot device as an usb drive. My thinking is if you dd into an img of that usb drive it may, and I say "may" be possible to boot that img image

dziarski-hwat avatar Oct 20 '22 22:10 dziarski-hwat

What if you made a USB installer with "createinstallmedia" then dd it into an img raw and import it into ventoy?

No, see: #918

Irrevelant i think. Let me elaborate. When you make an installer to USB flash drive with "createinstallmedia" you make a boot device as an usb drive. My thinking is if you dd into an img of that usb drive it may, and I say "may" be possible to boot that img image

No it's completely relevant... And either way the image is created, it would be the same. The issue with ventoy is the need to be able to read the inner structures of the DMG (rather the proprietary filesystem, APFS) to load in memory.

What I did in my post is exactly the same sort of thing that createinstallmedia would do, except only it's avoiding making a USB, and cutting straight to only making an image.

Andrew-J-Larson avatar Oct 20 '22 22:10 Andrew-J-Larson

So it doesn't do img and bin as raw filefs? bummer

dziarski-hwat avatar Oct 20 '22 22:10 dziarski-hwat