[Casper] Partitioning Macintosh HD during Imaging
Thomas Larkin
tlarki at kckps.org
Thu Nov 6 14:01:57 PST 2008
The weird thing is guys and gals, is that I also have a simple one liner pre image script that uses diskutil to create a single partition on disk0 and name it Macintosh HD, just in case the users changed the volume name.
That script works, I used the same code in this script and it doesn't work while imaging, but if you run it manually, no problem works like a champ. Casper version 6.01
>>> <NATHANIEL.LINDLEY at spps.org> 11/06/08 3:52 PM >>>
I saw this strange problem, too. Check what the disk# is when netbooted vs. firewire. when I netboot the it is disk0 and with firewire it is disk1
check using "diskutil list" in Terminal
-Nathaniel
"Mark Hughes" <mahughe at kckps.org>
Sent by: casper-bounces at list.jamfsoftware.com
11/06/2008 03:35 PM
To
<Casper at list.jamfsoftware.com>
cc
Subject
[Casper] Partitioning Macintosh HD during Imaging
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
_______________________________________________
Casper mailing list
Casper at list.jamfsoftware.com
http://list.jamfsoftware.com/mailman/listinfo/casper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20081106/0a59ae66/attachment.html
More information about the Casper
mailing list