![jamf mac create recovery partition jamf mac create recovery partition](https://support.twocanoes.com/hc/article_attachments/115010512126/CasperAdmin.png)
- #JAMF MAC CREATE RECOVERY PARTITION INSTALL#
- #JAMF MAC CREATE RECOVERY PARTITION UPDATE#
- #JAMF MAC CREATE RECOVERY PARTITION UPGRADE#
- #JAMF MAC CREATE RECOVERY PARTITION FULL#
which is way, way better than my previous methods and i've further automated the process by writing a script and setting variables for the location of the core files that you'll need (an OSX Installer, the Lion Recovery Tools upgrade and greg's pkg template. Once set up, the thing takes maybe a minute to run. Thus far - no contest: greg's tool is - by far - the easiest to use in my travels: Just as an FYI to those looking to do the same, here's a list of the sites i researched/tested, not knowing about greg's approach: That being said, i'm looking forward to trying out neagle's tool and reporting back. however, regardless of what approach you use, PLEASE NOTE: you can't add this pkg into the main build - it need to be installed on first boot or it won't work. i've begun deploying the pkg that i generate using this approach in casper imaging.
#JAMF MAC CREATE RECOVERY PARTITION UPDATE#
That approach requires, admittedly, a few more step's than greg's approach:ġ) getting lion's recovery update tool here: Ģ) getting a script from joel bruner here: Ĥ) downloading the package software iceberg: ĥ) transferring files from the created recovery DMG into icebergĦ) writing a one line post-install shell script to make it nice-nice.Īnd it works. because of that, this time i took my cue from the also venerable rich trouton: Neagle: always improving everything, sheeeeesh! i didn't even know you'd worked your magic on this task, dude. MergeName=`diskutil list | grep $mergePart | cut -c 34-57`Įcho "The name of the merge partition is: $mergeName"Įcho "#"Įcho "The Following Recovery Partition(s) has been found:"ĭiskutil eraseVolume HFS+ Blank $recoveryPartĮcho "Now merging the space from $recoveryPart into $mergePart"ĭiskutil mergePartitions HFS+ $mergeName $mergePart $recoveryPartĮcho "Merging is complete. # find the NAME of the merge partition by setting variable # set the variable for the drive partition into which we'd like to mergeĮcho "The partition into which we're merging is: $mergePart" # we know the main partition is one digit LESS on the chain
#JAMF MAC CREATE RECOVERY PARTITION FULL#
# set the variable which contains the FULL drive ID of the recovery partitionĮcho "The recovery partition we're erasing is: $recoveryPart" # isolate the last digit of that partition IDĭevID=`diskutil list | grep Recovery | cut -c 75` # establish the drive pattern for the disk(s) in questionĭevRoot=`diskutil list | grep Recovery | cut -c 69-74` this is ours.Įxec > "/Library/Logs/Getty Installations.log" 2>&1 # must be run as admin or root for exec to work # sets variables to identify it and the parent partition above it # finds the recovery partition installed by Apple I suppose I'll be updating the script over time to make use of an array but, for now: it is what it is.įor the record, I made this tool because I've been testing the deployment of the Recovery partition on it's own and needed an effective way to delete the one I already had on my machine.
#JAMF MAC CREATE RECOVERY PARTITION INSTALL#
If you have multiple drives or multiple partitions and have install instances of OSX 10.7 or 10.8 spread around, this won't work. WARNING: pushing this via policy, ARD, or running it locally only works when there's only one Recovery partition on your HD. And, if you have cause to remove that partition and would like an effortless way to do it, you can use the following script to automate the process one one or more machines.
![jamf mac create recovery partition jamf mac create recovery partition](https://www.remopartitionrecovery.com/images/rm/recover-volumes-drives/volumes-recovery/2-large-select-disk.gif)
![jamf mac create recovery partition jamf mac create recovery partition](https://www.lifewire.com/thmb/2EgEYkuwi4LlxdRatGjWcZzuPL8=/768x0/filters:no_upscale():max_bytes(150000):strip_icc()/RecoverHD-5a6f94d7642dca0036e2105f.jpg)
You're a sysadmin and you know what's best for your Macs. Before anyone starts to throw beer bottles at me because I'm recommending that you should remove your hidden recovery partition, let me be clear: