Pre-staging FIM client in system image

Hi,
We are beginning to implement FIM 2010 R2 SP1 in our environment.
I want to add the client install to our standard image - is there anything I should be aware of?
I notice that one of the reg keys that is installed contains a GUID. Should I delete this before sealing the image with sysprep?
HKLM\Software\Microsoft\Forefront Identity Manager\2010\GUID

Anybody out there who can help?

Similar Messages

  • Pre Staging + WDS + different images with unattended installation.

    Hi,
    I´ve been reading posts for 2 hours but still could not find the right solution...
    1 WDS Server and 3 different unattended images and Computer Name pre staging. That is what i need.
    I`ll be a bit more explicit. So, we have 1 WDS where have to deploy different images for different countries. That means that at least we would like to have 3 different computer names and if possible with number increasing (sorry for my "Shakespearean"
    English :) ) ... for example: USA01, USA02, GE01, GE02 and IT01, IT02, etc...
    If i configure the name on the WDS the name works fine, but obviously i would have to change that every time. If i change it in the xml file, i don´t know which variables to use to increase the computer name every time we install a new computer and finally,
    to make it funnier, i would love to have them pre staged. Is that possible ?
    So at the end i would like to have each new computer in a folder in the domain with the right increased computer name and different computer for each country where we an office have.
    Should the same variables work for WSIM as they work in WDS ?  the tipical example %03# does not work.
    Thanks in advance!
    Carles.

    Dimitri, you ROCK. I forgot about this set of directions, which work perfectly and simply for doing upgrading from Oracle XE database.
    Thanks for the help, I added you as a link on my APEX blog.
    Cheers
    Jason
    http://apexwonder.blogspot.com/

  • System image utility fails "Unknown error has occurred"

    Hi,
    I can create disk images from 10.8.3 clients but when i'm putting them through system utility on the 10.8 server it fails after hours of running.
    The log is set to debug and shows the image creates upto 83% then jumps to 100% and later shows unknown errors and failed to create image from restore souce.
    I've created several disk images and saved them to different locations on the server as the source and final image.
    Below i've put in the debug log. Someone please help!!
    Workflow Started (2012-01-02 13:56:58 +0000)
    OS X Server 10.8.3 (12D78), System Image Utility 10.8.3 (624)
    Starting action: Define Image Source (1.4)
    Finished running action: Define Image Source
    Starting action: Create Image (1.7.2)
    Starting image creation process...
    Create NetRestore Image
    Initiating NetRestore from installed volume.
    progressPrefix="_progress"
    ++ progressPrefix=_progress
    scriptsDebugKey="DEBUG"
    ++ scriptsDebugKey=DEBUG
    imageIsUDIFKey="1"
    ++ imageIsUDIFKey=1
    imageFormatKey="UDZO"
    ++ imageFormatKey=UDZO
    mountPoint=""
    ++ mountPoint=
    ownershipInfoKey="501:20"
    ++ ownershipInfoKey=501:20
    blockCopyDeviceKey="0"
    ++ blockCopyDeviceKey=0
    dmgTarget="NetInstall"
    ++ dmgTarget=NetInstall
    potentialRecoveryDevice="disk3s3"
    ++ potentialRecoveryDevice=disk3s3
    asrSource="ASRInstall.pkg"
    ++ asrSource=ASRInstall.pkg
    destPath="/Volumes/Macintosh HD/Library/NetBoot/NetBootSP0/NetRestore of Macintosh 10-8_2.nbi"
    ++ destPath='/Volumes/Macintosh HD/Library/NetBoot/NetBootSP0/NetRestore of Macintosh 10-8_2.nbi'
    skipReorderingKey="0"
    ++ skipReorderingKey=0
    sourceVol="/Volumes/Macintosh HD 1"
    ++ sourceVol='/Volumes/Macintosh HD 1'
    postInstallHelperKey="1"
    ++ postInstallHelperKey=1
    . "${1}/createCommon.sh"
    + . /tmp/niutemp.YPRmigsL/createCommon.sh
    # createCommon.sh
    # Common functionality for the Image creation process.
    # sourced in by the various SIU scripts
    # Copyright © 2007-2012 Apple Inc. All rights reserved.
    # Using dscl, create a user account
    AddLocalUser()
    # $1 volume whose local node database to modify
    # $2 long name
    # $3 short name
    # $4 isAdminUser key
    # $5 password data
    # $6 password hint
    # $7 user picture path
    # $8 Language string
    local databasePath="/Local/Default/Users/${3}"
    local targetVol="${1}"
    # Find a free UID between 501 and 599
    for ((i=501; i<600; i++)); do
    output=`/usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -search /Local/Default/Users UniqueID $i`
    # If there is already an account dscl returns it, so we're looking for an empty return value.
    if [ "$output" == "" ]; then
    break
    fi
    done
    # Create the user record
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -create $databasePath
    if [ $? != 0 ]; then
    echo "Failed to create '${databasePath}'."
    return 1
    fi
    # Add long name
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append $databasePath RealName "${2}"
    if [ $? != 0 ]; then
    echo "Failed to set the RealName."
    return 1
    fi
    # Set up the users group information
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append $databasePath PrimaryGroupID 20
    if [ $? != 0 ]; then
    echo "Failed to set the PrimaryGroupID."
    return 1
    fi
    # Add some additional stuff if the user is an admin
    if [ "${4}" == 1 ]; then
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append "/Local/Default/Groups/admin" GroupMembership "${3}"
    if [ $? != 0 ]; then
    echo "Failed to add the user to the admin group."
    return 1
    fi
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append "/Local/Default/Groups/_appserveradm" GroupMembership "${3}"
    if [ $? != 0 ]; then
    echo "Failed to add the user to the _appserveradm group."
    return 1
    fi
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append "/Local/Default/Groups/_appserverusr" GroupMembership "${3}"
    if [ $? != 0 ]; then
    echo "Failed to add the user to the _appserverusr group."
    return 1
    fi
    fi
    # Add UniqueID
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append $databasePath UniqueID ${i}
    if [ $? != 0 ]; then
    echo "Failed to set the UniqueID."
    return 1
    fi
    # Add Home Directory entry
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append $databasePath NFSHomeDirectory /Users/${3}
    if [ $? != 0 ]; then
    echo "Failed to set the NFSHomeDirectory."
    fi
    if [ "${6}" != "" ]; then
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append $databasePath AuthenticationHint "${6}"
    if [ $? != 0 ]; then
    echo "Failed to set the AuthenticationHint."
    return 1
    fi
    fi
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append $databasePath picture "${7}"
    if [ $? != 0 ]; then
    echo "Failed to set the picture."
    return 1
    fi
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -passwd $databasePath "${5}"
    if [ $? != 0 ]; then
    echo "Failed to set the passwd."
    return 1
    fi
    # Add shell
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append $databasePath UserShell "/bin/bash"
    if [ $? != 0 ]; then
    echo "Failed to set the UserShell."
    return 1
    fi
    # Create Home directory
    if [ -e "/System/Library/User Template/${8}.lproj/" ]; then
    /usr/bin/ditto "/System/Library/User Template/${8}.lproj/" "${targetVol}/Users/${3}"
    else
    /usr/bin/ditto "/System/Library/User Template/English.lproj/" "${targetVol}/Users/${3}"
    fi
    if [ $? != 0 ]; then
    echo "Failed to copy the User Template."
    return 1
    fi
    /usr/sbin/chown -R $i:$i "${targetVol}/Users/${3}"
    if [ $? != 0 ]; then
    echo "Failed to set ownership on the User folder."
    return 1
    fi
    # Copies a list of files (full paths contained in the file at $1) from source to the path specified in $2
    CopyEntriesFromFileToPath()
    local theFile="$1"
    local theDest="$2"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    opt="-v"
    fi
    while read FILE
    do
    if [ -e "${FILE}" ]; then
    local leafName=`basename "${FILE}"`
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Copying ${FILE}."
    fi
    /usr/bin/ditto $opt "${FILE}" "${theDest}/${leafName}" || return 1
    fi
    done < "${theFile}"
    return 0
    # Copies a list of packages (full path, destination pairs contained in the file at $1) from source to .../System/Installation/Packages/
    CopyPackagesWithDestinationsFromFile()
    local theFile="$1"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    opt="-v"
    fi
    while read FILE
    do
    if [ -e "${FILE}" ]; then
    local leafName=`basename "${FILE}"`
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Copying ${FILE}."
    fi
    read SUB_PATH
    /usr/bin/ditto $opt "${FILE}" "${mountPoint}/Packages/${SUB_PATH}${leafName}" || return 1
    fi
    done < "${theFile}"
    return 0
    # Create an installer package in ${1} wrapping the supplied script ${2}
    CreateInstallPackageForScript()
    local tempDir="$1"
    local scriptPath="$2"
    local scriptName=`basename "${scriptPath}"`
    local entryDir=`pwd`
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Create installer for script ${scriptName}"
    opt="-v"
    fi
    # shouldn't exist on entry...
    if [ -e "${tempDir}/emptyDir" ]; then
    /bin/rm -rf "${tempDir}/emptyDir"
    fi
    # make some directories to work in
    /bin/mkdir $opt -p "${tempDir}/${scriptName}.pkg/Contents/Resources" || return 1
    /bin/mkdir $opt "${tempDir}/emptyDir" || return 1
    # Create Archive.pax.gz
    cd "${tempDir}/emptyDir"
    /bin/pax -w -x cpio -f "${tempDir}/${scriptName}.pkg/Contents/Archive.pax" .
    /usr/bin/gzip "${tempDir}/${scriptName}.pkg/Contents/Archive.pax"
    cd "${entryDir}"
    # Create the Archive.bom file
    /usr/bin/mkbom "${tempDir}/emptyDir/" "${tempDir}/${scriptName}.pkg/Contents/Archive.bom" || return 1
    # Create the Info.plist
    /bin/cat > "${tempDir}/${scriptName}.pkg/Contents/Info.plist" << END
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>CFBundleIdentifier</key>
    <string>com.apple.SystemImageUtility.${scriptName}</string>
    <key>CFBundleShortVersionString</key>
    <string>1</string>
    <key>IFMajorVersion</key>
    <integer>1</integer>
    <key>IFMinorVersion</key>
    <integer>0</integer>
    <key>IFPkgFlagDefaultLocation</key>
    <string>/tmp</string>
    <key>IFPkgFlagInstallFat</key>
    <false/>
    <key>IFPkgFlagIsRequired</key>
    <false/>
    <key>IFPkgFormatVersion</key>
    <real>0.10000000149011612</real>
    </dict>
    </plist>
    END
    echo "pkmkrpkg1" > "${tempDir}/${scriptName}.pkg/Contents/PkgInfo"
    echo "major: 1\nminor: 0" > "${tempDir}/${scriptName}.pkg/Contents/Resources/package_version"
    # Copy the script
    /bin/cp "$scriptPath" "${tempDir}/${scriptName}.pkg/Contents/Resources/postflight"
    # clean up
    /bin/rm -r "${tempDir}/emptyDir"
    return 0
    # Validate or create the requested directory
    CreateOrValidatePath()
    local targetDir="$1"
    if [ ! -d "${targetDir}" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Creating working path at ${targetDir}"
    fi
    /bin/mkdir -p "${targetDir}" || return 1
    fi
    # If any exist, apply any user accounts
    CreateUserAccounts()
    # $1 volume whose local node database to modify
    local count="${#userFullName[*]}"
    local targetVol="${1}"
    if [ $count -gt 0 ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Adding $count user account(s) to the image"
    fi
    for ((index=0; index<$count; index++)); do
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Adding user ${userFullName[$index]}"
    fi
    #lay down user here
    AddLocalUser "${targetVol}" "${userFullName[$index]}" "${userUnixName[$index]}" "${userIsAdmin[$index]}" "${userPassword[$index]}" "${userPassHint[$index]}" "${userImagePath[$index]}" "${userLanguage[$index]}"
    if [ $? != 0 ]; then
    echo "Failed to create the User '${userUnixName[$index]}'."
    return 1
    fi
    #suppress the Apple ID request
    DisableAppleIDRequestForUser "${targetVol}" "${userUnixName[$index]}"
    done
    # "touch"
    /usr/bin/touch "${targetVol}/private/var/db/.AppleSetupDone"
    /usr/bin/touch "${targetVol}/Library/Receipts/.SetupRegComplete"
    fi
    # retry the hdiutil detach until we either time out or it succeeds
    retry_hdiutil_detach()
    local mount_point="${1}"
    local tries=0
    local forceAt=0
    local limit=24
    local opt=""
    forceAt=$(($limit - 1))
    while [ $tries -lt $limit ]; do
    tries=$(( tries + 1 ))
    /bin/sleep 5
    echo "Attempting to detach the disk image again..."
    /usr/bin/hdiutil detach "${mount_point}" $opt
    if [ $? -ne 0 ]; then
    # Dump a list of any still open files on the mountPoint
    if [ "${scriptsDebugKey}" == "DEBUG" ]; then
    /usr/sbin/lsof +fg "${mount_point}"
    fi
    if [ $tries -eq $forceAt ]; then
    echo "Failed to detach disk image at '${mount_point}' normally, adding -force."
    opt="-force"
    fi
    if [ $tries -eq $limit ]; then
    echo "Failed to detach disk image at '${mount_point}'."
    exit 1
    fi
    else
    tries=$limit
    fi
    done
    # Create the dyld shared cache files
    DetachAndRemoveMount()
    local theMount="${1}"
    local mountLoc=`mount | grep "${theMount}"`
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Detaching disk image"
    # Dump a list of any still open files on the mountPoint
    if [ "${scriptsDebugKey}" == "DEBUG" ]; then
    /usr/sbin/lsof +fg "${theMount}"
    fi
    fi
    # Finally detach the mount (if it's actually mounted) and dispose the mountPoint directory
    if [ "${mountLoc}" != "" ]; then
    /usr/bin/hdiutil detach "${theMount}" || retry_hdiutil_detach "${theMount}" || return 1
    fi
    /bin/rmdir "${theMount}" || return 1
    return 0
    # Turn off the Apple ID request that happens on first boot after installing the OS
    DisableAppleIDRequestForUser()
    local targetUserLib="${1}/Users/${2}/Library"
    # Only do this if the file doesn't exist
    if [ ! -e "${targetUserLib}/Preferences/com.apple.SetupAssistant.plist" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Disabling Apple ID request for user '${2}'"
    fi
    /usr/libexec/PlistBuddy -c "Add :DidSeeCloudSetup bool 1" "${targetUserLib}/Preferences/com.apple.SetupAssistant.plist" > /dev/null 2>&1
    /usr/libexec/PlistBuddy -c "Add :LastSeenCloudProductVersion string 10.8" "${targetUserLib}/Preferences/com.apple.SetupAssistant.plist" > /dev/null 2>&1
    fi
    return 0
    # If the pieces exist, enable remote access for the shell image
    EnableRemoteAccess()
    local srcVol="${1}"
    local opt=""
    if [ -e "${srcVol}/usr/lib/pam/pam_serialnumber.so.2" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Enabling shell image remote access support"
    opt="-v"
    fi
    # install some things (again which aren't part of BaseSystem) needed for remote ASR installs
    /usr/bin/ditto $opt "${srcVol}/usr/lib/pam/pam_serialnumber.so.2" "${mountPoint}/usr/lib/pam/pam_serialnumber.so.2" || return 1
    if [ -e "${srcVol}/usr/sbin/installer" ]; then
    /usr/bin/ditto $opt "${srcVol}/usr/sbin/installer" "${mountPoint}/usr/sbin/installer" || return 1
    fi
    # copy the sshd config and add our keys to the end of it
    if [ -e "${srcVol}/etc/sshd_config" ]; then
    /bin/cat "${srcVol}/etc/sshd_config" - > "${mountPoint}/etc/sshd_config" << END
    HostKey /private/var/tmp/ssh_host_key
    HostKey /private/var/tmp/ssh_host_rsa_key
    HostKey /private/var/tmp/ssh_host_dsa_key
    END
    fi
    fi
    return 0
    # If it exists, install the sharing names and/or directory binding support to the install image
    HandleNetBootClientHelper()
    local tempDir="${1}"
    local targetVol="${2}"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    opt="-v"
    fi
    if [ -e  "${tempDir}/bindingNames.plist" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Installing Directory Service binding information"
    fi
    /usr/bin/ditto $opt "${tempDir}/bindingNames.plist" "${targetVol}/etc/bindingNames.plist" || return 1
    /usr/sbin/chown root:wheel "${targetVol}/etc/bindingNames.plist"
    /bin/chmod 644 "${targetVol}/etc/bindingNames.plist"
    fi
    if [ -e  "${tempDir}/sharingNames.plist" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Installing Sharing Names support"
    fi
    /usr/bin/ditto $opt "${tempDir}/sharingNames.plist" "${targetVol}/etc/sharingNames.plist" || return 1
    /usr/sbin/chown root:wheel "${targetVol}/etc/sharingNames.plist"
    /bin/chmod 644 "${targetVol}/etc/sharingNames.plist"
    fi
    if [ -e  "${tempDir}/NetBootClientHelper" ]; then
    /usr/bin/ditto $opt "${tempDir}/NetBootClientHelper" "${targetVol}/usr/sbin/NetBootClientHelper" || return 1
    /usr/sbin/chown root:wheel "${targetVol}/usr/sbin/NetBootClientHelper"
    /bin/chmod 555 "${targetVol}/usr/sbin/NetBootClientHelper"
    /usr/bin/ditto $opt "${tempDir}/com.apple.NetBootClientHelper.plist" "${targetVol}/System/Library/LaunchDaemons/com.apple.NetBootClientHelper.plist" || return 1
    /usr/sbin/chown root:wheel "${targetVol}/System/Library/LaunchDaemons/com.apple.NetBootClientHelper.plist"
    /bin/chmod 644 "${targetVol}/System/Library/LaunchDaemons/com.apple.NetBootClientHelper.plist"
    # finally, make sure it isn't disabled...
    /usr/libexec/PlistBuddy -c "Delete :com.apple.NetBootClientHelper" "${targetVol}/var/db/launchd.db/com.apple.launchd/overrides.plist" > /dev/null 2>&1
    fi
    return 0
    # If any exist, install configuration profiles to the install image
    InstallConfigurationProfiles()
    local tempDir="${1}"
    local targetVol="${2}"
    local profilesDir="${targetVol}/var/db/ConfigurationProfiles"
    if [ -e  "${tempDir}/configProfiles.txt" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Installing Configuration Profiles"
    fi
    /bin/mkdir -p "${profilesDir}/Setup" || return 1
    # Make sure the perms are correct
    /usr/sbin/chown root:wheel "${profilesDir}"
    /bin/chmod 755 "${profilesDir}"
    /usr/sbin/chown root:wheel "${profilesDir}/Setup"
    /bin/chmod 755 "${profilesDir}/Setup"
    /usr/bin/touch "${profilesDir}/.profilesAreInstalled"
    CopyEntriesFromFileToPath "${tempDir}/configProfiles.txt" "${profilesDir}/Setup" || return 1
    # Enable MCX debugging
    if [ 1 == 1 ]; then
    if [ -e  "${targetVol}/Library/Preferences/com.apple.MCXDebug.plist" ]; then
    /usr/libexec/PlistBuddy -c "Delete :debugOutput" "${targetVol}/Library/Preferences/com.apple.MCXDebug.plist" > /dev/null 2>&1
    /usr/libexec/PlistBuddy -c "Delete :collateLogs" "${targetVol}/Library/Preferences/com.apple.MCXDebug.plist" > /dev/null 2>&1
    fi
    /usr/libexec/PlistBuddy -c "Add :debugOutput string -2" "${targetVol}/Library/Preferences/com.apple.MCXDebug.plist" > /dev/null 2>&1
    /usr/libexec/PlistBuddy -c "Add :collateLogs string 1" "${targetVol}/Library/Preferences/com.apple.MCXDebug.plist" > /dev/null 2>&1
    fi
    fi
    # Converts a list of scripts (full paths contained in the file at $1) into packages in $3
    InstallScriptsFromFile()
    local tempDir="${1}"
    local theFile="${2}"
    local targetDir="${3}"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Converting scripts into install packages"
    opt="-v"
    fi
    while read FILE
    do
    if [ -e "${FILE}" ]; then
    # make an installer package out of the script
    CreateInstallPackageForScript "$tempDir" "${FILE}" || return 1
    # copy the resulting package to the Packages directory
    local leafName=`basename "${FILE}"`
    /usr/bin/ditto $opt "${tempDir}/${leafName}.pkg" "${targetDir}/${leafName}.pkg" || return 1
    # clean up
    /bin/rm -r "${tempDir}/${leafName}.pkg"
    fi
    done < "${theFile}"
    return 0
    # Prepare the source by deleting stuff we don't want to copy if sourcing a volume
    PostFlightDestination()
    local tempDir="${1}"
    local destDir="${2}"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Performing post install cleanup"
    opt="-v"
    fi
    # delete the DS indices to force reindexing...
    if [ -e "${mountPoint}/var/db/dslocal/indices/Default/index" ]; then
    /bin/rm $opt "${mountPoint}/var/db/dslocal/indices/Default/index"
    fi
    # detach the disk and remove the mount folder
    DetachAndRemoveMount "${mountPoint}"
    if [ $? != 0 ]; then
    echo "Failed to detach and clean up the mount at '${mountPoint}'."
    return 1
    fi
    echo "Correcting permissions. ${ownershipInfoKey} $destDir"
    /usr/sbin/chown -R "${ownershipInfoKey}" "$destDir"
    # Prepare the source by deleting stuff we don't want to copy if sourcing a volume
    PreCleanSource()
    local srcVol="$1"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    opt="-v"
    fi
    if [ -e "$srcVol/private/var/vm/swapfile*" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Removing swapfiles on $1"
    fi
    /bin/rm $opt "$srcVol/private/var/vm/swapfile*"
    fi
    if [ -e "$srcVol/private/var/vm/sleepimage" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Removing sleepimage on $1"
    fi
    /bin/rm $opt "$srcVol/private/var/vm/sleepimage"
    fi
    if [ -d "$srcVol/private/tmp" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Cleaning out /private/tmp on $1"
    fi
    /bin/rm -r $opt "$srcVol/private/tmp/*" > /dev/null 2>&1
    fi
    if [ -d "$srcVol/private/var/tmp" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Cleaning out /private/var/tmp on $1"
    fi
    /bin/rm -r $opt "$srcVol/private/var/tmp/*" > /dev/null 2>&1
    fi
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Cleaning out devices and volumes on $1"
    fi
    if [ -d "$srcVol/Volumes" ]; then
    /bin/rm -r $opt "$srcVol/Volumes/*" > /dev/null 2>&1
    fi
    if [ -d "$srcVol/dev" ]; then
    /bin/rm $opt "$srcVol/dev/*" > /dev/null 2>&1
    fi
    if [ -d "$srcVol/private/var/run" ]; then
    /bin/rm -r $opt "$srcVol/private/var/run/*" > /dev/null 2>&1
    fi
    # Copy kernel and build the kext cache on the boot image
    PrepareKernelAndKextCache()
    local srcDir="$1"
    local destDir="$2"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Preparing the kernel and kext cache for the boot image"
    opt="-v"
    fi
    # Insure the kext cache on our source volume (the boot shell) is up to date
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Updating kext cache on source volume"
    fi
    /usr/sbin/kextcache -update-volume "${srcDir}" || return 1
    # Copy the i386 and, if it exists, the x86_64 architecture
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Installing the kext cache to the boot image"
    fi
    # make sure this doesn't exist
    if [ -e "${destDir}/i386" ]; then
    /bin/rm -rf "${destDir}/i386"
    fi
    # Install kextcaches to the nbi folder
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Creating a kernelcache for the boot shell"
    fi
    /bin/mkdir -p $opt "${destDir}/i386/x86_64" || return 1
    /usr/sbin/kextcache -arch x86_64 -L -N -S -z -K "${srcDir}/mach_kernel" -c "${destDir}/i386/x86_64/kernelcache" "${srcDir}/System/Library/Extensions" || return 1

    I am seeing a very similar output trying to make a netrestore image of a 10.8.4 Macbook Air on a 10.8.4 Mac Mini running OSX Server.  Gets to 84% and then shows the -1 progress and then just hangs until I cancel it (I haven't tried leaving it over night but left it that way for hours).
    Did you ever figure out what was going on or have a workaround to create an image?
    Thanks!

  • System Image Utility broken?

    I imported my 10.5 workflow into the new System Image Utility and created a NetRestore (and NetInstall to test) image of a fresh 10.6 installation. Workflow is like this:
    1. define image source
    2. automatic installation (delete harddrive "Macintosh HD", language "German")
    3. Apply systemconfiguration (host specific settings after installation)
    4. Create image (type netrestore)
    Image builds fine but the restore process stops after a while. Thats the rror log:
    Sep 3 06:41:43 localhost Unknown[89]: Launching the Installer using /etc/minstallconfig.xml file with language German.
    Sep 3 06:42:07 localhost OSInstaller[90]: Folder Manager is being asked to create a folder (cach) while running as uid 0
    Sep 3 06:42:07 localhost configd[66]: subnetroute_ifindex: can't get interface name
    Sep 3 06:42:08 localhost OSInstaller[90]: Mac OS X Installer application started
    Sep 3 06:42:08 localhost OSInstaller[90]: 1 display(s) found.
    Sep 3 06:42:08 localhost OSInstaller[90]: Display[1] is using OpenGL acceleration.
    Sep 3 06:42:08 localhost OSInstaller[90]: @(#)PROGRAM:Install PROJECT:Install-572
    Sep 3 06:42:08 localhost OSInstaller[90]: @(#)PROGRAM:Mac OS X Installer PROJECT:OSInstaller-255
    Sep 3 06:42:08 localhost OSInstaller[90]: Hardware: MacBookPro5,4 @ 2.53 GHz (x 2), 4096 MB RAM
    Sep 3 06:42:08 localhost OSInstaller[90]: Running OS Build: Mac OS X 10.6 (10A432)
    Sep 3 06:42:08 localhost OSInstaller[90]: Env: DYLDNO_FIXPREBINDING=1
    Sep 3 06:42:08 localhost OSInstaller[90]: Env: PATH=/usr/bin:/bin:/usr/sbin:/sbin
    Sep 3 06:42:08 localhost OSInstaller[90]: Env: PWD=/
    Sep 3 06:42:08 localhost OSInstaller[90]: Env: SHLVL=1
    Sep 3 06:42:08 localhost OSInstaller[90]: Env: _=/System/Installation/CDIS/Mac OS X Installer.app/Contents/MacOS/Mac OS X Installer
    Sep 3 06:42:09 localhost OSInstaller[90]: Automated Install: Found requested target at /Volumes/Macintosh HD.
    Sep 3 06:42:10 localhost OSInstaller[90]: Allowing machine sleep.
    Sep 3 06:42:10 localhost OSInstaller[90]: Preventing machine sleep.
    Sep 3 06:42:10 localhost OSInstaller[90]: InstallerStatusNotifications plugin loaded
    Sep 3 06:42:10 localhost OSInstaller[90]: =============================================================================== =
    Sep 3 06:42:10 localhost OSInstaller[90]: Choices selected for installation:
    Sep 3 06:42:10 localhost OSInstaller[90]: Installieren: "Apple Software Restore Image"
    Sep 3 06:42:10 localhost OSInstaller[90]: ASRInstall.pkg : com.apple.server.ASRPackage : 1.0.0.4380000.0
    Sep 3 06:42:10 localhost OSInstaller[90]: =============================================================================== =
    Sep 3 06:42:10 localhost OSInstaller[90]: It took 0.00 seconds to summarize the package selections.
    Sep 3 06:42:10 localhost OSInstaller[90]: Memory statistics for 'Installation' pane:
    Sep 3 06:42:10 localhost OSInstaller[90]: Physical Memory Allocation: 492 MB wired, 257 MB trapped, 71 MB active, 40 MB inactive, 3236 MB free, 3347 MB usable, 4096 MB total
    Sep 3 06:42:10 localhost OSInstaller[90]: Remote Install Assistant found at 1024:(null)
    Sep 3 06:42:10 localhost OSInstaller[90]: Memory statistics for 'Mac OS X Installation' pane:
    Sep 3 06:42:10 localhost OSInstaller[90]: Physical Memory Allocation: 495 MB wired, 257 MB trapped, 72 MB active, 40 MB inactive, 3232 MB free, 3344 MB usable, 4096 MB total
    Sep 3 06:42:11 localhost OSInstaller[90]: -[IFPKGDerivedDocument sortedPackageLocations]: result = (\n "file://localhost"\n)
    Sep 3 06:42:11 localhost runner[133]: Administrator authorization granted.
    Sep 3 06:42:11 localhost OSInstaller[90]: PK will install package file://localhost/System/Installation/Packages/ASRInstall.pkg (0 b)
    Sep 3 06:42:11 localhost OSInstaller[90]: Total install size including padding: 1073741824 b
    Sep 3 06:42:11 localhost OSInstaller[90]: Starting installation:
    Sep 3 06:42:11 localhost OSInstaller[90]: Calculating expected install size requirements
    Sep 3 06:42:11 localhost Unknown[91]: 2009-09-03 08:42:11.562 Mac OS X Installer[90:a303] Looking for system packages
    Sep 3 06:42:11 localhost Unknown[91]: 2009-09-03 08:42:11.775 Mac OS X Installer[90:a303] Finding system files...
    Sep 3 06:42:15 localhost Unknown[91]: 2009-09-03 08:42:15.198 Mac OS X Installer[90:a303] Writing system path cache.
    Sep 3 06:42:47 localhost OSInstaller[90]: Initial free size : 223.91 GB
    Sep 3 06:42:47 localhost OSInstaller[90]: Expected system size : 9.49 GB
    Sep 3 06:42:47 localhost OSInstaller[90]: * No package reference found for com.apple.server.ASRPackage -- 1.0.0.4380000.0
    Sep 3 06:42:47 localhost OSInstaller[90]: Reserving 1073741824 for extraction
    Sep 3 06:42:47 localhost OSInstaller[90]: Reserving 0 for download
    Sep 3 06:42:47 localhost OSInstaller[90]: Performing volume consistency check on 'Macintosh HD'.
    Sep 3 06:42:59 localhost OSInstaller[90]: Checking Volume
    Sep 3 06:42:59 localhost OSInstaller[90]: HFS+ Volume (Journaled) überprüfen.
    Sep 3 06:42:59 localhost OSInstaller[90]: Zusatzdatei für Dateiaufbau wird überprüft.
    Sep 3 06:42:59 localhost OSInstaller[90]: Katalog wird überprüft.
    Sep 3 06:43:07 localhost OSInstaller[90]: Multi-Link-Dateien werden überprüft.
    Sep 3 06:43:07 localhost OSInstaller[90]: Kataloghierarchie wird überprüft.
    Sep 3 06:43:25 localhost OSInstaller[90]: Datei für erweiterte Attribute wird überprüft.
    Sep 3 06:43:31 localhost OSInstaller[90]: Volume-Bitmap wird überprüft.
    Sep 3 06:43:31 localhost OSInstaller[90]: Informationen des Volumes werden überprüft.
    Sep 3 06:43:31 localhost OSInstaller[90]: Das Volume „Macintosh HD“ ist anscheinend in Ordnung.
    Sep 3 06:43:32 localhost OSInstaller[90]: Reparatur des Volumes abgeschlossen.
    Sep 3 06:43:32 localhost OSInstaller[90]: Boot-Support-Partitionen nach Bedarf für das Volume aktualisieren.
    Sep 3 06:43:32 localhost OSInstaller[90]: Volume passed consistency checks.
    Sep 3 06:43:32 localhost OSInstaller[90]: Copying/Downloading selected packages locally
    Sep 3 06:43:32 localhost OSInstaller[90]: Creating mutable product on /Volumes/Macintosh HD/Mac OS X Install Data
    Sep 3 06:43:32 localhost OSInstaller[90]: Using packages from product at /Volumes/Macintosh HD/Mac OS X Install Data
    Sep 3 06:43:32 localhost OSInstaller[90]: Linked to PackageKit-65
    Sep 3 06:43:32 localhost OSInstaller[90]: Remote package size (0) : available size (223909355520)
    Sep 3 06:43:32 localhost OSInstaller[90]: Copying remote packages (0) to mutable product.
    Sep 3 06:43:32 localhost OSInstaller[90]: Preparing previous system for upgrade
    Sep 3 06:43:32 localhost OSInstaller[90]: Did not move file from: /Volumes/Macintosh HD/Desktop DF to: /Volumes/Macintosh HD/Recovered Items/Desktop DF\nReason: Die Datei „Desktop DF“ existiert nicht.
    Sep 3 06:43:32 localhost OSInstaller[90]: Did not move file from: /Volumes/Macintosh HD/.com.apple.timemachine.supported to: /Volumes/Macintosh HD/Recovered Items/.com.apple.timemachine.supported\nReason: Die Datei „.com.apple.timemachine.supported“ existiert nicht.
    Sep 3 06:43:32 localhost OSInstaller[90]: Did not move file from: /Volumes/Macintosh HD/Previous Systems to: /Volumes/Macintosh HD/Recovered Items/Previous Systems\nReason: Die Datei „Previous Systems“ existiert nicht.
    Sep 3 06:43:32 localhost OSInstaller[90]: Did not move file from: /Volumes/Macintosh HD/.Archived_Directories^M to: /Volumes/Macintosh HD/Recovered Items/.Archived_Directories^M\nReason: Die Datei „.Archived_Directories^M“ existiert nicht.
    Sep 3 06:43:32 localhost OSInstaller[90]: Did not move file from: /Volumes/Macintosh HD/Desktop DB to: /Volumes/Macintosh HD/Recovered Items/Desktop DB\nReason: Die Datei „Desktop DB“ existiert nicht.
    Sep 3 06:43:32 localhost OSInstaller[90]: Did not move file from: /Volumes/Macintosh HD/Previous System to: /Volumes/Macintosh HD/Recovered Items/Previous System\nReason: Die Datei „Previous System“ existiert nicht.
    Sep 3 06:43:32 localhost OSInstaller[90]: Did not move file from: /Volumes/Macintosh HD/.TemporaryItems to: /Volumes/Macintosh HD/Recovered Items/.TemporaryItems\nReason: Die Datei „.TemporaryItems“ existiert nicht.
    Sep 3 06:43:32 localhost OSInstaller[90]: Did not move file from: /Volumes/Macintosh HD/mach.sym to: /Volumes/Macintosh HD/Recovered Items/mach.sym\nReason: Die Datei „mach.sym“ existiert nicht.
    Sep 3 06:43:32 localhost OSInstaller[90]: Did not move file from: /Volumes/Macintosh HD/Shutdown Check to: /Volumes/Macintosh HD/Recovered Items/Shutdown Check\nReason: Die Datei „Shutdown Check“ existiert nicht.
    Sep 3 06:43:32 localhost OSInstaller[90]: Did not move file from: /Volumes/Macintosh HD/Trash to: /Volumes/Macintosh HD/Recovered Items/Trash\nReason: Die Datei „Trash“ existiert nicht.
    Sep 3 06:43:32 localhost OSInstaller[90]: Did not move file from: /Volumes/Macintosh HD/cores to: /Volumes/Macintosh HD/Recovered Items/cores\nReason: Die Datei „cores“ existiert nicht.
    Sep 3 06:43:32 localhost OSInstaller[90]: Did not move file from: /Volumes/Macintosh HD/Backups.backupdb to: /Volumes/Macintosh HD/Recovered Items/Backups.backupdb\nReason: Die Datei „Backups.backupdb“ existiert nicht.
    Sep 3 06:43:32 localhost OSInstaller[90]: Did not move file from: /Volumes/Macintosh HD/Network Trash Folder to: /Volumes/Macintosh HD/Recovered Items/Network Trash Folder\nReason: Die Datei „Network Trash Folder“ existiert nicht.
    Sep 3 06:43:32 localhost OSInstaller[90]: Did not move file from: /Volumes/Macintosh HD/AppleShare PDS to: /Volumes/Macintosh HD/Recovered Items/AppleShare PDS\nReason: Die Datei „AppleShare PDS“ existiert nicht.
    Sep 3 06:43:32 localhost OSInstaller[90]: Did not move file from: /Volumes/Macintosh HD/TheVolumeSettingsFolder to: /Volumes/Macintosh HD/Recovered Items/TheVolumeSettingsFolder\nReason: Die Datei „TheVolumeSettingsFolder“ existiert nicht.
    Sep 3 06:43:32 localhost OSInstaller[90]: Did not move file from: /Volumes/Macintosh HD/Temporary Items to: /Volumes/Macintosh HD/Recovered Items/Temporary Items\nReason: Die Datei „Temporary Items“ existiert nicht.
    Sep 3 06:43:32 localhost OSInstaller[90]: Did not move file from: /Volumes/Macintosh HD/automount to: /Volumes/Macintosh HD/Recovered Items/automount\nReason: Die Datei „automount“ existiert nicht.
    Sep 3 06:43:32 localhost OSInstaller[90]: Did not move file from: /Volumes/Macintosh HD/Cleanup At Startup to: /Volumes/Macintosh HD/Recovered Items/Cleanup At Startup\nReason: Die Datei „Cleanup At Startup“ existiert nicht.
    Sep 3 06:43:32 localhost OSInstaller[90]: Did not move file from: /Volumes/Macintosh HD/Previous Systems.localized to: /Volumes/Macintosh HD/Recovered Items/Previous Systems.localized\nReason: Die Datei „Previous Systems.localized“ existiert nicht.
    Sep 3 06:43:32 localhost OSInstaller[90]: Did not move file from: /Volumes/Macintosh HD/TheFindByContentFolder to: /Volumes/Macintosh HD/Recovered Items/TheFindByContentFolder\nReason: Die Datei „TheFindByContentFolder“ existiert nicht.
    Sep 3 06:43:32 localhost OSInstaller[90]: Did not move file from: /Volumes/Macintosh HD/AppleInternal to: /Volumes/Macintosh HD/Recovered Items/AppleInternal\nReason: Die Datei „AppleInternal“ existiert nicht.
    Sep 3 06:43:32 localhost OSInstaller[90]: Did not move file from: /Volumes/Macintosh HD/VM Storage to: /Volumes/Macintosh HD/Recovered Items/VM Storage\nReason: Die Datei „VM Storage“ existiert nicht.
    Sep 3 06:43:32 localhost OSInstaller[90]: Configuring volume "Macintosh HD"
    Sep 3 06:43:32 localhost OSInstaller[90]: Preparing disk for Netbooted OS Install.
    Sep 3 06:43:32 localhost OSInstaller[90]: Volume disk0s2 mounted at /Volumes/Macintosh HD is ready
    Sep 3 06:43:32 localhost OSInstaller[90]: Preparing disk for local booted OS Install.
    Sep 3 06:43:32 localhost OSInstaller[90]: Physical memory statistics immediately before turning on virtual memory backing store:
    Sep 3 06:43:32 localhost OSInstaller[90]: Physical Memory Allocation: 1047 MB wired, 259 MB trapped, 75 MB active, 7 MB inactive, 2708 MB free, 2790 MB usable, 4096 MB total
    Sep 3 06:43:32 localhost OSInstaller[90]: Activated virtual memory backing store at mount point '/Volumes/Macintosh HD'
    Sep 3 06:43:32 localhost OSInstaller[90]: Preparing disk for local booted install.
    Sep 3 06:43:32 localhost OSInstaller[90]: Creating installation log on volume "Macintosh HD"
    Sep 3 06:43:32 localhost OSInstaller[90]: Reaping previous system
    Sep 3 06:45:15 localhost OSInstaller[90]: System Reaper: free space before: 223.91 GB
    Sep 3 06:45:15 localhost OSInstaller[90]: System Reaper: free space after : 232.92 GB
    Sep 3 06:45:15 localhost OSInstaller[90]: System Reaper: free space diff : 9.01 GB
    Sep 3 06:45:15 localhost OSInstaller[90]: System Reaper: Postflight ok (231.95 GB remaining)
    Sep 3 06:45:15 localhost OSInstaller[90]: IFPKInstallElement (1 packages)
    Sep 3 06:45:15 localhost OSInstaller[90]: PackageKit: ----- Begin install -----
    Sep 3 06:45:15 localhost OSInstaller[90]: PackageKit: request=PKInstallRequest <1 packages, destination=/Volumes/Macintosh HD>
    Sep 3 06:45:15 localhost OSInstaller[90]: PackageKit: packages=(\n "PKJaguarPackage <file://localhost/System/Installation/Packages/ASRInstall.pkg>"\n)
    Sep 3 06:45:16 localhost OSInstaller[90]: PackageKit: updatedyld_sharedcache -root /Volumes/Macintosh HD/.OSInstallSandbox-tmp/Root
    Sep 3 06:45:16 localhost OSInstaller[90]: updatedyld_sharedcache failed: /Volumes/Macintosh HD/.OSInstallSandbox-tmp/Root/var/db/dyld/sharedregionroots/ does not exist, errno=2
    Sep 3 06:45:16 localhost OSInstaller[90]: updatedyld_sharedcache exited with 1
    Sep 3 06:45:16 localhost OSInstaller[90]: PackageKit: Shoving /Volumes/Macintosh HD/.OSInstallSandbox-tmp/Root (0 items) to /Volumes/Macintosh HD
    Sep 3 06:45:16 localhost OSInstaller[90]: PackageKit: kextcache -update-volume /Volumes/Macintosh HD
    Sep 3 06:45:16 localhost OSInstaller[90]: kextcache: /Volumes/Macintosh HD: no /usr/standalone/bootcaches.plist; nothing to do.
    Sep 3 06:45:16 localhost OSInstaller[90]: Installed "Apple Software Restore Image" ()
    Sep 3 06:45:16 localhost OSInstaller[90]: PackageKit: ----- End install -----
    Sep 3 06:45:16 localhost OSInstaller[90]: Writing installation cookies
    Sep 3 06:45:16 localhost OSInstaller[90]: Could not write configuration file /Volumes/Macintosh HD/Library/Preferences/.GlobalPreferences.plist
    Sep 3 06:45:16 localhost OSInstaller[90]: Unable to write InstallType cookie file for Setup Assistant to pick up.
    Sep 3 06:45:16 localhost OSInstaller[90]: Finalize disk "Macintosh HD" for OS Installation
    Sep 3 06:45:16 localhost OSInstaller[90]: Finalizing Disk for OS Install
    Sep 3 06:45:17 localhost OSInstaller[90]: Unable to set 'Macintosh HD' as boot disk: The bless tool was unable to set the current boot disk
    Sep 3 06:45:17 localhost OSInstaller[90]: Install failed: Das Installationsprogramm konnte den Computer nicht vom Volume „Macintosh HD“ starten. Versuchen Sie, das Volume mithilfe des Dienstprogramms „Startvolume“ auszuwählen.
    Sep 3 06:45:18 localhost OSInstaller[90]: Allowing machine sleep.
    Sep 3 06:45:18 localhost OSInstaller[90]: Memory statistics for 'Installation ist fehlgeschlagen' pane:
    Sep 3 06:45:18 localhost OSInstaller[90]: Physical Memory Allocation: 562 MB wired, 259 MB trapped, 283 MB active, 27 MB inactive, 2965 MB free, 3275 MB usable, 4096 MB total
    Any ideas to solve this? The netboot server is still on 10.5 - does this matter?
    Thanks, Kai

    I'm having a similar problem on a 10.5.8 server.
    I've successfully created a NetInstall image on a 10.6.1 Mac using SIU (image created from a mini in Target Disk mode). I created a new Workflow for an unattended install that formats the client drive. Also, this was the only way to get the NetInstall option (since was grayed out on the initial screen at launch).
    My logs on the client machine look like yours. It gets about 485 Mb into the process, and fails. A NetRestore image yields the same results.
    My next step is to create a 10.6.1 NetBoot image and see if that works. I have Snow Leopard Server on order, but I'd like to do some imaging tests before we upgrade our server.

  • System Image Utility Workflows

    Hello. I am confused about Workflows in System Image Utility. I would like to take my install DVD of 10.5, the new 10.5.8 combo update, iLife 09 & iWork 09 and put them all together into a NetInsall image. To do this I opened System Image Utility and clicked on Customize. I then put in the automator actions.
    Define Image Source
    Add Packages
    Add User (add an admin account)
    System Configuration (name the computer)
    Create Image
    I ended up with an image that contained iLife, iWork & the 10.5.8 update but it wouldn't install any of them. It did not create a user and did not name the computer.
    Is what I want to do even possible with System Image Utility? How is it done?
    Thanks,
    -- jmca

    First, you need to determine what type of image you wish to end up with. The collection of actions you list appears to indicate that you are trying to make both an install and a restore image.
    If you're trying to make a NetInstall image (one that boots into the installer), the "Add User" action won't do anything. If you're trying to create a restore image (one that boots into an installer that does an ASR of a configured volume), you're going to need to look into "InstaDMG". The Leopard System Image Utility doesn't support that workflow.
    In the second scenario, the alternative would be to install a volume with all of those applications and then create a NetInstall from that volume.
    In the first scenario, you may be running into the pre-install scripts on those packages which are keeping them from being executed.

  • System Image Recovery on Win 7 - Spectre XT 13

    There is no issue of creating a system image onto my seagate external Freeagent goflex hard disk. However, an issue is encountered during the restoring process in which the USB3.0 port turned out to be unavailable during pre-boot.
    The solution I discovered is to plug the hard disk onto the USB2.0 port. I hope this will save someone several hours of trying to figure out where goes wrong.

    Yes, that is a known issue that affects several recovery softwares including HP's
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02906094&cc=us&dlc=en&lc=en

  • System Image Utility - Takes FOREVER

    13 hours ago, I asked System Image Utility 10.5 to create a NetInstall image of a 75GB Leopard partition. It's only 40% done. It's definately working on it (ie the percentages increase) but this seems ridiculous.
    Source System: iMac 20" Intel Core Duo 2. In Target Disk Mode connected to a MacBook Pro running leopard client with Server Tools downloaded from Apple's site.
    Both systems, Leopard retail.
    Image is being saved to an attached USB drive (attached to the Macbook Pro).
    Any ideas why this is so slow?
    Thanks
    Woody

    Looking at my System log, it appears the image creation took 4 hours 13 minutes (I started it as I left work). More interesting errors:
    Nov 1 18:19:45 host-46-132 System Image Utility[7963]: Assistant - Selected source:"NetBoot of Macintosh HD 1".
    Nov 1 18:20:32 host-46-132 System Image Utility[7973]: Assistant - Selected source:"NetBoot of Macintosh HD 1".
    Nov 1 18:20:32 host-46-132 System Image Utility[7973]: The action “Enable or Disable Tracks” could not be loaded because QuickTime Pro is required.
    Nov 1 18:20:32 host-46-132 System Image Utility[7973]: The action “Export Movies” could not be loaded because QuickTime Pro is required.
    Nov 1 18:20:32 host-46-132 System Image Utility[7973]: The action “Hint Movies” could not be loaded because QuickTime Pro is required.
    Nov 1 18:20:32 host-46-132 System Image Utility[7973]: The action “New Audio Capture” could not be loaded because QuickTime Pro is required.
    Nov 1 18:20:32 host-46-132 System Image Utility[7973]: The action “New Video Capture” could not be loaded because QuickTime Pro is required.
    Nov 1 18:20:32 host-46-132 System Image Utility[7973]: The action “Pause Capture” could not be loaded because QuickTime Pro is required.
    Nov 1 18:20:32 host-46-132 System Image Utility[7973]: The action “Play Movies” could not be loaded because QuickTime Pro is required.
    Nov 1 18:20:32 host-46-132 System Image Utility[7973]: The action “Start Capture” could not be loaded because QuickTime Pro is required.
    Nov 1 18:20:32 host-46-132 System Image Utility[7973]: The action “Stop Capture” could not be loaded because QuickTime Pro is required.
    Nov 1 18:20:32 host-46-132 System Image Utility[7973]: The action “Show Growl Notification” could not be loaded because the file “/Library/PreferencePanes/Growl.prefPane” was not found.
    Nov 1 18:20:33 host-46-132 System Image Utility[7973]: Could not find image named 'splitterHandle'.
    Nov 1 18:21:55 host-46-132 System Image Utility[7973]: Workflow Started
    Nov 1 18:21:55 host-46-132 System Image Utility[7973]: Starting action: Define Image Source
    Nov 1 18:21:55 host-46-132 System Image Utility[7973]: Finished running action: Define Image Source
    Nov 1 18:21:55 host-46-132 System Image Utility[7973]: Starting action: Create Image
    Nov 1 18:22:00 host-46-132 KernelEventAgent[52]: tid 00000000 received unknown event (256)
    Nov 1 18:22:00 host-46-132 authexec[7985]: executing /Applications/Server/System Image Utility.app/Contents/Library/Automator/Create Image.action/Contents/Resources/bridge
    Nov 1 18:22:00 host-46-132 bridge[7985]: Bridge is launching external task.
    Nov 1 18:22:00 host-46-132 [0x0-0x2d52d5].com.apple.server.SystemImageUtility[7973]: 2007-11-01 18:22:00.668 bridge[7985:913] Bridge is launching external task.
    Nov 1 18:22:01 host-46-132 hdiejectd[7993]: running
    Nov 1 18:22:02 host-46-132 com.apple.KernelEventAgent[52]: KernelEventAgent: sysctl_queryfs: No such file or directory
    Nov 1 18:22:02 host-46-132 kernel[0]: hfs: Initializing the journal (joffset 0x76000 sz 0x800000)...
    Nov 1 18:22:19 host-46-132 diskarbitrationd[59]: DiskManagementTool [7982]:50079 not responding.
    Nov 1 18:22:28 host-46-132 com.apple.launchd[399] (0x10f130.Locum[8005]): Exited: Terminated
    Nov 1 18:22:35 host-46-132 diskarbitrationd[59]: DiskManagementTool [7982]:50783 not responding.
    Nov 1 18:22:35 host-46-132 hdiejectd[8006]: running
    Nov 1 18:22:35 host-46-132 KernelEventAgent[52]: tid 00000000 received unknown event (256)
    Nov 1 18:22:36 host-46-132 kernel[0]: hfs: disabling journaling for mount @ 0x98df000
    Nov 1 21:40:40 host-46-132 kernel[0]: hfs: Initializing the journal (joffset 0x75 sz 0x800000)...
    Nov 1 21:40:42 host-46-132 notifyd[12]: EV_DELETE failed for file watcher 65
    Nov 1 21:40:43 host-46-132 kextd[10]: couldn't respond to filesystem change notification!
    Nov 1 21:40:44: --- last message repeated 1 time ---
    Nov 1 21:40:44 host-46-132 hdiejectd[8278]: running
    Nov 1 21:57:53 host-46-132 hdiejectd[8313]: running
    Nov 1 21:57:53 host-46-132 KernelEventAgent[52]: tid 00000000 received unknown event (12)
    Nov 1 22:23:49 host-46-132 hdiejectd[8359]: running
    Nov 1 22:23:52 host-46-132 com.apple.launchd[1] (com.apple.hdiejectd): Throttling respawn: Will start in 7 seconds
    Nov 1 22:24:03 host-46-132 hdiejectd[8373]: running
    Nov 1 22:24:07 host-46-132 fseventsd[56]: log dir: /Users/ben/Documents/Generic 10.5 (beta)/mnt/.fseventsd getting new uuid: 275BD72D-8EED-4DC8-8A05-D7035EA72B5D
    Nov 1 22:32:44 host-46-132 bridge[7985]: Bridge finished
    Nov 1 22:32:44 host-46-132 [0x0-0x2d52d5].com.apple.server.SystemImageUtility[7973]: 2007-11-01 22:32:44.644 bridge[7985:913] Bridge finished
    Nov 1 22:32:45 host-46-132 System Image Utility[7973]: Failed to create image from script createNetRestore.sh.
    Nov 1 22:32:46 host-46-132 KernelEventAgent[52]: tid 00000000 received unknown event (256)
    Nov 1 22:33:23 host-46-132 fseventsd[56]: Events arrived for /Users/ben/Documents/Generic 10.5 (beta)/mnt after an unmount request! Re-initializing.

  • System Image Utility & Netboot

    I am using System Image Utility to create a disk image in 10.4.7 Server, I have been doing it since 10:30, it is now nearly 11:30 and the disk image is not yet compelete, although the disk image shows up in the Server Admin application as a viable option to select. The main bulk of the disk image has been done:
    NBImageInfo.plist
    booter
    Macintosh HD.dmg
    mnt_blk
    NIUReservedSystem.dmg
    mach.macosx
    mnt
    i386
    mach.macosx
    As you can see everything should be working, but the disk image for some reason is not done yet... and yet no sizes, or data has changed on any bits of the file for over 40 minutes now. The size doesn't change, but the time last changed or edited has changed to the time I now see on the computer clock...
    Any idea of what is going on?
    Also, after I have applied NetBoot in the server, should I be able netboot the surrounding network node without any issues?
    When I attempt it, and netboot is on in the server end, and on the client I press N to netboot, nothing happens, except that it attempts to netboot but can't find the server... why would this happen? I have full administrative rights to the network....

    As this is really an OS X Server and Imaging question, you'll probably have better luck in that forum:
    http://discussions.apple.com/forum.jspa?forumID=717

  • Trouble Creating System Image in Windows 8.1

    My system: Satellite P55-A5312 with 750GB HDD, Windows 8.1 (upgraded from pre-installed 8.0), BIOS fw 1.90 (just updated)
    Tried to create System Image: Start ==> Search ==> File History ==> System Image Backup ( in lower left corner of the screen).  Successfully finds the 1TB backup drive (newly formatted at NTFS) attached via USB.  Message says 204GB of space will be needed to store the image. (Note: 1TB is almost 5 times what is needed).
    Start Backup ==> "The Backup Failed", "There is not enough disk space to create the volume shadow copy on the storage location, etc.).
    I found the following thread in this forum: http://forums.toshiba.com/t5/System-Recovery-and-R​ecovery/System-Image-Fails-on-Windows-8-1-Pro/m-p/​...
    and am curious what the following recommendation means: "To work around this problem, increase the size of the OEM partition on the backup drive."
    What OEM partition?  My backup drive has a single NTFS partition consuming the entire capacity of the HDD.  What am I doing wrong?
    Solved!
    Go to Solution.

    After increasing the size of 1 partition, the System Image utility completed without error.  To fully confirm, I need to try an image restore.
    The long answer is noteworthy (refer to the attached).  I used 3 different methods to query partition size and usage. 
    1. Disk Management shows that 4 of the 5 partiions are 100% free space.  What I don't understand is how the System Image utility of Windows 8.1 understands the partition sizes/usage but Disk Management does not.
    2.  Macrium Reflect gives what appears to be an accurate representation of the partitions and their size/usage.  It also includes a (hidden?) partition not shown in Disk Management, thus 6 instead of 5 partitions.
    3. MiniTool Partition Wizard agrees for the most part with Macrium Reflect with two notable exceptions.  It shows the 128MB partition has zero free space (vs 113.7MB = 89% free space using Macrium Reflect).  This is a BIG difference.  Also, the C partition showed slightly different usage than Macrium Reflect.
    In the end, I used MiniTool Partition Wizard to modify 1 partition only (increase the 350MB partition to 414MB, resulting in a little more than the mandatory 50MB free space).  The System Image operation then completed without error.
    What baffles me is why 3 different utilities give different results of partition usage (I think they all agree on partition size).  I would have never thought that determining partition usage was akin to rocket science, but perhaps it is...
    Attachments:
    PartitionInfo.pdf ‏241 KB

  • Pre-configured MI Client

    Hi MI guys,
    is it possible to create a pre-configured MI client for deployment?
    Question 1:
    I want to set the right servers and some other configuration for the standard MI client so that the users don't have to enter something during installation?
    Question 2:
    What about using a deployment software like enteo Netinstall for installing a basic MI client? My thoughts are, I install and configure a MI client without synchronizing and this will be deployed via Netinstall on the client device (without installation routine of MI client).
    Thank you and regards,
    Florian

    Hi Florian,
      The short answer to both of those questions is "yes".
      In our environment we used "Wise for Windows" utility to install SAP MI client with required parameters (IP address, SAP system ID, etc.), and then compile new .MSI package with pre-setup parameters.
      And yes, we are able now to install it automatically now for our clients via Script Logic. It uses MSIEXEC on the background with "/quiet" option enabled and because of pre-configured settings, no input from end user is required during install process.
      I think it should work properly with the other deployment tools, as they uses the similar logic.
      Hope this answers your question.
    Best regards,
    Laziz

  • Network Error in Client Full System Restore

    Hi,
    I've been attempting, as a test, to restore a full system backup to a client computer using a boot flash drive. When I attempt to do so, I get a "Unknown Network Error" at the point where the client has attempted to contact the server, been unable
    to and offered the opportunity to enter a name or an IP address. When I enter either one, I immediately get an "Unknown Network Error". There's no error number or other specific identifying informations.
    Details:
    The client computer is a UEFI motherboard PC running Windows 7 Professional. It connects with no difficulty whatsoever on a normal basis to the Windows 2012 R2 Essentials server. It gets backed up every night by the server over the network with no problem.
    When I boot from the Network Client Computer Restore USB key, everything works fine except that it is unable to find network drivers. When given the chance to load missing drivers, I use the "Drivers for Full System Restore (from the full system backup)"
    on another USB key and they are found just fine.
    Then when we get to the point of searching for the server, it appears to look for 30 seconds or so, then a dialog comes up asking whether to search again or if I want to enter a IP or name. Searching again doesn't yield results, and when either an IP or
    the server name is entered, I get the "Unknown Network Error".
    I feel certain there must be some logging that is either available or could be turned on if I knew how. I feel concerned that I would not be able to restore my client computer if something were to happen. Any ideas would be greatly appreciated.
    Jeff

    Hi Justin,
    Thanks for your response. I'm sorry that I didn't see it sooner - I guess I assumed I'd get an email if there was a response...
    Anyway, at the time when the error occurs, the OS is not running. We have just booted via PXE over the network and started the "Full System Restore" Wizard, so it is not possible to "ping" the server. However, the fact that we successfully
    booted via PXEs tells me that basic connectivity exists to the server, because otherwise the PXE boot wouldn't work.
    Thanks for the pointer to the logs - I'll check them.
    What I have done since I last updated was to do a few experiments. I added a Windows 7 boot image and install image with the Windows Distribution Service, so that on PXE boot I'm given 2 options - a Full System Restore and a Software Install.
    I also roped another PC into service, one that is running from BIOS rather than UEFI. On that PC, both the System Restore and Software Install via PXE boot work fine. This tells me the server is at least nominally working, and that the problem is related
    somehow to the specifics of the PC being connected. Could be server setup still, could be something on the PC.
    On the computer with the UEFI, neither Full System Restore nor Software Install works. However, there is at least a clue in the error response from the Windows Setup - I get a lengthy error message that essentially says that \Windows\Boot\EFI\bootmgr.EFI
    is corrupted. I'm not clear whether at this point we are referring to a file extant on the PC or one that is being downloaded that's being claimed to be corrupted.
    This took me down a path in which, to eliminate variables, I changed the boot drive on the UEFI system from MBR to GPT. No joy. Also broke up my mirrored drive and changed the SATA from RAID back to AHCI. Also no joy. But everything I am reading is leading
    me to believe that the problem has to do with the fact that my target PC has a UEFI BIOS. I continue to investigate - and will look through the logs you mention.
    Jeff
    Update 8/24/2014
    Made some progress yesterday. I'm now able to use Windows Deployment Service to deploy Windows 7 over the network to the UEFI computer. I had to do two things to get that to work.
    Turn off driver signing in the UEFI bios. That got me past the error screen complaining about a corrupted driver (which I'm pretty sure I don't have). But then it got hung up saying it couldn't find a driver for the network.
    To fix that, I added the driver package to the boot image using the tools in the Windows Deployment Service applet.
    After that, it found the server just fine, allowed me to authenticate, and would have proceeded to install Windows 7 if I hadn't aborted.
    I then added the exact same driver package to the Full System Restore boot image, but it made absolutely no difference. Exactly the same symptoms as reported previously.
    So, where am I and what do I know?
    I can do both a Remote Windows 7 install and Client Full System Restore using Windows Deployment Services on an X64, BIOS based computer.
    I can do a Remote Windows 7 install to my X64 UEFI based computer.
    When I attempt a Client Full Restore to the X64 UEFI computer, I get all the way to the Full System Restore Wizard, which tells me that it can't find network drivers (even when they've been installed to the boot image). It finds network drivers when provided
    via a USB key, but then when the Wizard looks for the server, it's unable to find it. When a manual option is presented, and I enter the server's IP address, I get an "Unknown Network Error" popup message, and I can't proceed further.
    On the UEFI computer, I've tried all combinations of Compatibility Support Module (CSM) settings, but they make absolutely no difference to the Full System Restore process.
    I've also tried converting the boot disk from MBR to GPT, didn't make any difference.
    I "unmirrored" my mirrored RAID drives and changed the SATA bios from RAID to AHCI. Made no difference.
    So, at this point I'm kind of stuck. I'm out of ideas for things to try for now. I did look at the logs as suggested, but didn't see much of anything relative to WDS. Possibly logging has to get turned on?
    As always, any help or ideas would be much appreciated.
    Jeff

  • System Image over a network

    OS X Leopard Server 10.5.6
    has anyone been able to create an image of a mac over a network. My process is this:
    netboot the source mac
    share the hard drive of the source mac with the xserver. (not the netboot drive)
    open the system image utility, it recognizes the mounted source drive.
    kick it off system image, everything works fine. However, very slow
    i kicked it off yesterday, and noticed it failed sometime lastnight.
    if it fails again, i'll post up the log.
    eventually our xserver will be in a network rack away from our office and i won't have the benefit of firewire to make an image. Is this the correct way of creating an image remotely?
    thanks,
    patrick

    You can download and install the 'System Admin Tools' to any compatible Mac client (not server). Therefore you can use another Mac to create the image on and not the server. Especially if you have a production server that provides services other than NetBoot, this will reduce it's available resources. Create the image from another Mac (with Firewire or other) using System Image Utility.

  • System image utility - can't add source?

    Hello.
    I'm running 10.5.7 server, updated as of July 21 2009. I created an image using disk utility (I put the source laptop in target disk mode). I created the image using disk utility. The image is of a 10.4.11 laptop.
    When I open system image utility (version 10.5.7 build 351), I can't add a source as I think I should be able to. Any ideas? I would be happy to provide further information.
    My goal is to create a netinstall.
    Thank you in advance.

    Hey Tony!
    {quote:}I'm surprised a search of these boards did not reveal anything as this has been asked before many times.{quote}
    Mea Culpa. I did a cursory search, but not a proper search.
    {quote:}SIU won't create an nbi from a .dmg or .img. You have to mount the .dmg so as it appears as a virtual drive on the desktop first. Once you've done that launch SIU and it should see the resulting volume as a valid source.{quote}
    I do have the .dmg mounted on the desktop as a virtual drive (it appears as white disk icon).
    {quote:}The rule of thumb with SIU is to use 10.5 SIU to create nbis for 10.5 client OS and 10.4 SIU to create the same for 10.4 Client OS.{quote}
    Hmmm. So I need to find siu 10.4?
    okies - I will search forums, and report back. Thank you very much for your help

  • System Image Utility not working on Intel Macs?

    I have a client who has the following problem:-
    We are still not able to create a Net Install image of a full system setup.
    Master Clone Mac - Intel iMac 17", 10.4.10, 40Gb partition 17Gb Used.
    System Image Utility v10.4.10 on Another Intel iMac, 10.4.10, over 100 Gb storage for image
    I get loads of errors and the final image is less than 2Gb when created.
    Have just managed to create a 10.4.4 image (system only). But this is far from what we need it to do. Any ideas?

    There is an inherent issue with creating images from 10.4.9 or later... see <http://discussions.apple.com/thread.jspa?threadID=929625&tstart=0>.
    But it sounds as if your client has bigger problems. More information about the errors reported will be needed to offer any real help.

  • System Image Utility Failing Error 2

    I've built my 10.9.4 gold image on a Macbook Pro, created the image with SIU and deployed successfully to the other Macbooks.   When I went to deploy to the iMacs we have I get the error OSX Could not be installed on your computer.  Did some research and found I needed to install the Combo update if I wanted to deploy to multiple hardware, so installed OSXUpdCombo10.9.4  into the gold machine. Now I can no longer import that with System Image Utility.
    System Image log looks like:
    "/Library/NetBoot/NetBootSP0/IMG-OXL-1094-All.nbi/System.dmg"
    created: /Library/NetBoot/NetBootSP0/IMG-OXL-1094-All.nbi/NetInstall.dmg
    ditto: can't get real path for source '/tmp/mnt_bs.aLkzKL2z/System/Library/CoreServices/PlatformSupport.plist'
    Execution of 'createRestoreFromSources.sh' failed. Cleaning up.
    "disk5" unmounted.
    "disk5" ejected.
    Failed to create image from restore source.
    The operation couldn’t be completed. (System Image Utility error 2.)
    Looks like this can happen if the version of Mavericks on the server and client don't match.  So I've installed the combo updater on the server for good measure.  Still getting the same error.
    Server reports it is running 10.9.4 (13E28),client says the same.
    Any idea where to look next?

    Went back through my notes, I read that you should run the 10.6 combo updater before trying to image, and somehow decided that meant 10.9 :/
    Thanks for the info, that makes sense.  I've had to make separate images for each model this round, but I'll add that info to my notes and do it right next time
    Jase

Maybe you are looking for

  • How to construct a formula for this logic.

    Hi, I have a requirement like, i need to derive a column with a calculation. Here is the psedocode, count of occurance (deptno=10)/count (deptno=10) Desired result: If the deptno =10 occurs 3 times in the table then at the fist time the calcuation sh

  • Install Windows7 on Mac Mini without Bootcamp

    I just got a MacMini and wanted to install windows on it without using bootcamp but had no luck. I have been checkout out some hints over the past couple of days but nothing really worked. Prior to this I had never used bootcamp and saw this as an op

  • For-in-loop produces "ORA-06502: PL/SQL: numeric or value error"

    Why i'm getting error "ORA-06502: PL/SQL: numeric or value error" in below code. create table bc (   a number,   b varchar2(10) declare   type t_bc_a is table of bc.a%type;   type t_bc_b is table of bc.b%type;   l_bc_a t_bc_a;   l_bc_b t_bc_b; begin

  • Saving miro transaction  taking more time

    HI Fi gurus, I am getting the following problem : In case of VAT invoice the vendor invoice verification takes 20-25 minutes for bill passing even though it is an single item invoice .(working in production server) Can anybody tell me what could be t

  • How the **** do I reinstall Mail??

    Hi there... I wan't to reinstall Mail and I've inserted my original 10.5 Leopard install-DVD, but when I try to install Mail using "optional installs" it's not possible to check the box next to "Mail" - it's gray and "non-active" I'm loged in as admi