Forum Replies Created
-
AuthorPosts
-
Rusty Myers
ParticipantBack again.
I imaged my instadmg machine last night with my last working build. I checked-out the lastest version of instadmg through svn. I copied my base image and custom packages into the new instadmg working folder. I forgot to mention, I am building images on a second internal drive. I store the instadmg folder there with all the packages and output files.
So, on basically a clean build of instadmg (leoaprd, 10.5.6), with a clean copy of instadmg with all the updates and custom packages that I know worked on my last build, I tried the process again today. While watching it, I noticed that I get the hdiutil error twice. The first time it appears is after installing the base image. It fails to unmount the intermediary disk image. The second time it appears is after the rename of the drive. I’m going to post all of the workflow so that I, hopefully, don’t miss anything useful for diagnosing.
I am now building an image with only the base image. I have disabled all the base updates and custom packages. We’ll see how that does.
chm021:~ etcadmin$ sudo /Volumes/TB/InstaDMG/instadmg-read-only/instadmg.bash
Password:
07:39:23 ######InstaDMG build initiated######
07:39:23 ######Mounting Mac OS X installer image######
Mounting the main OS Installer Disk from: ./InstallerFiles/BaseOS/Mac OS X Install DVD.dmg at: /tmp/instaDMGMount.7dXbVu
Mac OS X installer image mounted
07:41:26 ######Creating intermediary disk image######
Image mounted at /dev/disk3
Running on PPC Platform: Setting format to APM
Intimediary image creation complete
07:41:55 ######Beginning Installation from /tmp/instaDMGMount.7dXbVu######
I’m running on Leopard or later. Checking for InstallerChoices.xml file
InstallerChoices.xml file found. Applying Choices
Installing BaseSystem…..
Installing Essentials…..
Installing BSD…..
Base OS installed
Compacting and saving cached image to: ./Caches/BaseImageCache/77FC9F69:76393a32d3ca132914acd4e16543f4a71561f650.dmg
hdiutil: couldn’t unmount “disk3” – error 49153
Remounting the image with a shadow file (/tmp/instaDMGTemp.R5c9vU.sparseimage)
07:55:30 ######Beginning Update Installs from ./InstallerFiles/BaseUpdates######
Installing MacOSXUpdCombo10.5.6.pkg from ./InstallerFiles/BaseUpdates/01
Installing MacOSXUpdCombo10.5.6…..
Installing QuickTime76_Leopard.pkg from ./InstallerFiles/BaseUpdates/02
Installing QuickTime 7…..
Installing iTunes.mpkg from ./InstallerFiles/BaseUpdates/03
Installing Apple Mobile Device Support…..
Installing FrontRowUpdate2.1.6.pkg from ./InstallerFiles/BaseUpdates/04
Installing Front Row Update…..
Installing AirPortUtility_Leopard.pkg from ./InstallerFiles/BaseUpdates/05
Installing AirPort Utility…..
Installing RemoteDesktopClient.pkg from ./InstallerFiles/BaseUpdates/06
Installing Apple Remote Desktop Client…..
Installing iLife ’08.mpkg from ./InstallerFiles/BaseUpdates/07
Installing Registration…..
Installing JavaForMacOSX10.5Update2.pkg from ./InstallerFiles/BaseUpdates/08
Installing JavaForMacOSX10.5Update2…..
Installing iMovie_710.pkg from ./InstallerFiles/BaseUpdates/09
Installing iMovie Updater…..
Installing iPhoto_710.pkg from ./InstallerFiles/BaseUpdates/10
Installing iPhoto Updater…..
Installing iWeb_203.pkg from ./InstallerFiles/BaseUpdates/11
Installing iWeb Updater…..
Installing GarageBand_411.pkg from ./InstallerFiles/BaseUpdates/12
Installing GarageBand Updater…..
Installing iDVD_703.pkg from ./InstallerFiles/BaseUpdates/13
Installing iDVD Update…..
Installing GarageBand_412.pkg from ./InstallerFiles/BaseUpdates/14
Installing GarageBand Updater…..
Installing iMovie_714.pkg from ./InstallerFiles/BaseUpdates/15
Installing iMovie Updater…..
Installing iPhoto_714.pkg from ./InstallerFiles/BaseUpdates/16
Installing iPhoto Updater…..
Installing iWeb_204.pkg from ./InstallerFiles/BaseUpdates/17
Installing iWeb Updater…..
Installing iPhoto_715.pkg from ./InstallerFiles/BaseUpdates/18
Installing iPhoto Updater…..
Installing RAWCameraUpdate.pkg from ./InstallerFiles/BaseUpdates/19
Installing Digital Camera Raw Compatibility Update…..
Installing AirPortExtremeUpdate2008004.pkg from ./InstallerFiles/BaseUpdates/21
Installing AirPortExtremeUpdate2008004…..
Installing CompatibilityUpdateforQT755.pkg from ./InstallerFiles/BaseUpdates/22
Installing QuickTime H.264 Compatibility Update…..
Installing Safari3.2.1Leo.pkg from ./InstallerFiles/BaseUpdates/23
Installing Safari3.2.1Leo…..
Installing iLifeMediaBrowser_v2.pkg from ./InstallerFiles/BaseUpdates/24
Installing iLife Media Browser for Leopard…..
Installing HewlettPackardPrinterDrivers.pkg from ./InstallerFiles/BaseUpdates/25
Installing HewlettPackardPrinterDriversPreInstall…..
08:09:11 ######Beginning Update Installs from ./InstallerFiles/CustomPKG######
Installing createUser.pkg from ./InstallerFiles/CustomPKG/01
Installing createUser…..
Installing Office20081215.pkg from ./InstallerFiles/CustomPKG/02
Installing Office 2008 1215…..
Installing AD Password Checker InstaDMG.mpkg from ./InstallerFiles/CustomPKG/03
Installing adpasscheck…..
Installing Kidspiration 2.1.pkg from ./InstallerFiles/CustomPKG/04
Installing kidspiration21…..
Installing Firefox3.pkg from ./InstallerFiles/CustomPKG/05
Installing Firefox3…..
Installing Adobe Reader 9.pkg from ./InstallerFiles/CustomPKG/06
Installing Adobe Reader 9…..
Installing VPN.pkg from ./InstallerFiles/CustomPKG/07
Installing VPN…..
Installing Inspiration 8.pkg from ./InstallerFiles/CustomPKG/08
Installing inspiration8…..
Installing Studiocode.pkg from ./InstallerFiles/CustomPKG/09
Installing studiocode2549…..
Installing Comic Life.mpkg from ./InstallerFiles/CustomPKG/10
Installing Comic Life…..
Installing Display System Info.pkg from ./InstallerFiles/CustomPKG/11
Installing Display System Info…..
Installing TextWranglernoreg.pkg from ./InstallerFiles/CustomPKG/12
Installing Text Wrangler No Reg…..
Installing iMovieHD6.pkg from ./InstallerFiles/CustomPKG/14
Installing iMovie HD…..
Installing clearReg.pkg from ./InstallerFiles/CustomPKG/15
Installing clearReg…..
Installing Stuff It 11.pkg from ./InstallerFiles/CustomPKG/16
Installing Stuff It…..
Installing Symantec AntiVirus Installer.mpkg from ./InstallerFiles/CustomPKG/17
Installing Symantec Shared Frameworks…..
Installing SPSS 17.0.1.pkg from ./InstallerFiles/CustomPKG/18
Installing SPSS 17.0.1…..
Installing tn3270.pkg from ./InstallerFiles/CustomPKG/19
Installing tn3270…..
Installing Display Network Info.pkg from ./InstallerFiles/CustomPKG/20
Installing Display Network Information…..
Installing Mail Bundle.pkg from ./InstallerFiles/CustomPKG/21
Installing Mail Bundle…..
Installing Keychain Minder 1.3.mpkg from ./InstallerFiles/CustomPKG/22
Installing edu.psuetc.keychainminder…..
Installing Parallels 3.pkg from ./InstallerFiles/CustomPKG/23
Installing Parallels 3…..
Installing System Setup 1.9.mpkg from ./InstallerFiles/CustomPKG/24
Installing systemsetup…..
Installing Dell Drivers.pkg from ./InstallerFiles/CustomPKG/25
Installing Dell Drivers…..
Installing Notebook 10 with SMART Board Drivers.mpkg from ./InstallerFiles/CustomPKG/26
Installing Notebook Software 10…..
Installing SMART Registration COE.pkg from ./InstallerFiles/CustomPKG/27
Installing SMART Registration COE…..
Installing SMART Board Drivers 10 Update.mpkg from ./InstallerFiles/CustomPKG/28
Installing SMART Board Drivers 10…..
Installing SPSS 17 Auth Package install.pkg from ./InstallerFiles/CustomPKG/29
Installing SPSS 17 Auth Package install…..
08:14:37 ######Correcting some generic installer errors######
Correcting symlinks that point off the disk
Closing programs that have opened files on the disk
Deleting Extensions.mkext cache file
Deleting cache files created during installations
08:26:37 ######Creating the deployment DMG and scanning for ASR######
Rename the deployment volume: InstaDMG
Create a read-only image
hdiutil: couldn’t eject “disk3” – error 49168
hdiutil: convert failed – File exists
Scanning image for ASR: ./OutputFiles/09-03-13.dmg
ASR image scan complete
08:26:51 ######Cleaning up######
Ejecting images
Removing scratch DMG
08:26:51 ######InstaDMG Complete######Rusty Myers
ParticipantI just thought to check activity monitor to see if there was any process stuck that was holding onto the mounts. I force quit three instances of diskimages-helpe (that’s not a misspelling, that’s how it looked in activity monitor) and I was able to delete the old mounts. I’m starting a new image, and hoping it works this time. Although I don’t have much hope for it. I’m thinking about just rebuilding the machine. It’s not a big deal, and in fact I can use my last image to do the job, so it will take little time, but it’s annoying.
Anyway, that’s my update.
Rusty Myers
ParticipantI agree with Larkhost.
You just have to trust your users, no matter how many flaky users you have… I’m dealing with the same type of issues. Most of my users are admin, when they ask to be. I have to trust that they don’t change my admin password, disable ARD, install limewire, etc.
It happens, but it’s far and few between instances.
RustyRusty Myers
ParticipantOkey Dokey, here you go-key:
[url]http://kb.educ.psu.edu/files/idd.pdf[/url]If you have questions, let me know. Either here or email.
RustyRusty Myers
ParticipantFrom the ink above:
“To do this, you’ll create a FileVault Master password on one machine, and then copy certain files to all your managed machines. Open the Security preference pane and click “Set Master Password”. Since this will be deployed to all your managed machines, and since changing it (and propagating that change to existing FileVault-protected accounts) is difficult, make sure it’s a non-trivial password, and do not make it the same as any other admin or root password you have in use. Use the Password Assistant to check on the quality of your chosen password. Click OK to create the master password.
Two new files are created in /Library/Keychains: FileVaultMaster.cer, and FileVaultMaster.keychain
To implement the FileVault Master Password on all the machines you manage, simply install these two files on all your managed machines. You can use any method to do this (put them in your install image, using ARD, radmind, FileWave, etc), but make sure they are in place BEFORE FileVault is turned on for any accounts on a given machine. If FileVault has been turned on before these FileVaultMaster files are installed, the pre-existing FileVault-protected accounts cannot be unlocked using the FileVault Master Password you just created.”
Rusty Myers
ParticipantYeah, I could. It’s pretty specific to my organization, but I’ll share. Let me take a bit of time to clean out the private data and I’ll post a link later today or tomorrow.
Rusty Myers
ParticipantTry rebuilding your package. Sometimes I notice my pmdocs get messed up when I work from a afp share. My workflow is usually changing the permissions on the file to the root:wheel 750 or 700 and then adding it to the package maker doc. Then I double, triple, and quadruple check the permissions. Also, what version of package maker are you using?
Rusty Myers
ParticipantI wrote a guide for the rest of my staff on how to image and deploy an image on a machine. In the post-install section I ask them to email me if any updates need to be done. From that, I will determine what to add to the image. Sometimes updates like aperture 2 or the iLife 09 update I don’t include.
I also ask them to let me know about any issues. This, in my mind, is mainly for new hardware issues. Fortunately, I have not come across any issues with any hardware.
It’s probably not the answer your looking for, but it’s pretty easy for me.
RustyRusty Myers
Participant3) I use a script that will download a csv file from a web server. The file runs through [url=http://www.bombich.com/]Bombich’s[/url] set-names script also used in net restore. This way I can change the name of the file on the server, and let the machines name themselves.
Also, Remote Desktop, or another system control. Check out [url]http://education.apple.com/contact_me/systems_management/Solutions_for_Sys_Mgmt.pdf[/url]
February 26, 2009 at 1:50 am in reply to: Packaging Bind (join) Active Directory Domain for InstaDMG #375571Rusty Myers
ParticipantI solve this issue by only running the computer naming script, then it loads the launchd item for the ad bind script and reboots. Then after reboot, it binds. You could also do an if statement that would check to see if the computer is named correctly.
Rusty
Rusty Myers
ParticipantThis code is why the script is no longer executable:
[code]#Self Destruct
srm “$0”
[/code]Perhaps you can script the copy of the home folder (ditto, chown) and then install the preferences.
[code]
sudo ditto -rsrc /System/Library/User Template/English.lproj /Users/usersudo chown -R user:staff /Users/user
[/code]HTH!
RustyEDIT: I didn’t test any of the user template commands!
Rusty Myers
ParticipantDid you try?
[code]password=[/code]
Rusty
Rusty Myers
Participant@fleecy I’m taking another look at Reader 9 and I’m seeing the same thing.
I’m trying to package the things that Adobe Reader 9 installs in the home folders to see if that helps.
Did my first run with Composer and I am still getting the prompt for admin passwords at first start and Updates (though I turned them off in the other user.)
I am not getting requests to install the safari plug in. I am getting a prompt to update after trying to turn it off.
I want to get these worked out, but have to give up for the day. I will start again Monday to try to tackle this.
Rusty Myers
ParticipantI have added a touched file to the package and then un-selected it in the contents tab. Also:
https://www.afp548.com/forum/viewtopic.php?forum=45&showtopic=19312&highlight=payload
January 16, 2009 at 1:38 am in reply to: “exotic” characters doesn’t work anymore in createUser-package. #375156Rusty Myers
ParticipantIt’s been a while since I edited the createuser package. Would it have something to do with escaping the characters?
[url]https://www.afp548.com/forum/viewtopic.php?forum=45&showtopic=22949&highlight=createuser[/url]
-
AuthorPosts
Recent Comments