Creating never booted images – 10.8 – InstaDMG

System_Image_Utility

I’m going to run through the process of creating a never booted image using InstaDMG on Mac OS X 10.8, Once this has been done it will be ready to deploy using Deploystudio.

First, you will need to ensure that you have the Command Line Tools installed, you can download them from the Apple Developer site

You will need to create an account, but you don’t need to sign up for any of the paid programs to gain access to the tools we need

Go here to register

developer.apple.com/programs/register/

Once registered, click on the link below, this will take you to the downloads page, where you can get the Command Line Tools, we are after the Command Line Tools for OS X Mountain Lion

Command Line Tools (OS X Mountain Lion) for Xcode – January 2013

it’s roughly 120MB download, once you have it, install the package and we can get started.

First, open Terminal, then enter the following, this will change to your home directory, create an InstaDMG folder, then move you into the newly created folder

cd ; mkdir InstaDMG ; cd InstaDMG

next you will need to download InstaDMG, you do this by entering the following command into Terminal

svn checkout http://instadmg.googlecode.com/svn/trunk .

this shouldn’t take long, if you already have InstaDMG installed from a while ago, then it will be worth updating it, you can do this by entering the following into Terminal

cd ~/InstaDMG/
svn update

Next, you need to move your copy of the 10.8 InstallESD.dmg file into the InstaDMG installer disc folder

You need to have the Install Mac OS X Mountain Lion app in /Applications, if you don’t then you need to download it from the Mac App Store

When you have it, open Terminal and enter the following

sudo cp /Applications/Install\ OS\ X\ Mountain\ Lion.app/Contents/SharedSupport/InstallESD.dmg ~/InstaDMG/InstallerFiles/InstallerDiscs/

Next you need to make a change to the catalog file (10.8_vanilla.catalog) located at

~/InstaDMG/AddOns/InstaUp2Date/CatalogFiles

At the time of writing this points to an older Java installation file which will cause errors when trying to create the image, so we need to edit this, open Terminal and enter the following

nano ~/InstaDMG/AddOns/InstaUp2Date/CatalogFiles/10.8_vanilla.catalog

delete this line

Java for OS X 2012-006  http://support.apple.com/downloads/DL1572/en_US/JavaForOSX.dmg  sha1:eff777cdc39b4e3336b3477f60e8ad769ded8532

replace with this line

Java for OS X 2013-002 http://support.apple.com/downloads/DL1572/en_US/JavaForOSX2013-002.dmg sha1:47e38cf089a6a7bba9e2b0b387fe09e2b77e10a6

make sure there are tabs rather than spaces between each line, otherwise it will error when trying to build the image

then press CTRL X

then Y

then ENTER

this saves the file and you shouldn’t encounter any problems

next we need to make the image, which is all done in Terminal, so enter the following

cd ~/InstaDMG/AddOns/InstaUp2Date/

sudo ./instaUp2Date.py -p 10.8_vanilla

this took around 30 minutes on a 2012 MacBook Pro, times will vary on different models, but this should give you a rough idea

CUPS – Web Interface disabled

If you’ve been trying to access the CUPS web interface on Mac OS X 10.8 then you may have run into this error message

“The web interface is currently disabled. Run “cupsctl WebInterface=yes” to enable it”

(to access CUPS, Open Safari & type http://localhost:631 in the address bar)

To rectify this, you basically do as it asks

Open Terminal & type the following

cupsctl webinterface=yes

Press Enter and then retry the web interface in Safari and you should now have access to CUPS again

Mountain Lion – Before you upgrade

With the release of Mac OS X expected on July 25th, there are a few things you need to take care of before upgrading.

First of all you must make sure that all the applications you use on a daily basis actually work on 10.8, normally this would be a pain, as you’d have to check all the developers websites for information on updates, but there is a website you can check which should help you in this instance

http://roaringapps.com/apps:table

If the applications that you use will all work on 10.8 then you can move on to the next step

Does my hardware meet the minimum requirements?

you can find out from this page on Apples Website

http://www.apple.com/osx/specs/

If you meet those requirements then the next step would be ensuring that your system is actually ready for the upgrade

First, ensure your Hard Drive is in good health, you can do this with Disk Utility, (located in /Applications/Utilities)

Open that and click on your Hard Drive (not the volume name) and you will see information from the Drive, the bit we are interested in is S.M.A.R.T. Status – make sure this is Verified, if not then you will probably need to invest in a new hard disk.

If it does say Verified then you will need to verify the directory structure of your currently installed OS, you can do this by following the instructions here

http://itsallmacademic.com/video-tutorials/maintenance/verify-disk/

If you get a red message stating that your disk needs repairing then view the following video for how to resolve this.

http://itsallmacademic.com/video-tutorials/maintenance/repair-disk/

Once that is complete and you have a green message stating that your hard drive is OK then you will need to run a Permissions Repair, which you can see how to do at the following page

http://itsallmacademic.com/video-tutorials/maintenance/repair-permissions/

OK, so now that is all done, your system should be fit and healthy, all ready for the new OS, but wait, do you have a backup of your data? if the answer is no then you should take a look at Carbon Copy Cloners knowledgebase article on backing up to a disk image

http://help.bombich.com/kb/dmg-and-remote/backing-up-to-a-disk-image

If you have any 3rd Party Encryption software running then I would disable that before upgrading, I do the same with Filevault, but thats just me being over cautious, although if you are running 10.6 I would recommend disabling it as the filevault program is quite different from 10.6’s and you don’t want to run into any issues with inaccessible data after upgrading.

Now, after all that, you are ready, it’s up to Apple to release the software now, I’ve been using the Developer Preview versions and the recent GM version, and I like it a lot, the integration with iCloud and all of the info that I have on my iPhone/iPad is great, and the ability to mirror my laptops display onto my TV through Airplay (an Apple TV is also required) is great, no more messy cables to be plugged in trailing across the floor.

Check back for more tips on Mountain Lion in the not too distant future.

Mountain Lion won’t install on Parallels

If you’ve run into an issue where you are trying to create a Parallels VM but the installation process is stuck on the grey startup screen with the Apple logo then chances are its down to the VM System Settings
All you need to do to remedy this is shut down the machine (Click the power icon in the bottom left and choose Shut Down)

Once it’s shut down you then click on the cog icon in the bottom right to get to the Config options and set them as follows

On the General tab change the CPUs: to 2

On the Hardware tab, click on the Video option, then increase the Video Memory to 512MB

and thats it

Restart the installation process and you should now find that Mountain Lion installs  as you’d expect