I would look into using AutoDMG to make your base OS image and then using that file through Casper Imaging/Munki/etc to image your Macs.
It makes a vanilla OS installation dmg and will also add updates since that Apple installer was released (iTunes, Security Updates, etc), and bake them into the final OS dmg. Check it out.
is this the symptom of single system or is it the same result across multiple systems?
@perrycj Building the AutoDMG tonight, will try installing tomorrow. Seen the videos, but just thought it'd be simple to add the Apple installer to run a configuration rather than building a DMG of it.
@htse Replicated on late 2014 MacMini, 2010 MacBookPro. Spoke to @pvader today who had similar issue when using netboot not sure which hardware, but he had no problem when using booted USB stick to run Casper Imaging. Building my Yosemite boot disk tonight also to test tomorrow.
I like my netboot setup, hence my efforts for netboot; I have full casper suite, but also Drive Genius, Carbon Copy, Disk Drill and a few other tools. My own little Apple Hardware test and data recovery tools.
does /var/log/install.log give any further detail than the console output?
If I use AutoDMG to build on a never-been-booted OS on a MacBookPro 9,1 per say, is the the final output made specifically for that machine's model or does it make a 'universal' never-been-booted image?
For quite sometime, I've been using Apple Installers off a bootable OS X Installer USB stick. Which I am quite happy with the outcome and have very little issues. I am under the impression that Apple OS installers are Universal.
Am I correct in this?
Thanks as always!
-pat
@markkenny cool, hope it works for you.
@pvader Yes, it creates a universal OS image for whatever hardware will support it. It doesn't matter what hardware you make it on, as it uses the Apple installer from the App Store as its base.
Would have done testing quicker if I remembered to de-select Erase target drive after running OS installs ;-)
I can use use Casper Imaging to install OS X from the InstallESD when booted from a separate bootable hard drive. The same installation when running from Netboot fails. But a AutoDMGd OS installs fine.
@pvader Tried testing how 'vanilla' the AutoDMGd image was, did a full OS install without a user, so I couldn't login ;-) Reboot back into imaging and pushed users and apps and scripts.
Need to work on user profile; icloud blocking, bash shells etc. But I'm in a much better place than I was yesterday. Thank you gents.
@htse Here's the other logs, it's missing BaseSystemResources.pkg. Not sure why.
Mar 26 11:03:20 netboot.MYSECRETSERVER.com installer[1170]: Preparing disk for OS Install.
Mar 26 11:03:20 netboot.MYSECRETSERVER.com installer[1170]: Removing background color for incompatible machine Mac-35C5E08120C7EEAF
Mar 26 11:03:20 netboot.MYSECRETSERVER.com installer[1170]: Evaluating 1 disks
Mar 26 11:03:20 netboot.MYSECRETSERVER.com installer[1170]: Evaluating SKDisk { BSD Name: disk0s2 Mount point: /Volumes/Mac HD Role: kSKDiskRoleLegacyMacData Type: kSKDiskTypeHFS }
Mar 26 11:03:20 netboot.MYSECRETSERVER.com installer[1170]: Mac HD is a valid target.
Mar 26 11:03:21 netboot.MYSECRETSERVER.com storagekitd[1171]: Journaling already enabled for disk: <DADisk 0x7fbc81c26670 [0x105db7cf0]>{id = /dev/disk0s2}
Mar 26 11:03:21 netboot.MYSECRETSERVER.com installer[1170]: Evaluating 1 disks
Mar 26 11:03:21 netboot.MYSECRETSERVER.com installer[1170]: Evaluating SKDisk { BSD Name: disk0s2 Mount point: /Volumes/Mac HD Role: kSKDiskRoleLegacyMacData Type: kSKDiskTypeHFS }
Mar 26 11:03:21 netboot.MYSECRETSERVER.com installer[1170]: Mac HD is a valid target.
Mar 26 11:03:22 netboot.MYSECRETSERVER.com installd[1242]: installd: Starting
Mar 26 11:03:22 netboot.MYSECRETSERVER.com installd[1242]: installd: uid=0, euid=0
Mar 26 11:03:22 netboot.MYSECRETSERVER.com installd[1242]: PackageKit: Adding client PKInstallDaemonClient pid=1170, uid=0 (/usr/sbin/installer)
Mar 26 11:03:22 netboot.MYSECRETSERVER.com installer[1170]: PackageKit: Enqueuing install with default quality of service (utility)
Mar 26 11:03:22 netboot.MYSECRETSERVER.com installd[1242]: PackageKit: ----- Begin install -----
Mar 26 11:03:22 netboot.MYSECRETSERVER.com installd[1242]: PackageKit: request=PKInstallRequest <13 packages, destination=/Volumes/Mac HD>
Mar 26 11:03:22 netboot.MYSECRETSERVER.com installd[1242]: PackageKit: packages=(
"PKLeopardPackage <file:///Volumes/OS%20X%20Install%20ESD/Packages/BaseSystemBinaries.pkg>",
"PKLeopardPackage <file:///Volumes/OS%20X%20Install%20ESD/Packages/BaseSystemResources.pkg>",
"PKLeopardPackage <file:///Volumes/OS%20X%20Install%20ESD/Packages/Essentials.pkg>",
"PKLeopardPackage <file:///Volumes/OS%20X%20Install%20ESD/Packages/BSD.pkg>",
"PKLeopardPackage <file:///Volumes/OS%20X%20Install%20ESD/Packages/JavaTools.pkg>",
"PKLeopardPackage <file:///Volumes/OS%20X%20Install%20ESD/Packages/AdditionalEssentials.pkg>",
"PKLeopardPackage <file:///Volumes/OS%20X%20Install%20ESD/Packages/AsianLanguagesSupport.pkg>",
"PKLeopardPackage <file:///Volumes/OS%20X%20Install%20ESD/Packages/JavaEssentials.pkg>",
"PKLeopardPackage <file:///Volumes/OS%20X%20Install%20ESD/Packages/MediaFiles.pkg>",
"PKLeopardPackage <file:///Volumes/OS%20X%20Install%20ESD/Packages/OxfordDictionaries.pkg>",
"PKLeopardPackage <file:///Volumes/OS%20X%20Install%20ESD/Packages/OSInstall.pkg>",
"PKLeopardPackage <file:///Volumes/OS%20X%20Install%20ESD/Packages/AdditionalSpeechVoices.pkg>",
"PKLeopardPackage <file:///Volumes/OS%20X%20Install%20ESD/Packages/X11redirect.pkg>"
)
Mar 26 11:03:22 netboot.MYSECRETSERVER.com installer[1170]: Began install
Mar 26 11:03:25 netboot.MYSECRETSERVER.com installd[1242]: PackageKit: Extracting file:///Volumes/OS%20X%20Install%20ESD/Packages/BaseSystemBinaries.pkg (destination=/Volumes/Mac HD/.OSInstallSandboxPath/Root, uid=0)
Mar 26 11:03:41 netboot.MYSECRETSERVER.com installd[1242]: PackageKit: External payload root /Volumes/OS X Base System for package com.apple.pkg.BaseSystemResources does not exist!
Mar 26 11:03:41 netboot.MYSECRETSERVER.com installd[1242]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=110 "An error occurred while extracting files from the package “BaseSystemResources.pkg”." UserInfo=0x7f9ee1cc03b0 {NSUnderlyingError=0x7f9ee1cd5390 "The file “OS X Base System” doesn’t exist.", NSFilePath=/Volumes/Mac HD/.OSInstallSandboxPath/Root, NSURL=file:///Volumes/OS%20X%20Install%20ESD/Packages/BaseSystemResources.pkg, PKInstallPackageIdentifier=com.apple.pkg.BaseSystemResources, NSLocalizedDescription=An error occurred while extracting files from the package “BaseSystemResources.pkg”.} {
NSFilePath = "/Volumes/Mac HD/.OSInstallSandboxPath/Root";
NSLocalizedDescription = "An error occurred while extracting files from the package U201cBaseSystemResources.pkgU201d.";
NSURL = "file:///Volumes/OS%20X%20Install%20ESD/Packages/BaseSystemResources.pkg";
NSUnderlyingError = "Error Domain=NSCocoaErrorDomain Code=4 "The file U201cOS X Base SystemU201d doesnU2019t exist." UserInfo=0x7f9ee1c3c280 {NSFilePath=/Volumes/OS X Base System}";
PKInstallPackageIdentifier = "com.apple.pkg.BaseSystemResources";
}
Mar 26 11:03:41 netboot.MYSECRETSERVER.com installd[1242]: PackageKit: Running idle tasks
Mar 26 11:03:41 netboot.MYSECRETSERVER.com installd[1242]: PackageKit: Removing client PKInstallDaemonClient pid=1170, uid=0 (/usr/sbin/installer)
Mar 26 11:03:41 netboot.MYSECRETSERVER.com installer[1170]: OSIInstallElement <OSIInstallElement: 0x7f9f349116c0> errored out:Error Domain=PKInstallErrorDomain Code=110 "An error occurred while extracting files from the package “BaseSystemResources.pkg”." UserInfo=0x7f9f349abdb0 {NSLocalizedDescription=An error occurred while extracting files from the package “BaseSystemResources.pkg”., NSFilePath=/Volumes/Mac HD/.OSInstallSandboxPath/Root, NSURL=file:///Volumes/OS%20X%20Install%20ESD/Packages/BaseSystemResources.pkg, PKInstallPackageIdentifier=com.apple.pkg.BaseSystemResources, NSUnderlyingError=0x7f9f3499f630 "The file “OS X Base System” doesn’t exist."}
Mar 26 11:03:41 netboot.MYSECRETSERVER.com storagekitd[1171]: storagekitd: copyDiskForPath returned nil
Mar 26 11:03:41 netboot.MYSECRETSERVER.com installer[1170]: ------- Install Failed -------
Mar 26 11:03:41 netboot.MYSECRETSERVER.com installer[1170]: Operation: Install packages failed, Failure Reason: Error Domain=PKInstallErrorDomain Code=110 "An error occurred while extracting files from the package “BaseSystemResources.pkg”." UserInfo=0x7f9f349abdb0 {NSLocalizedDescription=An error occurred while extracting files from the package “BaseSystemResources.pkg”., NSFilePath=/Volumes/Mac HD/.OSInstallSandboxPath/Root, NSURL=file:///Volumes/OS%20X%20Install%20ESD/Packages/BaseSystemResources.pkg, PKInstallPackageIdentifier=com.apple.pkg.BaseSystemResources, NSUnderlyingError=0x7f9f3499f630 "The file “OS X Base System” doesn’t exist."}
Mar 26 11:03:41 netboot.MYSECRETSERVER.com storagekitd[1171]: Removing client connection <SKDaemonConnection: 0x7fbc81e04770>
Mar 26 11:03:41 netboot.MYSECRETSERVER.com storagekitd[1171]: No more connections, storagekitd will exit...
Mar 26 11:03:42 netboot.MYSECRETSERVER.com installd[1242]: PackageKit: Done with sandbox removals
Mar 26 11:03:42 netboot.MYSECRETSERVER.com installer[1274]: Product archive /Volumes/Casper/Packages/User Template.pkg trustLevel=100
Mar 26 11:03:43 netboot.MYSECRETSERVER.com installer[1274]: -[IFDInstallController(Private) _buildInstallPlan]: location = file://localhost
In case you want to stick with traditional installs of OS X I would definitely recommend createOSXinstallpkg. It works really well.
I've got a blog dissecting our first boot script and using config profiles to replace a lot of the first boot script stuff if its of any use:
http://www.amsys.co.uk/2015/blog/creating-first-boot-script/
http://www.amsys.co.uk/2015/blog/creating-config-profiles-instead-first-boot-script/#.VRRAJFwXdfk