Terminal Command To Mountain Lion

Mountain Lion (OS X 10.8) is out today, available in the Mac App Store for just $20. Unfortunately, installing Mountain Lion requires that you already have a Mac running Snow Leopard (OS X 10.6) or Lion (OS X 10.7). Nov 12, 2012 Restart the Mac and hold down Command-R to boot into Mountain Lion’s Recovery HD partition. From the menu choose Utilities Terminal, and in Terminal type resetpassword and press Return. I used to run the following code in Lion to open terminal, update a project, then open a new tab, and run again to update a second, third, and fourth. Since the Mountain Lion upgrade, this no longer works. Half the time it seems to open Finder at my home directory, and the other half it seems to open the OSX font / text dialog. Mac Terminal Command To Download Mountain Lion Free Download Sep 06, 2019 Install macOS or OS X from Internet Recovery Mode, which you can boot into by holding option+command+R while your Mac powers up.

This tutorial shows you how to get Mac OS X 10.8.4 (Mountain Lion) running on a late-2006 Mac Mini (model A1176), which officially can only support up to Mac OS 10.6.8 (Snow Leopard), according to this Wikipedia article. Although I have not tested it myself, the same steps would probably work if you have an early-2006 Mac Mini.

Hardware upgrades

Mac Mini 2006 comes with a Core Solo or a Duo Core processor, whereas Mac OS X Mountain Lion requires at least a Core 2 Duo, so you will need to upgrade the processor on your Mac Mini first before continuing. Although it is possible to patch the installer to run on a Core Duo, I would still recommend upgrading for a straightforward installation experience. Compatible processors can be found on eBay for as low as US$20 and available at a wide variety of speeds – 2GHz, 2.16GHz or 2.33GHz. A detailed step-by-step guide on how to upgrade the processor can be found here.

Optionally, to make the whole process worthwhile, it is also recommended to upgrade the RAM. Although the Mac Mini 2006 comes with the Macmini1,1 firmware which can only support up to 2GB of RAM and will not boot if more than 2GB is installed, you can install up to 4GB (2 pieces of 667MHz laptop DDR2 SDRAM) by updating the firmware to Macmini2,1, originally meant for the Mac Mini 2007 family. The steps are summarized below:

  1. Download the newer firmware from here http://www.mediafire.com/?lfangrn69rxln3q and extract it
  2. Put the extracted files in /System/Library/CoreServices/Firmware Updates folder. Check the permissions of the files, or just do a chmod 777 on the files to be safe.
  3. Run the following command in terminal:
    sudo bless-mount /-firmware/System/Library/CoreServices/Firmware Updates/EFIUpdaterApp.efi-payload/System/Library/CoreServices/Firmware Updates/LOCKED_MM11_0055_08B.fd-options “-x-apple-efi payload0-data” -verbose
  4. Turn off the computer by shutting it down from the Apple menu.
  5. Wait for a few seconds and press the power button until the power LED flashes. Wait until the flashing stops.
  6. At this point the firmware upgrade is completed. You may see some distorted pictures on the screen, which is normal. Simply turn the Mac Mini off by pressing the Power button, and turn it back on
  7. After a reboot, the Mac Mini should recognize 4GB of RAM.
  8. If the machine doesn’t boot up or doesn’t recognize the extra RAM, check that the memory modules have been securely inserted. If it still doesn’t work, try to do a PRAM reset.

The machine can only use around 3.3 GB out of the total of 4GB that is recognized, due to limitations of the 32-bit processor. And while you are at it, take the time to upgrade the hard disk (a 2.5″ SATA drive) to an SSD, preferably 128GB or more. The final configuration, 2GHz Core 2 Duo with 4GB RAM and 128GB SSD, will make your Mac Mini 2006 machine performance more or less in line with the Mac Mini 2009, a much later model.

Preparing the installation

Before you proceed you will need to upgrade the OS on your Mac Mini to Snow Leopard 10.6.8, the last officially supported version. Next, get your Mountain Lion installer media ready – which can be a .DMG image or an actual DVD. After that, download MLPostfactor 0.3 from here, needed to patch the original Mountain Lion installer disk, which does not support the Mac Mini 2006, to run on your machine.

As at the time of writing this article (May 2015), MLPostfactor 0.3 only supports Mac OS up to 10.8.4. Versions 10.8.5 or above are not supported, so make sure that your installer is of the right version.

To make it easier to switch the boot partition without holding the Option key, you may also want to install a boot manager such as rEFIt.

Bypassing MLPostfactor limitation

Here comes the trick. The user interface for version 0.3 of MLPostfactor apparently only supports OS X Lion (10.7) and will refuse to run on 10.6. I tried to trick it by changing the system version number in /System/Library/CoreServices/SystemVersion.plist but things would still not work – MLPostfactor started but could not find Install OS X Mountain Lion.app in the Applications folder even though the installer was clearly there. A workaround would be to use MLPostfactor 0.2, which can run on Snow Leopard, to upgrade the system first to 10.7, and from there upgrade it to 10.8 by running MLPostfactor 0.3 again. I did not attempt this method because it seemed time consuming and most importantly, I had no installer disc for 10.7.

My relief came when I read this article which showed me how to use MLPostfactor from the command line. Apparently there is another MLPostfactor.app folder inside the original MLPostfactor app which can be invoked using the following command to patch the installer:

Surprisingly, there is no version check in the command line version of MLPostfactor and this method actually works to create the 10.8.4 installer partition. There are a few other commands that need to be done to patch the installer partition – refer to the original article for details.

Using MLPostfactor from bash script

