Dmg Keeps Mounting After Installation

broken image


Rated (4.0 of 5.0) by 10 reviewers.

A DMG file is 'mounted' as a drive and is treated by the operating system as if it were a physical hard drive, making it really easy to view its contents. The software you download for your Mac in a DMG format can be opened like any other file on a Mac, and then the setup program can be run to install the software. I want to install a dmg file on a remote server. All I have is an ssh access. Since a DMG is a disk image, I tried to mount it, but mount does not seem to recognize its format. File says my dmg file is a VAX COFF executable. When I mount a.dmg file or open certain other files on my drive, the Finder will automatically remount all.dmg images that I used previously. For example, I can mount DMG A, copy the application from within it to the Applications folder, then unmount it and delete it (and then empty trash).

Kelly Heffner Wilkerson
November 8, 2019 at 6:30 AM
Categories: macOS | View Comments


Dmg Keeps Mounting After Installation Contractors

I ran into an interesting macOS error while working with a customer a couple of weeks ago. I didn't find a lot of good search results addressing the issue, so I decided to write up a post about it myself.

The error was as the screenshot above shows; trying to open a dmg (disk image), macOS showed the error 'no mountable file systems'. If you see the 'no mountable file systems error' while opening a dmg, here's what you should try:

  1. In most cases, the downloaded dmg file is actually corrupt or had an error downloading. If possible, try downloading the dmg again, turning off any download assistant plug-ins you may have. You can try downloading the file in a different browser as well. Or if you don't need to be logged in to the site to download the file and you want to be fancy, you can try curl -O url in Terminal to download the file. (There's an example of that in my screenshot below.)

  2. Reboot your Mac if you haven't already tried that. Apparently there is an issue sometimes after opening too many dmg files, that is fixed with a reboot.

  3. Try mounting the DMG on the command line in Terminal. We will at least get some sort of useful error message to go on if it still fails:

    • Open Terminal: In Spotlight, the search magnifying glass at the upper right corner of your screen, search for Terminal, and press enter to open the Terminal app.

    • Type hdiutil attach -verbose into the terminal. Add a space at the end, but don't press enter yet.

    • Drag the dmg file from your Finder window onto the Terminal window and let go. This will fill in the location of the dmg file into your Terminal window.

    • Press enter.
  4. macOS Sierra (10.12) and earlier is not able to mount the new Apple File System (APFS). So if you're on macOS Sierra (10.12) or earlier and you ran hdiutil and see references to Apple_APFS or error 112, the issue is likely legitimate incompatibility, and this disk image won't open on this Mac without an update to the operating system.

    Here's an example of the end of hdiutil attach -verbose output that shows an APFS error due to an older version of macOS:

  5. Think about if you have any kind of security policies on this machine to prevent writing to external drives (thumb drives, optical drives, etc). I haven't seen this one in action, but I read about this being a possibility while researching the issue.

  6. Another suggestion added by a reader (thank you, Markus!) is that filesystem errors on your main Mac drive could be the cause of the disk image mounting errors. Here are instructions from Apple for scanning and repairing errors using Disk Utility. Note that in order to scan and repair errors on your main Macintosh HD drive, you'll need to reboot your Mac into recovery mode. You'll want to choose Disk Utility in the utilities listed in the recovery mode menu.

  7. A new discovery from a reader (thank you, Colby!) is that APFS DMGs won't mount if you're booted in macOS booted in Safe Mode. (Who knew!?!) If you're not sure if you're in safe mode, select the Apple menu  > About This Mac > System Report button, then select the 'Software' heading from the left column. To exit safe mode, restart your Mac, without holding Shift during startup. Or, if you previously set your Mac to always boot into safe mode using nvram, turn off safe mode and have your Mac boot normally on the terminal:

    • Sba financing guide for entrepreneurs association. Open Terminal: In Spotlight, the search magnifying glass at the upper right corner of your screen, search for Terminal, and press enter to open the Terminal app.

    • Type/paste sudo nvram boot-args=' and press enter.

    • Restart your Mac.

After downloading the installer, run it on the computer to install Helix ALM components on.

Keep the following in mind when installing:

  • Some Helix ALM features, such as Microsoft Word and Excel export, require a Java runtime. The OpenJDK Java Runtime (OpenJRE) is installed during installations, except for 32-bit Linux installations because a 32-bit OpenJRE does not exist. If you use the 32-bit Linux installer, you need to manually set the Java runtime after installation. You can also change it for other operating systems. To change the Java runtime:
    • For the Helix ALM Server on Windows and Linux using the Helix ALM Registry Utility, see the registry utility help.
    • For the Helix ALM desktop client, see the client help.
Windows

Double-click the installation file.

Tip: The network administrator can run a silent, client-only install to multiple computers without user intervention. See Running a silent installation on Windows.

Linux

Java installer

1. Double-click the installer archive or enter tar -zxvf .tar.gz in Terminal to extract the installer.

2. Run the extracted .bin file as root to start the installer.

Perl command line installer

1. In Terminal, enter tar -zxvf .tar.gz to extract the installer.

2. Enter cd tt- to change to the Helix ALM application directory. For example, if you are installing Helix ALM 2017.1.1, enter cd tt-2017.1.1.

3. Enter./install.pl as root to run the install script.

Mounting
Mounting
Mac

1.Double-click the installation file to extract the installer and then double-click ttmacclientinstall.dmg to mount the image on the desktop.

Dmg Keeps Mounting After Installation System

2. Double-click the Helix ALM disk image and then double-click the Install Helix ALM icon.

During installation

Installation

You must select settings for the components you choose to install. Depending on the installation type, you may be prompted to select options for the following components:

Dmg
Mac

1.Double-click the installation file to extract the installer and then double-click ttmacclientinstall.dmg to mount the image on the desktop.

Dmg Keeps Mounting After Installation System

2. Double-click the Helix ALM disk image and then double-click the Install Helix ALM icon.

During installation

You must select settings for the components you choose to install. Depending on the installation type, you may be prompted to select options for the following components:

  • Short date format (Linux only)




broken image