Somewhere Beyond The Stars Mac OS
Sample bash script to show how to parse the macOS version
os_version.sh
Beyond

Mac OS 8 as we know it came together only after one of Apple’s first attempts to replace the classic Mac OS crashed and burned. That project was code-named Copland, and Apple spent more than a. Beyond the Stars VR is a roughly 5-10 minute cinematic experience centred around adventure and exploration. Designed as part of a larger transmedia program for the Pacific Islands, the experience introduces you to the mythical history and magical world of Beyond the Stars through stunning immersive environments and exciting interactive puzzles. SkySafari Pro 6.4.0 SkySafari 6 Pro will revolutionize your astronomical viewing experience. It has the largest database of any astronomy app, includes every solar system object ever discovered, offers unparalleled accuracy, flawless telescope control, and provides the very best experience under the stars when you depend on it.

#!/bin/bash
# use argument 1 as the version or get it from sw_vers
os_ver=${1-:$(sw_vers -productVersion)}
# string comparison
if [[ '$os_ver' 10.13.* ]];then
echo'macOS High Sierra'
elif [[ '$os_ver' 10.12.* ]];then
echo'macOS Sierra'
else
echo'(Mac) OS X something'
fi
# regular expression
if [[ '$os_ver'=~ 10.1[23].* ]];then
echo'It's one of the Sierras'
fi
# awk
echo'minor version with awk: '$(echo '$os_ver' awk -F. '{ print $2; }')
echo'patch version with awk: '$(echo '$os_ver' awk -F. '{ print $3; }')
# array
IFS='.'read -r -a ver <<<'$os_ver'
echo'minor version with array: ${ver[1]}'
echo'patch version with array: ${ver[2]}'
# numerical comparison
if [[ '${ver[1]}'-ge 9 ]];then
echo'somewhere in California'
elif [[ '${ver[1]}'-ge 2 ]];then
echo'officially a feline'
else
echo'secretly a feline'
fi
# get the build number:
build_ver=${2-:$(sw_vers -buildVersion)}
if [[ '${ver[1]}'-le 5 ]];then
build_number='${build_ver:3}'
else
build_number='${build_ver:4}'
fi
if [[ ${build_number: -1}'a' ]];then
build_number='${build_number:0:$((${#build_number}-1))}'
fi
echo'build number: $build_number'

commented Mar 5, 2018

Looking at this piece:

I needed to take into account the leading colon in os_ver. To do that I modified my if statement to this

commented Nov 6, 2019

I think it should have been:

(swap -: with :- to set the default)

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Hi, Low End Mac readers. My name is Robert Bryant, and I am a computer tech in Central California just south of San Jose. As a daily Mac Pro user, I wanted to provide the Low End Mac community with the necessary steps to take a base model 2006 Mac Pro 1,1 or 2007 2,1 (that can now be easily obtained for under $500) and show you how to make it as modern as any current Mac, while retaining all of the expansion that the older tower style Mac Pros provide.

Just like anyone else who frequents Low End Mac, I wanted to get more value out of my Apple hardware.

Before going further into detail, I would like to give special thanks to MacRumors forum user “Tiamo”. Tiamo is the original modifier of the “boot.efi” file (more on that later) that allows you to run modern versions of OS X on the Mac Pro 1,1 and 2,1 which would otherwise be limited to OS X Lion 10.7.5.

About the Project

Recently, I have been helping friends upgrade their Mac Pro 1,1 and 2,1 models with OS X 10.9.3 Mavericks (and more recently 10.9.4 and have also begun experimenting with 10.10 Yosemite with some success).

The whole idea of upgrading a Mac Pro 1,1 for me started out of a curiosity: I began researching how to use the nVidia 210 Silent video card (with no native Mac drivers) in my Mac Pro 1,1 and was disappointed after many dead-ends, finding no readily available answers, but I refused to give up.

Many who I chatted with and messaged during my search for answers claimed it just wasn’t possible to use the nVidia 210 in a Mac Pro 1,1 without running Chameleon or other hackintosh tools to get OS X 10.8 Mountain Lion or later installed (a necessity for using the nVidia 210 but not technically possible due to the 32-bit EFI issue), which I found disappointing to say the least. After all, this was a genuine Mac Pro and not a hackintosh build.

Beyond

After a great deal of persistence, I was thrilled to eventually find a native upgrade path (again, many thanks to Tiamo at MacRumors) that is not that hard to accomplish. Follow the steps below and you too can enjoy the affordability and upgradeability that a Mac Pro 1,1 or 2,1 can provide.

Prep Work

What you need to get started:

  • Obtain Mountain Lion (or later) installer: As you may have noticed, Apple’s App Store denies the installation of the unsupported versions of OS X because of a lack of hardware compatibility (this is typically pre-written into a bad machines list in the installer). Though all the Mac Pro hardware from the beginning has been fully 64-bit, early models that shipped between 2006 and early 2008 shipped solely with a 32-bit boot EFI and thus were artificially crippled when it came to full 64-bit operation. These models can’t run versions of OS X beyond Lion 10.7.5 without a modified boot efi.
  • Another Mac capable of booting into Mountain Lion (or later) natively: This is essential to have during the installation process in order to read the modified bootable version of OS X for installing on the Mac Pro 1,1 or 2,1 hard drive (Mavericks used in this example)

Gathering the Necessary Files

Step 1: Obtain the OS X installer for Mountain Lion or Mavericks

This can’t be easily done on the Mac Pro you are modding (there are other methods, but you will need the other Mac in step 9 as well). To get around this problem, simply begin by downloading the installer on another Mac capable of running it natively. Regardless of what you do to accomplish this step, you will need a clean, unmodified installation package of Mountain Lion, or later before proceeding (we use Mavericks in this example).

