What are&nbsp;you&nbsp;booted&nbsp;from&nbsp;when&nbsp;you&nbsp;perform&nbsp;the&nbsp;partitioning?&nbsp;&nbsp;Tiger&nbsp;or&nbsp;Leopard?<br>The&nbsp;following&nbsp;command&nbsp;is&nbsp;what&nbsp;I&nbsp;typically&nbsp;use.<br>diskutil&nbsp;partitionDisk&nbsp;disk0&nbsp;3&nbsp;HFS+&nbsp;Macintosh\&nbsp;HD&nbsp;40G&nbsp;HFS+&nbsp;Restore&nbsp;20G&nbsp;HFS+&nbsp;Data&nbsp;0b<br>Note&nbsp;that&nbsp;the&nbsp;command&nbsp;above&nbsp;will&nbsp;create&nbsp;a&nbsp;40&nbsp;GB&nbsp;Macintosh&nbsp;HD,&nbsp;a&nbsp;20&nbsp;GB&nbsp;Restore&nbsp;(highly&nbsp;recommended),&nbsp;and&nbsp;the&nbsp;&quot;0b&quot;&nbsp;size&nbsp;notation&nbsp;translates&nbsp;to&nbsp;all&nbsp;available&nbsp;space.&nbsp;&nbsp;Using&nbsp;&quot;0b&quot;&nbsp;allows&nbsp;you&nbsp;to&nbsp;partition&nbsp;any&nbsp;drive&nbsp;without&nbsp;worrying&nbsp;about&nbsp;leaving&nbsp;unused&nbsp;free&nbsp;space&nbsp;on&nbsp;the&nbsp;disk.<br>
I&#39;m&nbsp;not&nbsp;familiar&nbsp;with&nbsp;the&nbsp;single&nbsp;quotes&nbsp;on&nbsp;a&nbsp;volume&nbsp;name.&nbsp;&nbsp;I&#39;ve&nbsp;always&nbsp;just&nbsp;escaped&nbsp;the&nbsp;necessary&nbsp;characters.&nbsp;&nbsp;Here&#39;s&nbsp;the&nbsp;command&nbsp;I&nbsp;would&nbsp;use&nbsp;given&nbsp;the&nbsp;parameters&nbsp;listed&nbsp;in&nbsp;your&nbsp;script...<br><br>/usr/sbin/diskutil&nbsp;partitionDisk&nbsp;disk0&nbsp;2&nbsp;HFS+&nbsp;Macintosh\&nbsp;HD&nbsp;50G&nbsp;HFS+&nbsp;data&nbsp;23G<div>
<br></div><div><br><div class="gmail_quote">On Thu, Nov 6, 2008 at 4:44 PM, Mark Hughes <span dir="ltr">&lt;<a href="mailto:mahughe@kckps.org">mahughe@kckps.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
We are setting up images and netbooting across our network. &nbsp;We have the image part down no problem.<br>
We are wanting to split up the HD into a OS partition and a data partition.<br>
<br>
For some reason the script we are using errors out during the imaging process, however, when<br>
we run it thru target mode to a machine it works perfectly. &nbsp;We are imaging eMacs to <a href="http://10.4.11." target="_blank">10.4.11.</a><br>
<br>
The error from the jss log is as follows:<br>
<br>
Result of running split_part.sh was: Partitioning encountered error Could not unmount disk (-10000) on disk disk0<br>
<br>
The scripts is as follows:<br>
<br>
#!/bin/sh<br>
<br>
#create two partitions, one data and one for the OS<br>
<br>
/usr/sbin/diskutil partitionDisk disk0 2 HFS+ &#39;Macintosh HD&#39; 50G HFS+ data 23G<br>
<br>
echo &#39;done&#39;<br>
<br>
any ideas?<br>
<br>
Thanks in advanced....<br>
<font color="#888888"><br>
<br>
Mark Hughes, Apple Technician<br>
TIS Department, KCKPS USD500<br>
Cell 913-449-7791<br>
<a href="mailto:mahughe@kckps.org">mahughe@kckps.org</a><br>
_______________________________________________<br>
Casper mailing list<br>
<a href="mailto:Casper@list.jamfsoftware.com">Casper@list.jamfsoftware.com</a><br>
<a href="http://list.jamfsoftware.com/mailman/listinfo/casper" target="_blank">http://list.jamfsoftware.com/mailman/listinfo/casper</a><br>
</font></blockquote></div><br></div>