Skip to main content

Hi All



Just trying to get Casper up and running before our JumpStart training but thought i would ask here first before i ask our trainer.



I am trying to image a machine and have done the following:




  1. Taken a DMG of the OSX Install media


  2. Imported into casper admin


  3. Set as Operating System package


  4. Boot into imaging environment.




All i get when trying to image is it says "Copying DMG" and all looks good, But it finishes after about 5 seconds.



The log says this:



Initializing Imaging Process...
Mounting afp://172.18.97.15/CasperShare...
Erasing Test...
Installing MacBookInstallDVD.dmg...
Error: The OS Installer failed. Here is the message: Installation failed. The installer reported: installer: Error -
Installing iStopMotion.pkg...
Installing TextWrangler.pkg...
Setting computer name to "test1"...
Creating /private/etc/jamf.conf...
Creating /usr/sbin/jamf...
Creating Startup Script...
Creating Login/Logout Hooks...
Creating /usr/sbin/jamfvnc...
Creating jamfHelper...
Ensuring Apple's Setup Assistant does not appear...
Creating First Run Script...
Adding line to Update ByHost Files...
Adding line to Create user recon...
Unmounting Distribution Point...
Blessing System...
Ensuring system files are hidden...



I have now tried with 2 seperate DMG's that i have taken, One from a MacBook install disk and one from a iMac install disk.



Any help would be appreciated.



Regards
John Szaszvari
Monte Sant' Angelo Mercy College

We stick with old reliable:



http://jamfsoftware.com/kb/article.php?id=236



Don


Thanks



That's the guide I used to make the imaging environment.



I have also tried taking a DMG of the OS partition and using that but still get the same error.



When I get in the office today I'll post more info



Regards,
John Szaszvari


Hi John,



I suspect a conflict between the install media and the target computer. With that type of image, you're essentially running the install from the virtual DVD onto the target drive. If you're using model-specific source media (the MacBook or iMac disks), you will run up against the model-specific installer checks that Apple builds into the media. Can you boot the target test system from the source media and successfully install?



When we build images from the install media, we generally start with a retail install disc that won't be model-specific. We then add in the current combo updater to bring it up to the latest patch level. (We also compile the image so the deployment becomes a fast block copy.) The cases where we do use the model-specific media to build an image is when Apple releases new hardware ahead of the latest OS point update and you need the model-specific drivers that only ship on the disc. (Recent examples include the mid-2010 iMacs that shipped with their own build of 10.6.4.) Those images are then model-specific. When that's the situation, you always have to do the compile on the hardware you're going to be imaging, otherwise the compile will fail due to the machine-specific requirements of the installer. I hope this helps.



Cheers,
Charlie



-------------------------------------
Charlie Smith
Desktop Engineer
Information Services Department (ISD)
MIT Lincoln Laboratory
244 Wood St. Lexington, MA 02420
Phone: 781.981.0854
E-mail: charlie.smith at ll.mit.edu
-------------------------------------


The mistake I was making (corrected by Steve Wood) is that you really need to create your BaseImage using the newest hardware you have. Of course this is the general idea, which be moot if Apple releases a device-specific driver for only one model...then you end up with split Image Development tree.



http://support.apple.com/kb/DL1065



Interesting, I started a new threat to see what folks are doing to get back to a single image, now that the 10.6.5 combo updater was released.



http://support.apple.com/kb/DL1324



Sometimes I absolutely loathe Apple. :)



Don


Ok thanks for this



I just tested with known good media for the machine i am trying to Image and getting the same thing.



So i took a DMG of the Macbook Installer that came with one of the laptops here, Copied it with composer and tried to image it to a machine.



The File is called MacBookInstallDVD.dmg



Just wish it would give me a good error :



Installing MacBookInstallDVD.dmg...
Error: The OS Installer failed. Here is the message: Installation failed. The installer reported: installer: Error -



I guess i will try with a Retail disk now.



I'm compiling this on the newest machine i have.



