Java SE 6 on 32-bit Intel machines?
I have a Core Duo iMac, so I lucked out on the SE 6 update. The question is, does anybody know of an alternate JVM that I could use? I need to get SE6 up and running so I don't have to boot into Windows every time I need to get some coding done... Serious Java development is just completely out of the question on OS X Leopard right now, even the "current" J2SE 5.0 is so broken it's not even funny.
To reply to my own question, I found http://landonf.bikemonkey.org/static/soylatte/ in a Slashdot thread, and it seems somewhat promising. People who really need to use Java SE 6 might find this useful.
Anybody have any experience with using alternate JVMs?
Similar Messages
-
Plugin is not working with Mac 10.6 {64 bit intel machine}
Hi,
I have tried to extend the AutomationFilter sample plugin. Earlier there was problem that the plugin name was not showing. Now it is showing, but when I click on it I am getting the following error
"Could not complete the AutomationFilter command because there is not enough memory (RAM)."
I have gone through the documentation which describes the plugin setting for 64 bit mode. And made the following changes in the pipl resource.
Any suggestion for fixing this problem will be greatly appreciated!
ThanksI would like to add the some more to the prb..
when i am building the sample with Base SDK +i386 and debugging the sample from xcode then it's being load and working fine.The reason what i found is while debugging the photoshop is loaded in x32 bit which comes on the splash screen. But when I am directly running the photoshop application then the plugin did not gets loaded also the photoshop splash screen show it is loading in x64 mode.
In all other cases as
Base SDk + x86-64
10.5 /10.6 SDK + x86-64
when I am running the application I am getting error as not enough RAM for executing this command.
What I can do this fix it.
Thanks! -
I am assuming these new Intel machines are still the old 32-bit style. Is this correct? What are we sacrificing for back stepping? I work in a PC environment office with my G5 and it's amazing how much clearer and brigher my monitor (we all have the same one) looks next to the others.
Jim,
As as software engineer who has worked in various application and systems areas and over the era of transition from 16-bit to 32-bit hardware, I can only agree with you that choice of hardware must be dictated by the needs of the use to which it will be put. So clearly for today's desktops (and even more so for laptops), 32-bit hardware is certainly adequate. Whether or not disk speeds are a factor also depends on the application. Obviously, database-intensive applications typically run the mass storage devices ragged. Other applications barely touch the disk once the program and its data are loaded.
Anyway, what I really wanted to point out, though you're probably aware of this already, is that the new iMac (Intel dual-core model) and the MacBook Pro both use faster memory and memory buses than any of their predecessors (with the possible exception of the heavy-duty G4 or G5 desktops--I'm not really familiar with their hardware details).
To give you an idea of a result I found surprising (pleasantly so), a theorem prover I've written in Java (a very CPU- and memory-intensive application) runs much faster (about 50% faster) on the iMac with its dual-core 2 GHz processor(s) than it does on the Linux box with an Intel P4 HyperThreading CPU running at 3 GHz. The reason? The RAM and FSB bus on that Linux box are a lot slower than the ones on the iMac. So even though this application, which currently is principally single-threaded (Java apps can always use a processor core for garbage collection), benefits more from the faster FSB and RAM on the iMac than it is hurt by having a processor running only two thirds the speed of the on in the Linux box.
Randall Schulz
iMac 20" Core Duo; MacBook Pro Mac OS X (10.4.5) -
IS THE SITUATION HOPELESS
I used Target mode to transfer files to a new i7 iMac running Snow Leopard 10.6.8 from an older Dual core Intel machine (EMC 2105) also on 10.6.8. but originally Tiger 10.4. The operation was successful and I ejected the disk icon from the new machine and powered down the old machine. When this was restarted the next day there was a grey screen with flashing Mac symbol alternating with a 'no entry' sign and occasionally a question mark.Keyboard and mouse were unusable so k inserted the original instal disc (No.1 for 10.4. with installer 1.0.4) which came with the machine in 2006 in an attempt to boot from this. The ensuing window said this was not possible and now it cannot be ejected.I have tried everything ! It offers Disk Utility and other options like Terminal but that doesn't work either.I 'repaired disk' and that was pronounced o.k. None of the various keystrokes at start up will work, and the computer will only offer the installer disc continually.The only option would seem to be is to erase the hard drive completely from the disc in the machine.I don't want to do this as there is still material which I need to recover. I think the drive has in some way been corrupted by using it in target mode, and I don't know if there are any other options to try.
Please tell me how to get this disc to eject !Graham Giles wrote:
Have you seen this type of problem before? I think it could be a serious issue for anyone in a similar position.
No; but then, I've not had occasion to use TDM. I've been using firerwire drives for over 10 years, both FW400 and FW800, with no issues except a bit of instability using a B&W G3 machine.
TDM should be safe. Using cautious, manual copying of files from the Target machine to the Host machine should not result in unexpected loss of files or damage to the Target drive's directories. It should behave exactly the same as if it were an external (to the Host) firewire drive.
• I don't suppose there is anything I can do to 'put back' lost items from a separate Time Machine drive which has an up to date backup on it.
There is probably a way to do that - seems to me that's one of the reasons for a Time Machine volume.
On the other hand, if the Time Machine volume is rigidly linked to the now-absent OS on the original drive, there may be no way to effectively access the files in the TM archive.
I know that using a cloned drive would work well in this instance.
I have no experience with Time Machine, so perhaps someone who has will chime in with suggestions.
With the machine in TDM with the other machine, have you tried running Disk Utility to see if you can effect repairs to the drive? -
Java version "1.4.2_14" - For Intel Xeon Processor
Hello
Can some one plese give me link to below java version - I am looking for INTEL system.
java version "1.4.2_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_14-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_14-b05, mixed mode)
Appreciate your help
BasisdudeHi,
you can find it here:
http://java.sun.com/products/archive/j2se/1.4.2_14/index.html
Just choose Download J2SDK with Windows.
Cheers,
Anja -
Problem running Tech Communication suite on 64-bit, Vista machine?
I recently upgraded to Vista 64 bit system. I had problems installing Tech Communciation suite 1.0, which was running fine on 32-bit, XP machine.
With great difficulty, I was finally able to install but now I am having problems in creating pdfs from Framemaker. Has anyone experienced this problem too?
My colleague who is running Tech Suite 1.0 on 64-bit XP machine is having problem opening Robohelp 7 HTML. The RH Software Setup screen appears and asks for serial number of this product. When she enters the serial number, it does not recognize it.
Please help?
Thanks,
ShobaAdobe does not officially support TCS 1 or 2 on the 64 bit platform.
There have been some posts about this so it might be worth searching previous posts.
See www.grainge.org for RoboHelp and Authoring tips -
System Image Utility - universal_boot option only on Intel machines
I'm using System Image Utility on 1.8 GHz PowerPC G5 running Mac OS X Server version 10.5.2. When I try to create a NetBoot image with the standard settings (no customization) and a Mac OS X 10.5 Install DVD, I get the following message:
updatedyld_sharedcache failed: universal_boot option can only be used on intel machines
The rest of the log is below; any help you can provide would be appreciated. Thanks!
Log:
Starting image creation.
Workflow Started (2008-05-16 16:05:27 -0500)
Starting action: Define Image Source
Finished running action: Define Image Source
Starting action: Add User Account
Finished running action: Add User Account
Starting action: Create Image
Starting image creation process...
Create NetBoot Image
created: /Users/[username]/Documents/NetBoot of Mac OS X Install DVD/NetBoot.dmg
installer: Package name is Mac OS X
installer: Installing at base path /tmp/mnt
installer: The install was successful.
updatedyld_sharedcache failed: universal_boot option can only be used on Intel machines
hdiutil: couldn't eject "disk3" - error 49168
"disk3" unmounted.
Script is done.
NetBoot creation failed.
Image creation process finished...
Stopping image creation.
Image creation failed.Here's the contents of the Debug log; I couldn't find where the problem was, but maybe someone can help. (I'm also not sure how to keep the discussion board from translating some of the code to markup). Thanks!
Starting image creation.
Workflow Started (2008-05-19 16:42:42 -0500)
Starting action: Define Image Source
Finished running action: Define Image Source
Starting action: Add User Account
Finished running action: Add User Account
Starting action: Create Image
Starting image creation process...
Create NetBoot Image
progressPrefix="_progress"
++ progressPrefix=_progress
scriptsDebugKey="DEBUG"
++ scriptsDebugKey=DEBUG
imageIsUDIFKey="1"
++ imageIsUDIFKey=1
mountPoint="/tmp/mnt"
++ mountPoint=/tmp/mnt
ownershipInfoKey="1000:20"
++ ownershipInfoKey=1000:20
dmgTarget="NetBoot"
++ dmgTarget=NetBoot
sourceVol="/Volumes/Mac OS X Install DVD"
++ sourceVol='/Volumes/Mac OS X Install DVD'
export CM_BUILD="CM_BUILD"
++ export CM_BUILD=CM_BUILD
++ CM_BUILD=CM_BUILD
userLanguage[0]="English"
++ userLanguage[0]=English
userIsAdmin[0]="1"
++ userIsAdmin[0]=1
userImagePath[0]="/Library/User Pictures/Nature/Cactus.tif"
++ userImagePath[0]='/Library/User Pictures/Nature/Cactus.tif'
export _com_apple_kextd_skiplocks="1"
++ export _com_apple_kextd_skiplocks=1
++ _com_apple_kextd_skiplocks=1
userPassHash[0]="000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000006A29520ED4FE4E8C7DE0930018E9284B1078E0BB4CF77F870000000 000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000"
++ userPassHash[0
]=000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000006A29520ED4FE4E8C7DE0930018E9284B1078E0BB4CF77F870000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000
userFullName[0]="[user full name]"
++ userFullName[0]='[user full name]'
destPath="/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD"
++ destPath='/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD'
userUnixName[0]="[user short name]"
++ userUnixName[0]=[user short name]
. "$1/createCommon.sh"
+ . /tmp/niutemp.mdOQAzsJ/createCommon.sh
# createCommon.sh
# Common functionality for the Image creation process.
# sourced in by the various SIU scripts
# Copyright 2007 Apple Inc. All rights reserved.
# Using dscl, create a user account
AddLocalUser()
# $1 long name
# $2 short name
# $3 isAdminUser key
# $4 password hash
# $5 user picture path
# $6 Language string
local databasePath="/Local/Target/Users/${2}"
# Find a free UID between 501 and 599
for ((i=501; i<600; i++)); do
output=`/usr/bi
n/dscl -f "${mountPoint}/var/db/dslocal/nodes/Default" localonly -search /Local/Target/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 "${mountPoint}/var/db/dslocal/nodes/Default" localonly -create $databasePath || exit 1
# Add long name
/usr/bin/dscl -f "${mountPoint}/var/db/dslocal/nodes/Default" localonly -append $databasePath RealName "${1}" || exit 1
# Add PrimaryGroupID
if [ "${3}" == 1 ]; then
/usr/bin/dscl -f "${mountPoint}/var/db/dslocal/nodes/Default" localonly -append $databasePath PrimaryGroupID 80 || exit 1
else
/usr/bin/dscl -f "${mountPoint}/var/db/dslocal/nodes/Default" localonly -append $databasePath PrimaryGroupID 20 || exit 1
fi
# Add UniqueID
/usr/bin/dscl -f "${mountPoint}/var/db/dslocal/nodes/Default" localonly -append $databasePath UniqueID ${i} || exit 1
# Add Home Directory entry
/usr/bin/dscl -f "${mountP
oint}/var/db/dslocal/nodes/Default" localonly -append $databasePath dsAttrTypeNative:home /Users/${2} || exit 1
/usr/bin/dscl -f "${mountPoint}/var/db/dslocal/nodes/Default" localonly -append $databasePath authentication_authority ";ShadowHash;" || exit 1
/usr/bin/dscl -f "${mountPoint}/var/db/dslocal/nodes/Default" localonly -append $databasePath picture "${5}" || exit 1
/usr/bin/dscl -f "${mountPoint}/var/db/dslocal/nodes/Default" localonly -append $databasePath passwd "*" || exit 1
# Add shell
/usr/bin/dscl -f "${mountPoint}/var/db/dslocal/nodes/Default" localonly -append $databasePath UserShell "/bin/bash" || exit 1
# lookup generated uid
genUID=`/usr/bin/dscl -f "${mountPoint}/var/db/dslocal/nodes/Default" localonly -read /Local/Target/Users/${2} GeneratedUID` || exit 1
genUID=${genUID:14:36}
# make sure the shadow/hash directory exists
if [ ! -e "${mountPoint}/var/db/shadow/hash" ] ; then
/bin/mkdir -p "${mountPoint}/var/db/shadow/hash" || exit 1
/bin/chmod -R 700 "${mountPoint}/var/
db/shadow" || exit 1
fi
# to copy our password hash in there...
echo "${4}" > "${mountPoint}/var/db/shadow/hash/$genUID"
/bin/chmod 600 "${mountPoint}/var/db/shadow/hash/$genUID" || exit 1
# Create Home directory
if [ -e "/System/Library/User Template/${6}.lproj/" ]; then
/usr/bin/ditto "/System/Library/User Template/${6}.lproj/" "${mountPoint}/Users/${2}" || exit 1
else
/usr/bin/ditto "/System/Library/User Template/English.lproj/" "${mountPoint}/Users/${2}" || exit 1
fi
/usr/sbin/chown -R $i:$i "${mountPoint}/Users/${2}" || exit 1
# If they exist, apply any Append.bom changes
ApplyAppendBom()
local tempDir="$1"
local srcVol="$2"
local opt=""
if [ "${scriptsDebugKey}" == "DEBUG" ]; then
opt="-v"
fi
if [ -e "$tempDir/Append.bom" ]; then
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Applying Append.bom additions from System Image Utility"
fi
/usr/bin/ditto $opt -bom "$tempDir/Append.bom" "$srcVol" "${mountPoint}" || exit
1
fi
if [ -e "$srcVol/Library/Application Support/Apple/System Image Utility/Append.bom" ]; then
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Applying Append.bom additions from $srcVol"
fi
/usr/bin/ditto $opt -bom "$srcVol/Library/Application Support/Apple/System Image Utility/Append.bom" "$srcVol" "${mountPoint}" || exit 1
fi
# Copies a list of packages (full paths contained in the file at $1) from source to .../System/Installation/Packages/
CopyPackagesFromFile()
local theFile="$1"
local opt=""
if [ "${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}" "${mountPoint}/System/Installation/Packages/${leafName}" || exit 1
fi
done < "
local opt=""
if [ "${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}/System/Installation/Packages/${SUB_PATH}${leafName}" || exit 1
fi
done < "${theFile}"
# Create the dyld shared cache files
CreateDyldCaches()
local opt=""
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Creating dyld shared cache files"
if [ "${scriptsDebugKey}" == "DEBUG" ]; then
opt="-debug"
fi
fi
/usr/bin/update_dyld_shared_cache -root "${mountPoint}" -universal_boot -force $opt
# Validate or create the destination directory and mo
unt point
CreateOrValidateDestination()
local destDir="$1"
if [ ! -d "$destDir" ]; then
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Creating working path at $destDir"
fi
/bin/mkdir -p "$destDir" || exit 1
fi
# Create mount point
if [ ! -d "${mountPoint}" ]; then
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Creating mountpoint for in $destDir"
fi
/bin/mkdir -p "${mountPoint}" || exit 1
fi
# If any exist, apply any user accounts
CreateUserAccounts()
local count="${#userFullName[*]}"
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 "${userFullN
ame[$index]}" "${userUnixName[$index]}" "${userIsAdmin[$index]}" "${userPassHash[$index]}" "${userImagePath[$index]}" "${userLanguage[$index]}"
done
fi
# Create an installer package in /System/Installation/Packages/ wrapping the supplied script
InstallerPackageFromScript()
local tempDir="$1"
local scriptPath="$2"
local scriptName=`basename "${scriptPath}"`
local opt=""
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Create installer for script $scriptName"
if [ "${scriptsDebugKey}" == "DEBUG" ]; then
opt="-v"
fi
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"
/bin/mkdir $opt "${tempDir}/emptyDir" || exit 1
cd "${tempDir}/emptyDir"
# Create Archive.pax.gz
/bin/pax -w -x cpio -f "$tempDir/$scriptName.pkg/Contents/Archive.pax" .
/usr/bin/gzip "$tempDir/$scriptName.pkg
/Contents/Archive.pax"
# Create the Archive.bom file
/usr/bin/mkbom "$tempDir/emptyDir/" "$tempDir/$scriptName.pkg/Contents/Archive.bom"
# 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.server.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"
# copy the package to the Packages directory
/usr/bin/ditto $opt "$tempDir/$scriptName.pkg" "${mountPoint}/System/Installation/Packages/$scriptName.pkg" || exit 1
# clean up
/bin/rm -r "$tempDir/emptyDir"
/bin/rm -r "$tempDir/$scriptName.pkg"
# If restoreDSBindings.sh exists, tar up the DS data and install it all onto the install image
InstallLocalDSBindings()
local tempDir="$1"
local niuTempDir="var/tmp/niu"
local scriptDir=${niuTempDir}/postinstall
local opt=""
if [ -e "$tempDir/restoreDSBindings.sh" ]; then
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Installing Directory Service bindings from this computer"
if [ "${scriptsDebugKey}" == "DEBUG" ]; then
opt="-v"
fi
fi
# make the directory if needed
/bin/mkdir -p $opt "${mountPoint}/${scriptDir}" || exit 1
# tar up the Directory
Service settings
/usr/bin/tar $opt -cf "${mountPoint}/${niuTempDir}/DSBindings.tar" /Library/Preferences/DirectoryService/ || exit 1
/usr/bin/ditto $opt "$tempDir/restoreDSBindings.sh" "${mountPoint}/${scriptDir}/restoreDSBindings.sh" || exit 1
# Set the permissions just in case
/usr/sbin/chown root:wheel "${mountPoint}/${scriptDir}/restoreDSBindings.sh"
/bin/chmod 755 "${mountPoint}/${scriptDir}/restoreDSBindings.sh"
# make an installer package out of the script
InstallerPackageFromScript "$tempDir" "$tempDir/restoreDSBindings.sh"
fi
# If it exists, install the PowerManagement.plist onto the install image
InstallPowerManagementPlist()
local tempDir="$1"
local opt=""
if [ -e "$tempDir/com.apple.PowerManagement.plist" ]; then
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Installing progress announcer to install image"
if [ "${scriptsDebugKey}" == "DEBUG" ]; then
opt="-v"
fi
fi
/usr/bin/ditto $opt "$tempDir/com.app
le.PowerManagement.plist" "${mountPoint}/Library/Preferences/SystemConfiguration/com.apple.PowerManagemen t.plist" || exit 1
/usr/sbin/chown root:wheel "${mountPoint}/Library/Preferences/SystemConfiguration/com.apple.PowerManagemen t.plist"
/bin/chmod 644 "${mountPoint}/Library/Preferences/SystemConfiguration/com.apple.PowerManagemen t.plist"
fi
# If it exists, install the InstallerStatusNotifications.bundle and progress emitter onto the install image
InstallProgressPieces()
local tempDir="$1"
local opt=""
if [ -e "$tempDir/InstallerStatusNotifications.bundle" ]; then
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Installing progress announcer to install image"
if [ "${scriptsDebugKey}" == "DEBUG" ]; then
opt="-v"
fi
fi
/usr/bin/ditto $opt "$tempDir/InstallerStatusNotifications.bundle" "${mountPoint}/System/Library/CoreServices/InstallerStatusNotifications.bundle" || exit 1
/usr/sbin/chown -R root:wheel "${mountPoint}/System/Lib
rary/CoreServices/InstallerStatusNotifications.bundle"
/bin/chmod 755 "${mountPoint}/System/Library/CoreServices/InstallerStatusNotifications.bundle"
fi
if [ -e "$tempDir/com.apple.ProgressEmitter.plist" ]; then
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Installing status emitter to image"
fi
/usr/bin/ditto $opt "$tempDir/progress_emitter" "${mountPoint}/usr/sbin/progress_emitter" || exit 1
/usr/sbin/chown root:wheel "${mountPoint}/usr/sbin/progress_emitter"
/bin/chmod 555 "${mountPoint}/usr/sbin/progress_emitter"
/usr/bin/ditto $opt "$tempDir/com.apple.ProgressEmitter.plist" "${mountPoint}/System/Library/LaunchDaemons/com.apple.ProgressEmitter.plist" || exit 1
/usr/sbin/chown root:wheel "${mountPoint}/System/Library/LaunchDaemons/com.apple.ProgressEmitter.plist"
/bin/chmod 644 "${mountPoint}/System/Library/LaunchDaemons/com.apple.ProgressEmitter.plist"
fi
# Converts a list of scripts (full paths contained in the file at $1) into pa
ckages in .../System/Installation/Packages/
InstallScriptsFromFile()
local tempDir="$1"
local theFile="$2"
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Converting scripts into install packages"
fi
while read FILE
do
if [ -e "${FILE}" ]; then
# make an installer package out of the script
InstallerPackageFromScript "$tempDir" "${FILE}"
fi
done < "
local destDir="$2"
local opt=""
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Performing post install cleanup"
if [ "${scriptsDebugKey}" == "DEBUG" ] ; then
opt="-v"
fi
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
if [ "${scriptsDebugKey}" == "VERBO
SE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Detaching disk image"
fi
/usr/bin/hdiutil detach "${mountPoint}" || exit 1
# remove the mount folder
/bin/rmdir "${mountPoint}" || exit 1
# copy the NBImageInfo.plist file
/usr/bin/ditto $opt "$tempDir/NBImageInfo.plist" "$destDir/NBImageInfo.plist" || exit 1
echo "Correcting permissions. ${ownershipInfoKey} $destDir"
/usr/sbin/chown -R "${ownershipInfoKey}" "$destDir"
# rename the folder to .nbi
if [ ! -e "$destDir.nbi" ]; then
/bin/mv $opt "$destDir" "$destDir.nbi" || exit 1
else
local parentDir=`dirname "${destDir}"`
local targetName=`basename "${destDir}"`
for ((i=2; i<1000; i++)); do
if [ ! -e "${parentDir}/${targetName}_$i.nbi" ]; then
/bin/mv $opt "$destDir" "${parentDir}/${targetName}_$i.nbi" || exit 1
break
fi
done
fi
# 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
if [ "${scriptsDebugKey}" == "DEBUG" ] ; then
opt="-v"
fi
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 [ -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/*"
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/*"
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/*"
fi
if [ -d "$srcVol/dev" ]; t
hen
/bin/rm $opt "$srcVol/dev/*"
fi
if [ -d "$srcVol/private/var/run" ]; then
/bin/rm -r $opt "$srcVol/private/var/run/*"
fi
# Copy kernel and build the kext cache on the boot image
PrepareKernelAndKextCache()
local destDir="$1"
local opt=""
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Preparing the kernel and kext cache for the boot image"
if [ "${scriptsDebugKey}" == "DEBUG" ]; then
opt="-v"
fi
fi
for ARCH in i386 ppc; do
# Prepare the kernel
/bin/mkdir $opt "$destDir/${ARCH}" || exit 1
/usr/bin/lipo -extract "${ARCH}" "${mountPoint}/mach_kernel" -output "$destDir/${ARCH}/mach.macosx" || exit 1
# Build kext cache
/usr/sbin/kextcache -a ${ARCH} -s -l -n -z -m "$destDir/${ARCH}/mach.macosx.mkext" "${mountPoint}/System/Library/Extensions" || exit 1
done
# Create the PPC and I386 boot loaders on the boot image
PrepareBootLoader()
local srcVol="$1"
local destDir="$2"
local opt=""
if [ "${scriptsDebugKey}
" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Preparing boot loader"
if [ "${scriptsDebugKey}" == "DEBUG" ]; then
opt="-v"
fi
fi
if [ -e "${mountPoint}/usr/standalone/ppc/bootx.bootinfo" ]; then
/usr/bin/ditto $opt "${mountPoint}/usr/standalone/ppc/bootx.bootinfo" "$destDir/ppc/booter" || exit 1
/usr/bin/ditto $opt "${mountPoint}/usr/standalone/i386/boot.efi" "$destDir/i386/booter" || exit 1
else
/usr/bin/ditto $opt "$srcVol/usr/standalone/ppc/bootx.bootinfo" "$destDir/ppc/booter" || exit 1
/usr/bin/ditto $opt "$srcVol/usr/standalone/i386/boot.efi" "$destDir/i386/booter" || exit 1
fi
# If it exists, install the partitioning application and data onto the install image
ProcessAutoPartition()
local tempDir="$1"
local opt=""
if [ -e "$tempDir/PartitionInfo.plist" ]; then
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Installing Partitioning application and data to install image"
if [ "${scriptsDebugKey}" ==
"DEBUG" ]; then
opt="-v"
fi
fi
/usr/bin/ditto $opt "$tempDir/PartitionInfo.plist" "${mountPoint}/System/Installation/PartitionInfo.plist" || exit 1
/usr/bin/ditto $opt "$tempDir/AutoPartition.app" "${mountPoint}/System/Installation/AutoPartition.app" || exit 1
# Tell the installer to run the Partitioning application
/bin/echo "#!/bin/sh
/System/Installation/AutoPartition.app/Contents/MacOS/AutoPartition" > "${mountPoint}/private/etc/rc.cdrom.postWS"
# Due to the way rc.install sources the script, it needs to be executable
/usr/sbin/chown root:wheel "${mountPoint}/private/etc/rc.cdrom.postWS"
/bin/chmod 755 "${mountPoint}/private/etc/rc.cdrom.postWS"
fi
# If it exists, install the minstallconfig.xml onto the install image
ProcessMinInstall()
local tempDir="$1"
local opt=""
if [ -e "$tempDir/minstallconfig.xml" ]; then
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Installing minstallconfig.xml to install image"
if
[ "${scriptsDebugKey}" == "DEBUG" ]; then
opt="-v"
fi
fi
/usr/bin/ditto $opt "$tempDir/minstallconfig.xml" "${mountPoint}/etc/minstallconfig.xml" || exit 1
/usr/sbin/chown root:wheel "${mountPoint}/etc/minstallconfig.xml"
/bin/chmod 644 "${mountPoint}/etc/minstallconfig.xml"
fi
# untar the OSInstall.mpkg so it can be modified
untarOSInstallMpkg()
local tempDir="$1"
local opt=""
# we might have already done this, so check for it first
if [ ! -d "${tempDir}/OSInstall_pkg" ]; then
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "uncompressing OSInstall.mpkg"
if [ "${scriptsDebugKey}" == "DEBUG" ]; then
opt="-v"
fi
fi
/bin/mkdir "${tempDir}/OSInstall_pkg"
cd "${tempDir}/OSInstall_pkg"
/usr/bin/xar $opt -xf "${mountPoint}/System/Installation/Packages/OSInstall.mpkg"
# make Distribution writeable
/bin/chmod 777 "${tempDir}/OSInstall_pkg"
/bin/chmod 666 "${tempDir}/OSInstall_pkg/Distribution"
fi
handler (
echo "Terminated. Cleaning up. Unmounting $destPath"
/usr/bin/hdiutil detach "${mountPoint}"
/bin/rmdir "${mountPoint}"
/bin/rm -r "$destPath"
exit
trap "handler" TERM INT
+ trap handler TERM INT
# Set up for script debugging
debug_opt=""
+ debug_opt=
if [ "${scriptsDebugKey}" == "DEBUG" ]; then
debug_opt="-v"
fi
+ '[' DEBUG == DEBUG ']'
+ debug_opt=-v
# Prepare the destination
CreateOrValidateDestination "$destPath"
+ CreateOrValidateDestination '/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD'
+ local 'destDir=/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD'
+ '[' '!' -d '/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD' ']'
+ '[' DEBUG == VERBOSE -o DEBUG == DEBUG ']'
+ echo 'Creating working path at /Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD'
Creating working path at /Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD
+ /bin/mkdir -p '/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD'
+ '[' '!' -d /tmp/mnt ']'
# update progress i
nformation
echo "${progressPrefix}_creatingImage_"
+ echo
# Create the appropriate disk image type
imageExtension="sparseimage"
+ imageExtension=sparseimage
if [ "${imageIsUDIFKey}" == 1 ]; then
tempsize=""
# if installing from DVD, get the max install size, otherwise use the volume size
if [ -e "${sourceVol}/System/Installation/Packages/OSInstall.mpkg" ]; then
/usr/sbin/installer -plist -verbose -pkginfo -pkg "${sourceVol}/System/Installation/Packages/OSInstall.mpkg" > "$1/OSInstall.plist"
tempsize=`/usr/bin/defaults read "$1/OSInstall" Size`
tempsize=$((tempsize/1024))
else
tempsize=`df -m "$sourceVol" | tail -n 1 | awk '{print $3}'`
fi
# Add one percent for safety, 500MB for the dyld caches and 400MB to eliminate the "disk is almost full" message
size=$(($tempsize+$(($tempsize/100))+900))
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Creating disk image (Size: $size MB)"
fi
# Create and atta
ch disk image
/usr/bin/hdiutil create "$destPath/$dmgTarget" -megabytes $size -volname "$dmgTarget" -uid 0 -gid 80 -mode 1775 -layout "UNIVERSAL CD" -fs HFS+ -stretch 500g -ov || exit 1
imageExtension="dmg"
else
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Creating sparse disk image"
fi
/usr/bin/hdiutil create "$destPath/$dmgTarget" -type SPARSE -size 500g -volname "$dmgTarget" -uid 0 -gid 80 -mode 1775 -layout "UNIVERSAL CD" -fs HFS+ -ov || exit 1
fi
+ '[' 1 == 1 ']'
+ tempsize=
+ '[' -e '/Volumes/Mac OS X Install DVD/System/Installation/Packages/OSInstall.mpkg' ']'
+ /usr/sbin/installer -plist -verbose -pkginfo -pkg '/Volumes/Mac OS X Install DVD/System/Installation/Packages/OSInstall.mpkg'
/usr/bin/defaults read "$1/OSInstall" Size
++ /usr/bin/defaults read /tmp/niutemp.mdOQAzsJ/OSInstall Size
+ tempsize=11937692
+ tempsize=11657
+ size=12673
+ '[' DEBUG == VERBOSE -o DEBUG == DEBUG ']'
+ echo 'Creating disk image (Size: 12673 MB)'
Creating disk image (Size: 12673 MB)
+ /usr/bin/hdiutil create '/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD/NetBoot' -megabytes 12673 -volname NetBoot -uid 0 -gid 80 -mode 1775 -layout 'UNIVERSAL CD' -fs HFS+ -stretch 500g -ov
created: /Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD/NetBoot.dmg
+ imageExtension=dmg
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Attaching disk image"
fi
+ '[' DEBUG == VERBOSE -o DEBUG == DEBUG ']'
+ echo 'Attaching disk image'
Attaching disk image
/usr/bin/hdiutil attach "$destPath/$dmgTarget.$imageExtension" -owners on -nobrowse -mountpoint "${mountPoint}" -quiet || exit 1
+ /usr/bin/hdiutil attach '/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD/NetBoot.dmg' -owners on -nobrowse -mountpoint /tmp/mnt -quiet
# Copy source Volume base system to
if [ -e "${sourceVol}/System/Installation/Packages/OSInstall.mpkg" ]; then
# update progress information
echo "${progressPrefix}_installingSystem_"
if [ -e "$1/MacOSXInstaller.choiceChanges" ]; then
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Installing to destination volume with choice selection."
fi
/usr/sbin/installer -applyChoiceChangesXML "$1/MacOSXInstaller.choiceChanges" -pkg "${sourceVol}/System/Installation/Packages/OSInstall.mpkg" -target "${mountPoint}"
else
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Installing to destination volume"
fi
/usr/sbin/installer -pkg "${sourceVol}/System/Installation/Packages/OSInstall.mpkg" -target "${mountPoint}"
fi
# bless the boot folder
/usr/sbin/bless -folder "${mountPoint}/System/Library/CoreServices" -quiet --bootinfo --bootefi
# "kext"
if [ -e "${mountPoint}/System/Library/StartupItems/NetBootSharingNames"
]; then
/bin/chmod 0755 "${mountPoint}/System/Library/StartupItems"
/usr/sbin/chown -R root:wheel "${mountPoint}/System/Library/StartupItems/NetBootSharingNames"
/bin/chmod 0755 "${mountPoint}/System/Library/StartupItems/NetBootSharingNames"
/bin/chmod 0755 "${mountPoint}/System/Library/StartupItems/NetBootSharingNames/NetBootSharingNa mes"
/bin/chmod 0644 "${mountPoint}/System/Library/StartupItems/NetBootSharingNames/StartupParameter s.plist"
fi
if [ ! -d "${mountPoint}/Library/Preferences/DirectoryService" ]; then
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Creating DirectoryService directory"
fi
/bin/mkdir $debug_opt "${mountPoint}/Library/Preferences/DirectoryService"
/bin/chmod 0775 "${mountPoint}/Library/Preferences/DirectoryService"
fi
/usr/sbin/kextcache -a i386 -a ppc -l -z -m "${mountPoint}/System/Library/Extensions.mkext" "${mountPoint}/System/Library/Extensions" || exit 1
else
# update progress information
echo "${progressPre
fix}_copyingSource_"
PreCleanSource "$sourceVol"
if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
echo "Copying source volume"
fi
/usr/bin/ditto $debug_opt "$sourceVol" "${mountPoint}"
fi
+ '[' -e '/Volumes/Mac OS X Install DVD/System/Installation/Packages/OSInstall.mpkg' ']'
+ echo
+ '[' -e /tmp/niutemp.mdOQAzsJ/MacOSXInstaller.choiceChanges ']'
+ '[' DEBUG == VERBOSE -o DEBUG == DEBUG ']'
+ echo 'Installing to destination volume'
Installing to destination volume
+ /usr/sbin/installer -pkg '/Volumes/Mac OS X Install DVD/System/Installation/Packages/OSInstall.mpkg' -target /tmp/mnt
installer: Package name is Mac OS X
installer: Installing at base path /tmp/mnt
installer: The install was successful.
+ /usr/sbin/bless -folder /tmp/mnt/System/Library/CoreServices -quiet --bootinfo --bootefi
+ '[' -e /tmp/mnt/System/Library/StartupItems/NetBootSharingNames ']'
+ '[' '!' -d /tmp/mnt/Library/Preferences/DirectoryService ']'
+ /usr/sbin/kextcache -a i386 -a ppc -l -z -m /tmp/mnt/System/Library/Extensions.mkext /tmp/mnt/System/Library/Extensions
# install the PowerManagement.plist onto the bootable image
InstallPowerManagementPlist "$1"
+ InstallPowerManagementPlist /tmp/niutemp.mdOQAzsJ
+ local tempDir=/tmp/niutemp.mdOQAzsJ
+ local opt=
+ '[' -e /tmp/niutemp.mdOQAzsJ/com.apple.PowerManagement.plist ']'
+ '[' DEBUG == VERBOSE -o DEBUG == DEBUG ']'
+ echo 'Installing progress announcer to install image'
Installing progress announcer to install image
+ '[' DEBUG == DEBUG ']'
+ opt=-v
+ /usr/bin/ditto -v /tmp/niutemp.mdOQAzsJ/com.apple.PowerManagement.plist /tmp/mnt/Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plis t
Copying /tmp/niutemp.mdOQAzsJ/com.apple.PowerManagement.plist
+ /usr/sbin/chown root:wheel /tmp/mnt/Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plis t
+ /bin/chmod 644 /tmp/mnt/Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plis t
# create the dyld caches
CreateDyldCaches
+ CreateDyldCaches
+ local opt=
+ '[' DEBUG == VERBOSE -o DEBUG == DEBUG ']'
+ echo 'Creating dyld shared cache files'
Creating dyld shared cache files
+ '[' DEBUG == DEBUG ']'
+ opt=-debug
+ /usr/bin/update_dyld_shared_cache -root /tmp/mnt -universal_boot -force -debug
update_dyld_shared_cache failed: universal_boot option can only be used on Intel machines
# If it exists, install the partition data onto the bootable image
ProcessAutoPartition "$1"
+ ProcessAutoPartition /tmp/niutemp.mdOQAzsJ
+ local tempDir=/tmp/niutemp.mdOQAzsJ
+ local opt=
+ '[' -e /tmp/niutemp.mdOQAzsJ/PartitionInfo.plist ']'
# install the progress emitter onto the install image
InstallProgressPieces "$1"
+ InstallProgressPieces /tmp/niutemp.mdOQAzsJ
+ local tempDir=/tmp/niutemp.mdOQAzsJ
+ local opt=
+ '[' -e /tmp/niutemp.mdOQAzsJ/InstallerStatusNotifications.bundle ']'
+ '[' -e /tmp/niutemp.mdOQAzsJ/com.apple.ProgressEmitter.plist ']'
+ '[' DEBUG == VERBOSE -o DEBUG == DEBUG ']'
+ echo 'Insta
lling status emitter to image'
Installing status emitter to image
+ /usr/bin/ditto /tmp/niutemp.mdOQAzsJ/progress_emitter /tmp/mnt/usr/sbin/progress_emitter
+ /usr/sbin/chown root:wheel /tmp/mnt/usr/sbin/progress_emitter
+ /bin/chmod 555 /tmp/mnt/usr/sbin/progress_emitter
+ /usr/bin/ditto /tmp/niutemp.mdOQAzsJ/com.apple.ProgressEmitter.plist /tmp/mnt/System/Library/LaunchDaemons/com.apple.ProgressEmitter.plist
+ /usr/sbin/chown root:wheel /tmp/mnt/System/Library/LaunchDaemons/com.apple.ProgressEmitter.plist
+ /bin/chmod 644 /tmp/mnt/System/Library/LaunchDaemons/com.apple.ProgressEmitter.plist
# update progress information
echo "${progressPrefix}_buildingBooter_"
+ echo
# Copy kernel and build the kext cache on the boot image
PrepareKernelAndKextCache "$destPath"
+ PrepareKernelAndKextCache '/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD'
+ local 'destDir=/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD'
+ local opt=
+ '[' DEBUG == VERBO
SE -o DEBUG == DEBUG ']'
+ echo 'Preparing the kernel and kext cache for the boot image'
Preparing the kernel and kext cache for the boot image
+ '[' DEBUG == DEBUG ']'
+ opt=-v
+ for ARCH in i386 ppc
+ /bin/mkdir -v '/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD/i386'
mkdir: created directory '/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD/i386'
+ /usr/bin/lipo -extract i386 /tmp/mnt/mach_kernel -output '/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD/i386/mach.macosx'
+ /usr/sbin/kextcache -a i386 -s -l -n -z -m '/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD/i386/mach.macosx.mkext' /tmp/mnt/System/Library/Extensions
+ for ARCH in i386 ppc
+ /bin/mkdir -v '/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD/ppc'
mkdir: created directory '/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD/ppc'
+ /usr/bin/lipo -extract ppc /tmp/mnt/mach_kernel -output '/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD/ppc/mach.macosx'
+ /usr/sbin/kextcache -a ppc -s -l -n -z -m '/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD/ppc/mach.macosx.mkext' /tmp/mnt/System/Library/Extensions
# And finally, prepare the boot loader on the boot image
PrepareBootLoader "$sourceVol" "$destPath"
+ PrepareBootLoader '/Volumes/Mac OS X Install DVD' '/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD'
+ local 'srcVol=/Volumes/Mac OS X Install DVD'
+ local 'destDir=/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD'
+ local opt=
+ '[' DEBUG == VERBOSE -o DEBUG == DEBUG ']'
+ echo 'Preparing boot loader'
Preparing boot loader
+ '[' DEBUG == DEBUG ']'
+ opt=-v
+ '[' -e /tmp/mnt/usr/standalone/ppc/bootx.bootinfo ']'
+ /usr/bin/ditto -v /tmp/mnt/usr/standalone/ppc/bootx.bootinfo '/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD/ppc/booter'
Copying /tmp/mnt/usr/standalone/ppc/bootx.bootinfo
+ /usr/bin/ditto -v /tmp/mnt/usr/standalone/i386/boot.efi '/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD/i386/booter'
Copying /tmp/mnt/usr/standalone/i386/boot.efi
# "touch"
/usr/bin/touch "${mountPoint}/private/var/db/.AppleSetupDone"
+ /usr/bin/touch /tmp/mnt/private/var/db/.AppleSetupDone
/usr/bin/touch "${mountPoint}/Library/Receipts/.SetupRegComplete"
+ /usr/bin/touch /tmp/mnt/Library/Receipts/.SetupRegComplete
/usr/bin/touch "${mountPoint}/.metadata_never_index"
+ /usr/bin/touch /tmp/mnt/.metadata_never_index
# remove software update
if [ -e "${mountPoint}/System/Library/CoreServices/Software Update.app" ]; then
/bin/rm -rf "${mountPoint}/System/Library/CoreServices/Software Update.app"
fi
+ '[' -e '/tmp/mnt/System/Library/CoreServices/Software Update.app' ']'
+ /bin/rm -rf '/tmp/mnt/System/Library/CoreServices/Software Update.app'
if [ -e "${mountPoint}/System/Library/PreferencePanes/SoftwareUpdate.prefPane" ]; then
/bin/rm -rf "${mountPoint}/System/Library/PreferencePanes/SoftwareUpdate.prefPane"
fi
+ '[' -e /tmp/mnt/System/Library/PreferencePanes/SoftwareUpdate.prefPane ']'
+ /bin/rm -rf /tmp/mnt/System/Library/PreferencePanes/SoftwareUpdate.prefPane
# add any user accounts
CreateUserAccounts
+ CreateUserAccounts
+ local count=1
+ '[' 1 -gt 0 ']'
+ '[' DEBUG == VERBOSE -o DEBUG == DEBUG ']'
+ echo 'Adding 1 user account(s) to the image'
Adding 1 user account(s) to the image
+ (( index=0 ))
+ (( index<1 ))
+ '[' DEBUG == VERBOSE -o DEBUG == DEBUG ']'
+ echo 'Adding user [user full name]'
Adding user [user full name]
+ AddLocalUser '[user full name]' [user short name] 1 0000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 0000000006A29520ED4FE4E8C7DE0930018E9284B1078E0BB4CF77F8700000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000 '/Library/User Pictures/Nature/Cactus.tif' English
+ local databasePath=/Local/Target/Users/[user short name]
+ (( i=501 ))
+ (( i<600 ))
/usr/bin/dscl -f "${mountPoint}/var/db/dslocal/nodes/Default" localonly -search /Local/Target/Users UniqueID $i
++ /usr/bin/dscl -f /tmp/mnt/var/db/dslocal/nodes/Default localonly -search /Local/Target/Users UniqueID 501
+ output=
+ '[' '' == '' ']'
+ break
+ /usr/bin/dscl -f /tmp/mnt/var/db/dslocal/nodes/Default localonly -create /Local/Target/Users/[user short name]
+ /usr/bin/dscl -f /tmp/mnt/var/db/dslocal/nodes/Default localonly -append /Local/Target/Users/[user short name] RealName '[user full name]'
+ '[' 1 == 1 ']'
+ /usr/bin/dscl -f /tmp/mnt/var/db/dslocal/nodes/Default localonly -append /Local/Target/Users/[user short name] PrimaryGroupID 80
+ /usr/bin/dscl -f /tmp/mnt/var/db/dslocal/nodes/Default localonly -append /Local/Target/Users/[user short name] UniqueID 501
+ /usr/bin/dscl -f /tmp/mnt/var/db/dslocal/nodes/Default localonly -append /Local/Target/Users/[user short name] dsAttrTypeNative:home /Users/[user short name]
+ /usr/bin/dscl -f /tmp/mnt/var/db/dslocal/nodes/Default localonly -append /Local/Target/Users/[user short name] authentication_authority ';ShadowHash;'
+ /usr/bin/dscl -f /tmp/mnt/var/db/dslocal/nodes/Default localonly -append /Local/Target/Users/[user short name] picture '/Library/User Pictures/Nature/Cactus.tif'
+ /usr/bin/dscl -f /tmp/mnt/var/db/dslocal/nodes/Default localonly -append /Local/Target/Users/[user short name] passwd '*'
+ /usr/bin/dscl -f /tmp/mnt/var/db/dslocal/nodes/Default localonly -append /Local/Target/Users/[user short name] UserShell /bin/bash
/usr/bin/dscl -f "${mountPoint}/var/db/dslocal/nodes/Default" localonly -read /Local/Target/Users/${2} GeneratedUID
++ /usr/bin/dscl -f /tmp/mnt/var/db/dslocal/nodes/Default localonly -read /Local/Target/Users/[user short name] GeneratedUID
+ genUID='GeneratedUID: 2609E2EC-9C33-469B-B850-A3BF935D72FE'
+ genUID=2609E2EC-9C33-469B-B850-A3BF935D72FE
+ '[' '!' -e /tmp/mnt/var/db/shadow/hash ']'
+ /bin/mkdir -p /tmp/mnt/var/db/shadow/hash
+ /bin/chmod -R 700 /tmp/mnt/var/db/shadow
+ echo 0000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 0000000006A29520ED4FE4E8C7DE0930018E9284B1078E0BB4CF77F8700000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000
+ /bin/chmod 600 /tmp/mnt/var/db/shadow/hash/2609E2EC-9C33-469B-B850-A3BF935D72FE
+ '[' -e '/System/Library/User Template/English.lproj/' ']'
+ /usr/bin/ditto '/System/Library/User Template/English.lproj/' /tmp/mnt/Users/[user short name]
+ /usr/sbin/chown -R 501:501 /tmp/mnt/Users/[user short name]
+ (( index++ ))
+ (( index<1 ))
# update progress information
echo "${progressPrefix}_finishingUp_"
+ echo
# perform the final cleanup
PostFlightDestination "$1" "$destPath"
+ PostFlightDestination /tmp/niutemp.mdOQAzsJ '/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD'
+ local tempDir=/tmp/niutemp.mdOQAzsJ
+ local 'destDir=/Users/[user short name]/Documents/NetBoot of Mac OS X Install DVD'
+ local opt=
+ '[' DEBUG == VERBOSE -o DEBUG == DEBUG ']'
+ echo 'Performing post install cleanup'
Performing post install cleanup
+ '[' DEBUG == DEBUG ']'
+ opt=-v
+ '[' -e /tmp/mnt/var/db/dslocal/indices/Default/index ']'
+ '[' DEBUG == VERBOSE -o DEBUG == DEBUG ']'
+ echo 'Detaching disk image'
Detaching disk image
+ /usr/bin/hdiutil detach /tmp/mnt
T?∞T?– A≈ -
Connecting 32 bit XP machine across network to HP Laserjet 2200d on Windows 7 64 bit machine
I am trying to connect a 32bit machine running Windows XP across the network to an HP 2200d Laserjet Series PLC 5 printer installed on a 64 bit machine running Windows 7 - The printer can be seen by the XP machine across the network but when I tried installing printer drivers I kept getting incorrect driver errors. (The HP printer had previously been connected directly. i.e., no network - to the XP machine before I bought the new computer and it worked fine.)
So I went to HP website and found two links on how to connect a 32 bit XP machine to the HP printer installed on 64 bit Windows 7, by setting up an x86 option on the host Windows 7 machine. These web pages are as follows:
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c02171232&lang=en&cc=us&taskI...
and
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c02030517
I carefully followed the instruction and downloaded and tried ALL drivers I could fine on the following HP LaserJet 2200 driver download page - but non of them worked http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=28862&pr...
I keep getting the error message "The specified location does not contain the driver HP LaserJet Series PCL 5 for the requested processor architecture." I even downloaded and tried to install the universal printer driver via the Setup.exe file that was downloaded but I received the error: 0x800f0214.
Any suggestions would be greatly appreciated.
Thanks,
DanI am trying to connect a 32bit machine running Windows XP across the network to an HP 2200d Laserjet Series PLC 5 printer installed on a 64 bit machine running Windows 7 - The printer can be seen by the XP machine across the network but when I tried installing printer drivers I kept getting incorrect driver errors. (The HP printer had previously been connected directly. i.e., no network - to the XP machine before I bought the new computer and it worked fine.)
So I went to HP website and found two links on how to connect a 32 bit XP machine to the HP printer installed on 64 bit Windows 7, by setting up an x86 option on the host Windows 7 machine. These web pages are as follows:
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c02171232&lang=en&cc=us&taskI...
and
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c02030517
I carefully followed the instruction and downloaded and tried ALL drivers I could fine on the following HP LaserJet 2200 driver download page - but non of them worked http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=28862&pr...
I keep getting the error message "The specified location does not contain the driver HP LaserJet Series PCL 5 for the requested processor architecture." I even downloaded and tried to install the universal printer driver via the Setup.exe file that was downloaded but I received the error: 0x800f0214.
Any suggestions would be greatly appreciated.
Thanks,
Dan -
Windows 7 64 Bit, Intel Core i7, Photoshop CS4
I just had a new computer built with Windows 7 64 Bit, Intel Core i7 and an nVidia GT240 Card....I am unable to view my "Libraries" in the Bridge...I only get "no files to view". If nothing else my Documents, Pictures and Music should be showing. I have all patches, updates installed for the computer, Photoshop, and my printer. Also when I click on Print Preview in the printer dialogue box (Epson R2400) I get an error msg stating that the "Display Driver shut down and has restarted successfully" When this occurs, my screen goes blank for a moment then starts up with an all white screen until the print preview finally appears. Any help? On the printer issue, Epson simply says to insure the drivers are up to date, which they all are. I've uninstalled and re installed everything a few times to no avail.
Thank you!!
In a message dated 3/13/2010 4:59:52 P.M. Pacific Standard Time,
[email protected] writes:
We are seeing a similar problem on our Win7 / i7 workstations. So far
there hasn't been a cure for it, but I'm convinced the current Nvidia display
drivers are bad.
For instance I also had to turn off the GPU support in Photoshop on Vista
x64 workstations just to see 16 bit color files. Since this is a new
problem, all this suggests to me that the Nvidia drivers and PS not working well
together. I've started to install other diriver versions in an attempt to
sort this out. -
OC4J Security fails to authenticate users on a 64 bit solarisx86 machine
Hi,
I am using a database login module to authenticate users. The login module I use is DBTableLoginModule. On 32 bit windows based machine, the module functions perfectly fine. When I deployed my project on a 64 bit solarisx86 machine, users are no longer able to login. On debugging the DBTableLoginModule, the authentication shows success and the commit method is return true to the OC4J security. But OC4J is redirecting to error page and I have no clue as to why it is doing so. The problem is I am not able to debug OC4J security for I have no source code for that. My question is how can i turn on debugging for OC4J Security
so I can watch out for any errors or anything that OC4J complains about so I can have better chances to overcome this problem.
Thanks
SamHi,
sounds like a OC4J bug to me (or issue at least). You may want to check
OC4J
Frank -
Can't view WMP files in Safari on Intel machine unless in Rosetta??
I am trying to set up my parent's new Mac Mini w/ a core Solo Intel chip. They want to be able to view videos on CNN, but the only way i've been able to get them to work is by downloading the WM9 player, then launching Safari under Rosetta, which is noticably slower than if it were running natively. Is there any other way to get streamed WMP files to work on an Intel machine using Safari? Should I just get Firefox set up on their comp. for compatibility?
Hi,
Windows Media Player and Flip4Mac are both PowerPC only at the moment, so yes you'll have to use Rosetta for the time being.
Windows Media Player never will be available for the Mac Intel platform (Microsoft no longer develop it) but Flip4Mac are working on porting their plugin 'sometime soon'. -
Help me in the issue, Asp dot net exe which run from server in IE 8 window 7 32 bit client machine show security file save download message. This app was running fine if we don't apply any window 7 or IE8 patches. same issue when running in
IE9. I already run the caspol, add the server link to trusted site with low security. I wonder why it was working fine without any patches.
I just found that client machine win 7 32 bit has dot net 4.5.1 installed when updated all the patches. after uninstall the dot net 4.5.1. the application worked fine. now I wonder what are the settings need to change to run the application with dot net 4.5.1
installed on machine. as Microsoft always has these things in window updates. thanks in advance.Hi Gparhar,
In case you are posting on .NET setup forum, I suspect it is not the right forum for your issue, we talks about "setup and deployment of .NET Framework.", if you have problem on installing and uninstalling .NET 4.5.1, we can share you some advice.
For your specific case, I recommend you consult ASP.NET forum instead:
http://forums.asp.net/
Regards,
Barry Wang
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Will logic express 6 install/work on an intel machine?
don't need it to work, just install, so I can then install the Logic Pro 7.2 upgrade overtop of it. Any thoughts or ideas?
Hi,
The Logic Pro 7.2 update will only install on an existing Logic Pro 7 program.
You will have to first upgrade from Logic 6 to Logic 7, and THEN update to 7.2
Cheers
PS Logic 6 will not run properly on an Intel Machine. -
Can I change my 2005 G5 from a PowerPC to an Intel machine?
Is there a method or means whereby I can convert my PowerPC G5 into an intel machine? So much software, but not for my architecture.
KevinI do not think so, the only modification I have ever heard of like that was for the 2009 Mac Pros being converted to the capabilities of a 2010 Mac Pro. Sorry.
Does anyone else know for sure? -
Cannot download Java 7 update 9 32-bit
I am trying to download the most up to date version of Java (Java 7 update 9 32-bit) on a desktop computer running Windows 7 Pro (SP1). I have attempted to use both the online and offline methods of running the update procedure with no success.
I have attempted to delete all previous installations, and there are no listings for previous versions of Java in the “Programs and Features” control panel, and there is no separate control panel to install new versions of Java with.
Despite all of these attempts I continue to get the following message after the installer has been loaded:
“The wizard was interrupted before Java 7 update 9 could be completely installed. To complete installation at another time, please run setup again.”
Any help/suggestions are appreciated.Its Windows 7, not Windows 95So what does this have to do with anything? Although what you are implying is valid, there are still some cases where reboot is necessary. This is especially true for example if the Win MSI installer is not used properly and/or if a file is unreleasably locked during the installation.
The fact that files may be locked during an installation is still possible (although should be rare). The problem is less about rebooting and more about people understanding what they are doing. Some users (people running the installers) don't close all processes which might have file locks on the software they are trying to uninstall (or update). If they would just ensure that all processes which might use the JRE (e.g. browsers) were closed (double check in the task manager) before running the installer, the installer won't complain and reboot would not be necessary.
Maybe you are looking for
-
I'm currently upgrading my mid-2010 Macbook Pro 13", I've purchased some new RAM and also a 120GB SSD and a 1TB SSHD (Hybrid SSD and HD) with the intention of using an OWC data doubler to get rid of my dvd drive and place the SSD drive there instead.
-
While transfer material it shoul cliam different G\L Account
Hi.. The requirment is, when they transfer from one plant to another plant( Free plant). They want the value to go to Claims G/L account rather then Inventory. Please suggest Regards SAM
-
Portal URL: Why cannot access via IP address?
When I try to access portal web with IP address, the tree navigation in browse area always shows blank or keep show "loading...". But after I access the same URL but change it to domain name address, the tree navigation shows correctly. Could you ple
-
Crash Report [@ npswf64_11_0_1.dll@0x163529 ]
Hello with Flash Player 11.0.1.129 64-bit and IE9 64-Bit & Firefox Nightly 64-Bit I can reproduce this crash: a) www.putpat.tv b) click on "Veequalizer" -> crash Firefox https://crash-stats.mozilla.com/report/index/bp-c6b3f117-4fb3-4b5a-9a84-f43a2211
-
[Solved] Gnome 3.12 client side decorations drawing incorrectly
I am using several Gnome apps under XFCE. Unfortunately, the new client-side decorations aren't rendering correctly: As you can see, the border is completely invisible aside from the buttons floating in the space where the title bar should be. Does a