Keep DMG Mounted When Using Migration Assistant

Starting with OS 10.9, Migration Assistant runs as root user and unmounts any dmg you have mounted.

To keep it mounted, type this into Terminal

sudo hdiutil attach /Path/To/Image.dmg

where “path to image” is the actual path and file name.

Tip: to easily select the path and file name, in Finder, select the dmg.
Control/Click and select copy.
Go back to Terminal and press cmd/v
This will paste the path and file name with all the needed adjustments for spaces in the path too.

From: Mary Hochberg, September, 29, 2015

Posted in: Applications, Computer Transfers