Regards
John


How are you booting into the imaging environment? Is this from a NetBoot
On Tue, Nov 23, 2010 at 10:41 PM, John J. Szaszvari <JSzaszvari at monte.nsw.edu.au> wrote:
server? If so, try updating your NetBoot image to the latest OS version.
You'll need to create the NetBoot on the highest (newest) piece of hardware
you have, and apply the 10.6.5 Combo updater to it to make sure. Make sure
you do it all on the hardware or it will not work. You cannot target disk
the hardware and run Composer from your machine, you need to do it all on
the hardware. Try these steps:




  1. Partition the hard drive on the hardware and install a minimal OS on
    both partitions and patch all the way to 10.6.5 with all patches.


  2. Load Composer on the partition you are booted into.


  3. Run Composer and snapshot the other partition.


  4. Run JAMFs NetInstall Creator and use the OS DMG you created in Step 3.


  5. Replace your existing NBI with this new NBI.




After doing that, try installing the OS on the machine like you were trying.
That should fix it. I know it sounds crazy, but that is what fixed it for
me in the past.



HTH



Steve Wood
Director of IT
swood at integer.com



The Integer Group | 1999 Bryan St. | Ste. 1700 | Dallas, TX 75201
T 214.758.6813 | F 214.758.6901 | C 940.312.2475


take casper out of the equation.
On Nov 24, 2010, at 2:46 PM, John J. Szaszvari wrote:
does your DMG load using restore?



-take your laptop that has the OS
-partition the drive, or hook up a blank external drive.
-take your DMG and restore it to the external or partition



if you can get that to work we know it is something with casper and not your image



Dan


John-
On Nov 23, 2010, at 10:41 PM, John J. Szaszvari wrote:



How did you create the DMG for your OS image?
If you cloned that same image to a partition using Disk utility and the restore function, will it boot the system?



Dan


I'm using Composer with official OS X install media, then creating a DMG of it from there



I tried this with MacBook install media and iMac install media



Regards,
John Szaszvari


Ok today I'll go to our latest machines that are the new 27" iMacs and run up 2 up too date partitions then I will take a composer snapshot of it and see how it goes



This is just to create the NetBoot imaging environment yes?



I'm also getting a retail copy of the install media to try and import that into a imaging configuration



Regards,
John Szaszvari


Yes, the steps I described were just to get your NetBoot imaging environment
On Wed, Nov 24, 2010 at 3:15 PM, John J. Szaszvari <JSzaszvari at monte.nsw.edu.au> wrote:
up to date. You'll still want to drop the latest Drop In Box (DIB) DVD into
Casper Admin like you said you already did. I wouldn't expect the Retail
DVD to work properly, unless it is 10.6.5.



Once the Retail DVD is released, it becomes deprecated by any new hardware
that is released after that point. That's why it is better to use the DVD
that comes with your latest piece of hardware, 27" iMac in your case, to
create the OS image you use to image your machines.



I personally do not follow the road you follow, which is to drop the DVD
image into Casper Admin and mark the image as an OS install disk. Instead I
use InstaDMG to build an OS image that can then be laid down onto a machine.
That's the way I've been doing it for over 5 years (even pre-Casper for me)
and it has worked like a charm every time.



HTH



Steve Wood
Director of IT
swood at integer.com



The Integer Group | 1999 Bryan St. | Ste. 1700 | Dallas, TX 75201
T 214.758.6813 | F 214.758.6901 | C 940.312.2475


Sorry, I did not read through all the previous emails on this one since there are a lot, but one thing that I have run into in the past with Casper and imaging with DMG copies of OS X installer DVDs is that if you do not compile it in Casper Admin, or scan for restore in Disk Utility, it will not launch the Apple installer and configure it for an install.



Take your DMG you built and use Disk Utility and select it and run the scan for restore option. Let it run it's course. Then target-mode boot another mac into it and use it to restore the DMG.



Does it work?


Reply