Not sure what I'm doing wrong here. The first error that appears says
"Could not find disk for /private/tmp/idmg.sGwB/idmg_mp.2Z4M/Macintosh HD" but how can I fix that?
D25HR0LQDHJW:instadmg tackittj$ sudo ./instadmg.bash
Password:
16:55:45 ###### InstaDMG build initiated ######
InstaDMG version 1.6rc1 (svn revision: 459)
Host OS: Mac OS X 10.8.2
Host Hardware: iMac12,2
Output file name: 13-03-04.dmg
Output disk name: InstaDMG
16:55:45 ###### Finding main MacOS X installer disk ######
Found primary OS installer disk: /Users/tackittj/macenterprise/instadmg/InstallerFiles/BaseOS/InstallESD.dmg
16:55:45 ###### Looking for a Cached Image ######
Mounting the shadow file (/private/tmp/idmg.sGwB/7833712B-8BD3-435F-8D76-844634860A5C.shadowfile) onto the cached image (./Caches/BaseImageCache/9930C00F.dmg)
Recovery Partition Found
2013-03-04 16:55:48.093 defaults[26307:707]
The domain/default pair of (/private/tmp/idmg.sGwB/idmg_mp.2Z4M/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductVersion) does not exist
2013-03-04 16:55:48.102 defaults[26309:707]
The domain/default pair of (/private/tmp/idmg.sGwB/idmg_mp.2Z4M/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductVersion) does not exist
2013-03-04 16:55:48.112 defaults[26311:707]
The domain/default pair of (/private/tmp/idmg.sGwB/idmg_mp.2Z4M/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductBuildVersion) does not exist
2013-03-04 16:55:48.121 defaults[26312:707]
The domain/default pair of (/private/tmp/idmg.sGwB/idmg_mp.2Z4M/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductName) does not exist
./instadmg.bash: line 675: [: 8: unary operator expected
Target OS: ()
WARNING: Chroot jails only work with 10.5, so disabling that functionality
WARNING: Installer daemon-jailing does not currently work with 10.7, disabling that functionality as well
16:55:48 ###### Beginning Update Installs from ./InstallerFiles/BaseUpdates ######
16:55:48 ###### Beginning Update Installs from ./InstallerFiles/CustomPKG ######
16:55:48 ###### Correcting some generic installer errors ######
Correcting symlinks that point off the disk
Closing programs that have opened files on the disk
Deleting Extensions.mkext cache file
Deleting cache files created during installations
16:55:58 ###### Creating the deployment DMG and scanning for ASR ######
Rename the deployment volume: InstaDMG
Could not find disk for /private/tmp/idmg.sGwB/idmg_mp.2Z4M/Macintosh HD
Create a read-only image
cp: /private/tmp/idmg.sGwB/idmg_mp.2Z4M/Macintosh HD/private/var/log/InstaDMG_package.log: No such file or directory
The image did not eject cleanly, so I will force it
###### Failed to unmount the Target image image from /private/tmp/idmg.sGwB/idmg_mp.2Z4M/Macintosh HD, unable to continue ######
hdiutil: convert failed - File exists
Scanning image for ASR: ./OutputFiles/13-03-04.dmg
ASR image scan complete
16:55:58 ###### InstaDMG Complete ######
16:55:58 ###### Cleaning up ######
Ejecting images
Deleting scratch DMG
D25HR0LQDHJW:instadmg tackittj$ ls -la ./OutputFiles/
total 0
drwxr-xr-x 3 tackittj admin 102 Mar 4 10:59 .
drwxr-xr-x 12 tackittj admin 408 Mar 4 11:01 ..
drwxr-xr-x 9 tackittj admin 306 Mar 4 10:59 .svn
D25HR0LQDHJW:instadmg tackittj$