[Casper] Partitioning Macintosh HD during Imaging

Mark Hughes mahughe at kckps.org
Thu Nov 6 13:44:39 PST 2008


We are setting up images and netbooting across our network.  We have the image part down no problem.
We are wanting to split up the HD into a OS partition and a data partition.

For some reason the script we are using errors out during the imaging process, however, when 
we run it thru target mode to a machine it works perfectly.  We are imaging eMacs to 10.4.11.

The error from the jss log is as follows:

Result of running split_part.sh was: Partitioning encountered error Could not unmount disk (-10000) on disk disk0

The scripts is as follows:

#!/bin/sh

#create two partitions, one data and one for the OS

/usr/sbin/diskutil partitionDisk disk0 2 HFS+ 'Macintosh HD' 50G HFS+ data 23G

echo 'done'

any ideas?

Thanks in advanced....


Mark Hughes, Apple Technician
TIS Department, KCKPS USD500
Cell 913-449-7791
mahughe at kckps.org


More information about the Casper mailing list