-
Notifications
You must be signed in to change notification settings - Fork 4
Installation and Setup Yosemite
Don't use.
These instructions were tested under VMware Fusion 7.1.1, OS X Mountain Lion 10.10.2
- Start VMWare Fusion . Cmd-N to start a new virtual machine
- Click Continue without disc
- Use operating system or disc image (choose a disc or disc image); click Continue
- Select the Yosemite install disk image (probably InstallESD.dmg); click Continue
- Set Version to closest available match; click Continue
- Click Customize Settings
- Select a save location for the VM
- Hard Disk: 110GB
- Set Processors & Memory:
2 processor cores
4GB - Network Adapter:
select Connect directly to the physical network (Bridged)
Advanced options → Mac Address: click Generate - You'll probably want to create an entry for this machine in your DNS server and add the created MAC address to your DHCP server.
- Fire up the VM
-
You'll be presented with the OS X install screen
-
**Utilities → Disk Utility
-
Choose your language
-
Choose Disk Utility; click Continue
-
Partition into 2 partions, one 60GB, the other the remaining (Partition Map Scheme: GUID Partition Table; Format: Mac OS Extended (Journaled))
-
name the 70GB Persistent
-
name the other one NEWLY_IMAGED (must use this exact string, currently lots of hardcoded dependencies in the scripts)
-
Click Apply; click Partition
-
Disk Utility → Quit Disk utility (don't use Cmd-Q to quit Disk Utility; you'll quit VMware Fusion instead)
- Select Reinstall Mac OS X; Click Continue.
- Splash screen, click Continue.
- Click Agree.
- Click Agree, again.
- Select the Persistent (70GB) partition; click Install (takes ~7-30 minutes).
- Select Country, e.g. United States; click Continue.
- Select keyboard layout, e.g. U.S.; click Continue.
- Select Not Now; click Continue
- Click Enable Location Services if you want, click Continue
- Click Skip; click Skip
- Click Continue; click Agree
- Fill out the Create Your Computer Account
- Full Name: e.g. pivotal
- Account Name: e.g. pivotal
- Password: e.g. loves2dance
- Verify: e.g. loves2dance
- Password Hint: e.g. How do you feel about dancing?
- Click Continue
- Confirm timezone; Click Continue
- Click Skip to Skip registration; click Skip again
- Click Start Using your Mac
- Bring up Finder; eject Mac OS X Install disk
- VMware → Virtual Machine → Update VMware Tools
- Click Install to connect the Tools installer CD
- Click OK to continue anyway
- Double-click Install VMware Tools; go with defaults
- Click Restart to finish installing the software
-
Go to the Virtual Machine → CD/DVD(SCSI) → Connect CD/DVD.
-
System Preferences → Startup Disk → Choose Mac OS X Install ESD
-
Click Restart...; click Restart
-
Bring up Disk Utility
-
Select NEWLY_IMAGED
-
Click Restore
-
Drag-and-drop Persistent to Source:
-
Drag-and-drop NEWLY_IMAGED to Destination:
-
Click Restore
-
Click Erase
-
Disk Utility → Quit Disk Utility
-
Utilities → Terminal to bring up terminal
-
Type diskutil rename /Volumes/Persistent\ 1 NEWLY_IMAGED
-
Click on the Apple in the upper-left-hand corner
-
Click Startup Disk...
-
Select the Persistent partition
-
Click Restart...
-
When it reboots, log in
-
Bring up Terminal
-
Mount the DeployStudio server's hard drive. Check Remember this password in my keychain
-
Type DESTFILE=10.10.2-$(date -u +%Y-%m-%d-%H:%M).i386.hfs.dmg
-
(note: the following steps are perhaps overly cautious; shouldn't need to unmount/fsck/mount-read-only)
-
Type sudo diskutil unmount /Volumes/NEWLY_IMAGED
-
Type sudo fsck_hfs -r $(diskutil info NEWLY_IMAGED | grep Node | awk '{ print $3 }')
-
Type diskutil mount readOnly $(diskutil info NEWLY_IMAGED | grep Node | awk '{ print $3 }')
-
Type sudo hdiutil create -srcfolder /Volumes/NEWLY_IMAGED /Volumes/DeployStudio/Masters/HFS/$DESTFILE
-
Type sudo asr imagescan --allowfragmentedcatalog --source /Volumes/DeployStudio/Masters/HFS/$DESTFILE
-
Type cd /Volumes/DeployStudio/Masters/HFS/; ln -sf $DESTFILE ML_mostly_pristine.i386.hfs.dmg
- ssh into the DeployStudio server as the deploy user: e.g. ssh deploy@deploystudio
- cd into the Masters directory, e.g. cd /Shared\ Items/DeployStudio/Masters/HFS/
- Create a symbolic link to the pristine image: ln -s ML_mostly_pristine.i386.hfs.dmg ML_HEAD.i386.hfs.dmg
- Create 10.8 Recovery HD Creation.pkg using Der Flounder's recipe.
- Put the resulting .pkg into DeployStudio's packages directory (e.g. /Shared Items/DeployStudio/Packages/ )
- Open DeployStudio Admin
- Enter the Server address, User name, and Password; click Connect
- Select Workflows from the left hand navbar
- Click the + button at the bottom (not the one that's grayed-out)
- Enter the information:
- Title, e.g. 1 - ML HEAD
- Description, e.g. Mountain Lion (OS X 10.8) HEAD
- Click the + next to "Drop Tasks Here"
- Drag-and-drop Partition over to the tasks
- Configure the Partition:
- Target Volume: First Disk Available
- Checked: Automate
- Drag-and-drop Restore over to the tasks, after "Partition"
- Configure the Restore:
- Target volume: First disk available
- Image: HFS, use the dropdown to select ML_HEAD.i386.hfs.dmg
(you might need to restart the DeployStudio daemon to pick up the ML_HEAD dmg) - Checked: Automate
- Drag-and-drop Package Install over to the tasks, after "Restore"
- Target volume: Previous task target
- Package: 10.8 Recovery HD Creation.pkg
- Checked: Automate
- Drag-and-drop Software update over to the tasks, after "Package Install"
- Click Save