A simpler way would be to use the MLPostfactor script written by pjherron available from github. With this script, the steps to upgrade to 10.8.4 from 10.6.8 on your Mac Mini can be summarized as below:

  1. Download MLPostFactor 0.3 and unzip it to desktop
  2. Copy the ‘Install OS X Mountain Lion.app’ folder from your 10.8.4 installer disc to the Applications folder
  3. Create a 8 GB or larger partition on the target drive to host the patched installer. The volume label should be Install and it should be automatically mounted at /Volumes/Install
  4. Create another partition, 20GB or more, on the target drive where you will install 10.8.4. Alternative, if you do not need the original Snow Leopard partition, you do not need to create this partition and can simply choose to install on the Snow Leopard partition later, losing all existing data.
  5. Run the upgradesl2ml.sh script and give it 30 minutes to an hour to complete. When done, reboot the machine and choose to boot from the 10.8.4 installer partition just created
  6. When prompted, choose to install 10.8.4 on the partition created in step 4, or simply overwrite your Snow Leopard partition. It is highly recommended to format the partition and perform a clean install – do not perform an upgrade as there are known issues.
  7. Let the installer run. The process will either end in an error or a white screen – this is normal. Reboot the machine when this happens.
  8. Choose to boot from the 10.8.4 installer partition again (not the partition where you installed 10.8.4 to).
  9. When the installer finishes starting up, choose MLPostfactor from the Utilities menu and let it repair the partition where you’ve just installed 10.8.4
  10. When the repair is done, reboot your system and choose to boot from your fresh Mountain Lion partition. It should boot normally
  11. Done, you can now enjoy Mountain Lion on your Mac Mini 2006!

If the installation is successful, the About This Mac dialog should show something similar to below:

Common issues

In my experiment, the final system runs fine without major issues. Application such as Firefox, Skype or even xCode and the iOS simulator could run well. VLC player works well to play normal DivX or Xvid videos. The only major application that is problematic is Dropbox, which couldn’t even install due to error ‘no mountable filesystems’ when mounting the installer DMG. Tuxera NTFS can install and appears to work but will later cause random kernel panic when browsing NTFS partitions in Finder. I had to resort to removing Tuxera and learn to live with read-only NTFS support for now.

If your dock in Finder appears to be transparent after the installation, open Terminal and run the following command to fix it:

Read here for other useful tips and tricks.

Other than the above issues, my installation of 10.8.4 on the Mac Mini is stable and serves me well as my daily work machine. My next attempt would be to install 10.9 (Mavericks) or 10.10 (Yosemite) on this computer. As far as I know, although there are proof-of-concept attempts, nobody has managed to get a stable working system yet, presumably due to challenges in getting graphics drivers to work properly.

Terminal Command To Mountain Lion On Safari

See also

Upgrading the SSD in a mid-2012 Macbook Air
Keyboard issues in GRUB bootloader on a Mac Mini booting Mac OS, Windows and Ubuntu Linux

Question or issue on macOS:

Just upgraded my computer to Mac OS X Lion and went to terminal and typed “make” but it says:
-bash: make: command not found

Where did the “make” command go?

Mountain

How to solve this problem?

Solution no. 1:

Have you installed Xcode and the developer tools? I think make, along with gcc and friends, is installed with that and not before. Xcode 4.1 for Lion is free.

Solution no. 2:

You need to install Xcode from App Store.

Then start Xcode, go to Xcode->Preferences->Downloads and install component named “Command Line Tools”.
After that all the relevant tools will be placed in /usr/bin folder and you will be able to use it just as it was in 10.6.

Solution no. 3:

It appears you can install the command line tools without getting Xcode from Downloads for Apple Developers. It required me to login with my apple account.

Alternatively, once you install Xcode from the app store, you might notice the command line tools are not installed by default. Open Xcode, go to preferences, click to the “downloads” tab, and from there you can download and install command line tools.

Solution no. 4:

CommandTerminal Command To Mountain Lion

Xcode 4.3.2 didn’t install “Command Line Tools” by default. I had to open Xcode Preferences / Downloads / Components Tab. It had a list of optional components with an “Install” button beside each. This includes “Command Line Tools” and components to support developing for older versions of iOS.

Now “make” is available and you can check by opening terminal and typing:make -v

The result should look like:GNU Make 3.81

You may need “make” even if you don’t need Xcode, such as a Perl developer installing Perl Modules using cpan -i on the commandline.

Solution no. 5:

Xcode 5.1 no longer provides command line tools in the Preferences section. You now go to https://developer.apple.com/downloads/index.action, and select the command line tools version for your OS X release. The installer puts them in /usr/bin.

Solution no. 6:

If you installed xcode and upgraded to mountain lion, or you don’t have the latest command line tools installed, or you have zsh or other shells, you can shortcut to some of the embedded tools in the developer directory with:

Mountain

Terminal Command To Mountain Lion Download

Solution no. 7:

After upgrading to Mountain Lion using the NDK, I had the following error:


Cannot find ‘make’ program. Please install Cygwin make package or define the GNUMAKE variable to point to it

Error was fixed by downloading and using the latest NDK

Terminal Command To Mountain Lion On Macbook

Solution no. 8:

If you need only make and friends. Try installing the command-line-tools provided by Apple. (Assuming you are not doing any iOS development.)

Terminal Command To Mountain Lion

Solution no. 9:

there are specific builds of command line tools for different major OSX versions available from the Downloads for Apple Developers site. Be sure to get the latest release of the version for your OS.

Terminal Command To Mountain Lion On Windows

Hope this helps!