Burning DMG disc images

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
Bounty
Emperor's Hand
Posts: 10767
Joined: 2005-01-20 08:33am
Location: Belgium

Burning DMG disc images

Post by Bounty »

I've downloaded an update from the Apple site for a friend and need to get it onto her Mac. Problem is, it's a *.dmg and I don't know what would be the best way to transfer it. If I just copy the raw dmg file to an USB stick, will the Mac automount it? Or do I need burn it to a CD as an image (ie, so the files inside the dmg are unpacked on the disc)? If so, can I do this with Ubuntu?

Or since I can mount the image on Linux, should I just copy the files inside the DMG to a CD or stick?

Normally I'd just experiment but this time I need to get it right in one go. Help?
User avatar
Xisiqomelir
Jedi Council Member
Posts: 1757
Joined: 2003-01-16 09:27am
Location: Valuetown
Contact:

Re: Burning DMG disc images

Post by Xisiqomelir »

Bounty wrote:If I just copy the raw dmg file to an USB stick, will the Mac automount it?
She'll have to double-click, but that's almost as good.
User avatar
Lisa
Jedi Knight
Posts: 790
Joined: 2006-07-14 11:59am
Location: Trenton
Contact:

Post by Lisa »

Transmac is a pc program that will let you burn dmg's to disc. otherwise your friend can just mount the dmg as noted above
May you live in interesting times.
User avatar
Praxis
Sith Acolyte
Posts: 6012
Joined: 2002-12-22 04:02pm
Contact:

Re: Burning DMG disc images

Post by Praxis »

Bounty wrote:I've downloaded an update from the Apple site for a friend and need to get it onto her Mac. Problem is, it's a *.dmg and I don't know what would be the best way to transfer it. If I just copy the raw dmg file to an USB stick, will the Mac automount it? Or do I need burn it to a CD as an image (ie, so the files inside the dmg are unpacked on the disc)? If so, can I do this with Ubuntu?

Or since I can mount the image on Linux, should I just copy the files inside the DMG to a CD or stick?

Normally I'd just experiment but this time I need to get it right in one go. Help?
The Mac will mount it when you double click on the DMG file.

Additionally, you could use the Mac's Disk Utility to burn it to a disk, but that's not really needed. The vast majority of Mac apps on the internet come as DMG files.

Double click the file, and a mounted drive will appear on the desktop.
User avatar
Bounty
Emperor's Hand
Posts: 10767
Joined: 2005-01-20 08:33am
Location: Belgium

Post by Bounty »

What an odd way of distributing data. Does dmg have compression or is it just a handy container?
User avatar
Xisiqomelir
Jedi Council Member
Posts: 1757
Joined: 2003-01-16 09:27am
Location: Valuetown
Contact:

Post by Xisiqomelir »

Bounty wrote:What an odd way of distributing data. Does dmg have compression or is it just a handy container?
Compression and encryption.
User avatar
Stark
Emperor's Hand
Posts: 36169
Joined: 2002-07-03 09:56pm
Location: Brisbane, Australia

Post by Stark »

Odd? It's an archive format that mounts as a disk. Hardly the stuff legends are made of. :)

Burning a dmg as an image is a really wierd idea, unless it's a really big one. I mean, using a 7000MB CD to burn a 15MB dmg? :)
User avatar
Bounty
Emperor's Hand
Posts: 10767
Joined: 2005-01-20 08:33am
Location: Belgium

Post by Bounty »

Stark wrote:Odd? It's an archive format that mounts as a disk. Hardly the stuff legends are made of. :)

Burning a dmg as an image is a really wierd idea, unless it's a really big one. I mean, using a 7000MB CD to burn a 15MB dmg? :)
That's be like Windows programs being downloadable as an iso...

And if I ask stupid questions it's because I know diddely-shit about Macs. For all I know they run on the sacrifice of virgin gerbils or something.
User avatar
Stark
Emperor's Hand
Posts: 36169
Joined: 2002-07-03 09:56pm
Location: Brisbane, Australia

Post by Stark »

Windows programs aren't downloadable as isos because you'd STILL need to run an installer, so there's no point to giving people an iso with the full functioning software on it. Mac software is usually totally portable, so you mount the image and a) run the software or b) drag it to applications to 'install' it. Some indy Windows software is distributed as archives that you have to extract, then run an installer, THEN use, so avoiding the (buggy, largely useless) installer step is a good thing.

But then I learnt the Mac basics on a friend's Mac with him looking over my shoulder, so I got the easy version. :)
User avatar
Praxis
Sith Acolyte
Posts: 6012
Joined: 2002-12-22 04:02pm
Contact:

Post by Praxis »

Bounty wrote:
Stark wrote:Odd? It's an archive format that mounts as a disk. Hardly the stuff legends are made of. :)
That's be like Windows programs being downloadable as an iso...
Not quite; it's compressed, so it's also sort of like a zip file.

Regardless though, if Windows could open ISOs with a double click, and you could run most applications by dragging and dropping them into a folder without running an installer, then that wouldn't be a bad idea at all. But the OS doesn't natively support it.

And if I ask stupid questions it's because I know diddely-shit about Macs. For all I know they run on the sacrifice of virgin gerbils or something.
He's on to us!
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post by phongn »

Bounty wrote:That's be like Windows programs being downloadable as an iso...
MacOS has an interesting features called an application bundle. Essentially, a bundle is a folder that contains pretty much everything an application needs to run but acts like a single file to the user. Standard archive formats will not properly handle bundles, IIRC.