Step 2: Download or install Xcode (from Apple or from a retail copy of Snow Leopard)

You will need access to the application called “Flat package editor”. This tool is part of a package called PackageMaker, which allows you to create custom installation packages. To navigate to it after installing XCode, simply go to the following path and launch the application:

/Developer/Applications/Utilities

NOTE: Specific facts regarding the use of PackageMaker are readily available online and within the documentation provided as part of the XCode installation.

Step 3: Download Tiamo’s boot.efi from within his MacRumors thread

Step 4: Prepare OS X Installer

  • Step 4a: Move the OS X installer downloaded during step 1 to a simple location (such as the desktop). Inside the OSX installer contents is a folder called “Packages”. Copy the OSInstall.mpkg to your desktop. Note: Make sure you copy the .mpkg, not the .pkg
  • Step 4b: Open OSInstall.mpkg with Flat package editor and drag the “Distribution” file to your desktop.
  • Step 4c: Navigate the contents of the installer to System/Library/CoreServices/PlatformSupport.plist and copy that plist to the desktop.

Actual Modding

Somewhere Beyond The Stars Mac Os 13

Step 5: Add Board ID to Supported Machines

  • Step 5a: Open “Distribution” in TextEdit and scroll until you see a list of supported machines Board ID’s. Add your machine’s board ID to this list. Save and close this file. EXAMPLE: For the Mac Pro 1,1 add board ID (F4208DC8) to the list
  • Step 5b: Next open the PlatformSupport.plist in TextEdit and perform the same process outlined in step 5a. Save and close this file.

Step 6: Replace boot.efi with Tiamo’s version

  • Step 6a: Navigate to System/Library/CoreServices/boot.efi and replace the file with Tiamo’s version.
  • Step 6b: Navigate to usr/standalone/i386/boot.efi and replace with Tiamo’s version.

Notes

  • As you can see, all of this editing is being done to the installer, not to your system
  • Many forums have long winded workarounds and have you editing your system; however, these methods are extremely inefficient and are unnecessarily complex.
  • The way I have you doing it will be the quickest and work the most often without hassles.

Step 7: Move all items modified from the OS X installer back to their original locations.

Step 8: Create a Bootable Copy of the Modified OS X Installer

Create a Mavericks (or Mountain Lion/Yosemite) bootable USB drive using the modified installer we’ve just made. A good step-by-step account of this process for creating a Mavericks USB installer is outlined at techrepublic.com.

Note: There are other methods for accomplishing this and you could choose to make a bootable DVD if you wish using proven methods.

Step 9: Attach Bootable Media and Install

Insert the bootable OS X media into a computer already running at least the same version of the OS you just downloaded (Example: Mavericks 10.9.4) and then plug your Mac Pro’s hard drive into this computer externally (use Target Disk mode or put your Mac Pro hard drive in an external enclosure). Boot from the USB Flash Drive containing the modified OS installer created in step 8 above and select the 3.5” hard drive from your Mac Pro as the install destination.

Step 10: Wrap-Up

When the installer finishes, replace the 3.5” drive into your Mac Pro (if moved to an external enclosure) and boot normally. You will see a white screen with no apple logo for approx. 15 seconds, upon which the computer will go into verbose mode and you will see it dumping unused Kernel extensions.

Note:

You’ll know that you have succeeded when you see “DSMOS IS HERE”. At that point, the Mac Pro will then boot it’s GUI.

Afterthoughts

For all intents and purposes, your upgrade is complete, although there are other things to keep in mind:

  • The 64-bit EFI loader is not optimized to work with graphics cards smaller than 512 MB. The catch-22 here is that if you run a larger PC card, you will not see the verbose screen upon start up. The card will not initialize until OSX’s GUI loads, so your Mac Pro will not send signal to the monitor until fully booted. Conversely, if you stick with the Geforce 7300GT or one of the other earlier GPUs under 512 MB designed for variants of the Mac Pro, OS X will read it as a 5 MB or 7 MB graphics card instead of the 256 MB that it is. Ideally, you’ll want to have a Mac compatible card that is at least 512 MB during upgrades such as the Geforce 8800 GT.
  • Also remember that if you upgrade to the Xeon 5365 chipset like I did in order to run two quad-core CPUs instead of two dual-core CPUs, the System Report will show those processors as “2x 3ghz Unknown”. To change this natively and have the machine recognize the chips rather than fooling it by editing plists, you must find the Mac Pro 2,1 firmware update for the Mac Pro 1,1; Apple used to offer it, but has since taken it down (perhaps buried in the archives somewhere). Upon hours of searching the only place I’ve found it was forum.netkas.org and in order to download, you have to become a member. If you are interested in having me be your IT Consultant, Graphic Designer, or need help with Social Media Management or SEO visit my website http://www.provenexposure.com you may also email me directly at theapplesurgeon@gmail.com.
  • To my knowledge, these steps will work on any Mac out there as long as you know your Board ID. This should also work fine with Yosemite in all scenarios. The best part is that once you have the upgrade applied with the modified boot efi, you can then begin upgrading natively from the app store and just replace the boot.efi on the hardrive in the System/Library/CoreServices folder by plugging the HDD into another Mac or by using Target Disk Mode.
  • If you have any other questions about the SMC Firmware upgrade or the 64bit EFI Bootloader process feel free to post in the Low End Mac Facebook group, and I will answer. You can also email me at the email above.
  • If you are interested in having this operation done for you, and a “Ready-to-Boot” hard drive sent to you please contact me at the email above. Yosemite is also now 100% possible, and stable!

A Bit of Mac Pro Humor

Keywords: #2006macpro #2007macpro

Short link: http://goo.gl/LjZcmp

Somewhere Beyond The Stars Mac Os Download

searchword: macproefiupdate