ReleaseEngineering/PuppetAgain/Base Images: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 12: Line 12:


The same script supports both i386 and x86_64 ISAs; the determining factor is the kernel used to run the installer.
The same script supports both i386 and x86_64 ISAs; the determining factor is the kernel used to run the installer.
= Mac OS X 10.9 - Mavericks =
Reproducing with VMWare Fusion
* Download OS X Mavericks from the app store, but do not install it
* Using disk utility, create a new, 8GB DMG file partitioned as a CD/DVD
* Launch Terminal to show hidden files and relaunch the Finder using this defaults command string:
    defaults write com.apple.Finder AppleShowAllFiles TRUE;\killall Finder;\say Files Revealed
* Go to the /Applications/ folder to locate the “Install OS X 10.9 Developer Preview.app” file
* Right-click and choose “Show Package Contents”, then open “Contents” and open “SharedSupport”
* Double-click to mount “InstallESD.dmg”
* Open the mounted ‘OS X Install ESD’ image, and right-click “BaseSystem.dmg” choosing “Open” to mount the image (BaseSystem.dmg is invisible by default, thus why invisible files must be made visible in the earlier step)
* Go back to Disk Utility, then select “BaseSystem.dmg” from the sidebar and then click the “Restore” tab
* With “Source” set to “BaseSystem.dmg”, set “Destination” to the volume in the empty DMG by dragging the Untitled Volume in the blang DMG, then click “Restore” to begin – confirm that contents of the drive will be erased
* When finished, go to Finder and navigate within the newly created USB drive or dmg image to System > Installation > and delete the file (alias) located here named “Packages” – keep this window open
* Go back to the ‘OS X Install ESD’ mounted drive, and drag & drop the “Packages” folder into the /System/Installation/ directory you just deleted the Packages alias from, let this large folder copy
* Once that Packages folder is finished copying to the drive, unmount everything.
* Set up a new VM to boot from DVD, and point the DVD drive to your new image
* Follow the install steps until it begins installing and reboots.  You may have to shut down, remove the DVD, and re-start.
* Accept the defeault language and keyboard, skip logging with an Apple ID, and agree
* Create a new user named 'Administrator' with the kickstart password
** uncheck "Require password to unlock screen", "Set time zone..", and "Send Diagnostics.."
* Accept the default (Cupertino) timezone
* Don't register the system
* Wait a while, and you'll end up in the Finder
* Open System Preferences -> Sharing
** Enable:
*** Screen Sharing
*** Remote Login
* Open System Preferences -> Enery Saver
** Move Computer sleep slider to Never
** Move Disply sleep slider to Never
** Disable:
*** put hard disks to sleep when possible
*** Allow power button to put computer to sleep (doesn't seem to be present, at least in Fusion)
** Enable:
*** Wake for network access
* Shut down
* ..and capture
Capturing from VMWare Fusion
* Shut down the VM
* Duplicate the VM's .vmdk in Finder
* Add a new, existing hard disk to the VM, pointing it at the duplicate
* Boot the VM
* Fire up Disk Utility within the VM
* Click on the second "Mac OS X" hard drive
* File -> New -> Image from "Mac OS X"


= Mac OS X 10.8 (12A269) - Mountain Lion =
= Mac OS X 10.8 (12A269) - Mountain Lion =
canmove, Confirmed users
1,394

edits

Navigation menu