A nifty side-effect of the bundle is that you generally don't need to run an installer, you just drag the application from the mounted DMG into the Applications folder.
And if I ask stupid questions it's because I know diddely-shit about Macs. For all I know they run on the sacrifice of virgin gerbils or something.
Modern Macs run on standard Intel hardware.
User avatar
Bounty
Emperor's Hand
Posts: 10767
Joined: 2005-01-20 08:33am
Location: Belgium

Post by Bounty »

But then I learnt the Mac basics on a friend's Mac with him looking over my shoulder, so I got the easy version.
I have to troubleshoot Macs without owning one or ever having done more on one than move the mouse around a bit. Cut me some slack, please, I'm flying by the seat of my pants here.

ETA: that application bundle sounds pretty nifty. So that's why she installed everything on her desktop...
User avatar
Praxis
Sith Acolyte
Posts: 6012
Joined: 2002-12-22 04:02pm
Contact:

Post by Praxis »

Bounty wrote:
ETA: that application bundle sounds pretty nifty. So that's why she installed everything on her desktop...
Yeah, the downside is that a lot of users don't understand the concept of putting apps in the Applications folder and just put them on the desktop or something. They'll run fine, and the user doesn't really know the difference between an app or a shortcut.
User avatar
Bounty
Emperor's Hand
Posts: 10767
Joined: 2005-01-20 08:33am
Location: Belgium

Post by Bounty »

Praxis wrote:
Bounty wrote:
ETA: that application bundle sounds pretty nifty. So that's why she installed everything on her desktop...
Yeah, the downside is that a lot of users don't understand the concept of putting apps in the Applications folder and just put them on the desktop or something. They'll run fine, and the user doesn't really know the difference between an app or a shortcut.
If I get the chance, should I move them to App. folder? Is it just a drag 'n' drop thing, or would that break the applications themselves? And can you leave shortcuts to the apps on the desktop easily?
User avatar
Stark
Emperor's Hand
Posts: 36169
Joined: 2002-07-03 09:56pm
Location: Brisbane, Australia

Post by Stark »

Bounty, that's the whole point of the bundles: they're TOTALLY SELF CONTAINED. Move them whereever, they'll work. They're actually a folder containing all the resources the app needs, so you can use them from anywhere - or delete them, and they're all gone: no uninstall needed.

Some apps do still need regular-type 'installers', though, but they usually put themselves nicely in the applications folder and can stil be killed with a regualr delete operation. The applications area in finder is just for tidiness really. :)
User avatar
Bounty
Emperor's Hand
Posts: 10767
Joined: 2005-01-20 08:33am
Location: Belgium

Post by Bounty »

Bounty, that's the whole point of the bundles: they're TOTALLY SELF CONTAINED.
Virgin gerbils. For all I knew moving them could break the laws of spacetime.
User avatar
Stark
Emperor's Hand
Posts: 36169
Joined: 2002-07-03 09:56pm
Location: Brisbane, Australia

Post by Stark »

Oh, it'll take a long time to lose the 'is it just a shortcut' reaction. :) When I mount an install, I drag the bundle right into applications so I can pretend it's normal. :)
User avatar
Xon
Sith Acolyte
Posts: 6206
Joined: 2002-07-16 06:12am
Location: Western Australia

Post by Xon »

Stark wrote:Windows programs aren't downloadable as isos because you'd STILL need to run an installer, so there's no point to giving people an iso with the full functioning software on it.
Lots of Microsoft stuff is downloadable in iso format right form microsoft.com and a heck of a lot more of it is avaliavle via msdn subscription services.

But you are correct for general software.
"Okay, I'll have the truth with a side order of clarity." ~ Dr. Daniel Jackson.
"Reality has a well-known liberal bias." ~ Stephen Colbert
"One Drive, One Partition, the One True Path" ~ ars technica forums - warrens - on hhd partitioning schemes.
User avatar
Stark
Emperor's Hand
Posts: 36169
Joined: 2002-07-03 09:56pm
Location: Brisbane, Australia

Post by Stark »

Yah, I thought the MSDN stuff was iso's largely for ease of distribution (since many people burn them straight to disks) rather than as part of the standard distro mechanism?
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post by phongn »

Stark wrote:Yah, I thought the MSDN stuff was iso's largely for ease of distribution (since many people burn them straight to disks) rather than as part of the standard distro mechanism?
Yes, or so you can mount it as a virtual disk and then install it. It's not really designed to be like a DMG.
User avatar
Praxis
Sith Acolyte
Posts: 6012
Joined: 2002-12-22 04:02pm
Contact:

Post by Praxis »

Bounty wrote:
Praxis wrote:
Bounty wrote:
ETA: that application bundle sounds pretty nifty. So that's why she installed everything on her desktop...
Yeah, the downside is that a lot of users don't understand the concept of putting apps in the Applications folder and just put them on the desktop or something. They'll run fine, and the user doesn't really know the difference between an app or a shortcut.
If I get the chance, should I move them to App. folder? Is it just a drag 'n' drop thing, or would that break the applications themselves? And can you leave shortcuts to the apps on the desktop easily?
If she has any weird setups with shortcuts it might break the shortcuts. Apps should work fine though.
User avatar
Bounty
Emperor's Hand
Posts: 10767
Joined: 2005-01-20 08:33am
Location: Belgium

Post by Bounty »

Well, the install worked. I didn't move the applications as she likes them on the desktop for some reason.
User avatar
Praxis
Sith Acolyte
Posts: 6012
Joined: 2002-12-22 04:02pm
Contact:

Post by Praxis »

Bounty wrote:Well, the install worked. I didn't move the applications as she likes them on the desktop for some reason.
If she didn't know the difference, personally I would throw the apps in the Applications folder and then put shortcuts to them on the desktop. She'd probably never even realize they had been moved :D

But probably best not to mess with her setup, I guess.

Glad it worked.
Post Reply