Base Image with Casper Imaging

music5_5
New Contributor

Hi Everyone,

I am trying to create a base image (OS X, Office, AV and AdmitMac)and having some trouble. Here is what I have done:

On latest hardware, I have installed a 10.7.4 and then did all the updates. After that I have installed all the basic application which are required in all my images. Configured the user profile for different AD users who will log into this image then created image using Disk Utility.

After that I have uploaded it to my JSS server using Casper Admin and then created a configuration which has only 1 package and that is this new image. Also I have compiled this configuration.

Now when I boot my client using netboot then Casper Imaging takes only 1 minute or 2 to go thru and machine re-boots with flashing folder icon.

Also package priority is set to 1 and checked the box below it as well.

Am I missing something to do this simple task?

Thanks,

13 REPLIES 13

dpertschi
Valued Contributor

After you created the image with Disk Utility; did you Scan Image for Restore?

donmontalvo
Esteemed Contributor III

Were all the steps followed in the JAMF articles 63 and 64?

https://jamfnation.jamfsoftware.com/article.html?id=63
https://jamfnation.jamfsoftware.com/article.html?id=64

Don

--
https://donmontalvo.com

music5_5
New Contributor

No, I did not scan the image before uploading to server. Can I do it in Casper Admin?

mm2270
Legendary Contributor III

I don't think you can do that from Casper Admin. If you built the OS DMG from within Disk Utility, it should still be listed in the sidebar of the app. Select it and choose Images > Scan Image for Restore. When its done, re-upload the DMG to Casper Admin, overwriting what's already there when prompted.
Building your DMG from Composer takes care of that step as well just so you know.

rwwest7
New Contributor

It is best to use Composer and not Disk Utility.

daworley
Contributor II

If it is in your CasperShare, probably the most straightforward way would be to use asr in Terminal. http://developer.apple.com/library/mac/ipad/#documentation/Darwin/Reference/ManPages/man8/asr.8.html

Take note of the imagescan verb with the --nostream flag.

music5_5
New Contributor

Okay, I have done the scanning now. Do I have re-compile the configuration or can I just the package without compiling?

Thanks,

nessts
Valued Contributor II

if you are trying to block copy the entire configuration, you have to recompile, or removed the already compiled image, and install it first through imaging tool to ensure its viability before recompiling.

music5_5
New Contributor

No, I am trying to block copy entire image, I just wanted to test it to see if works. I have tried 2 times using 2 different ways:

  1. First time choose custom install and chose my image as package to be installed.

  2. Second time I choose the a configuration with same image in it.

Both time it did not work. Where would I find the logs which might be able to shed some light on errors?

Here are the Casper Imaging logs for my last try from JSS server:

Initializing Imaging Process...
Mounting afp://1.1.1.1/CasperShare...
Erasing Untitled...
Erasing Untitled manually...
Setting computer name to "test"...
Creating /private/etc/jamf.conf...
Creating /usr/sbin/jamf...
Creating Startup Script...
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 for installing 10.7.4 BaseImage.dmg...
Copying 10.7.4 BaseImage.dmg to FirstRun...
Unmounting Distribution Point...
Blessing System...
Ensuring system files are hidden...

bentoms
Release Candidate Programs Tester

Looks like you have "10.7.4 BaseImage.dmg" set to be installed on the volume @ imaging time.

Untick that & set the priority to 1 & then try.

music5_5
New Contributor

What is the check mark for?

bentoms
Release Candidate Programs Tester

It's for installer that requires to be installed locally.

music5_5
New Contributor

I have unchecked that box but it still does not work.

Is there any other way to create this image? This is what I want in my image:

  1. Latest OS X (10.7.4) using fresh copy of dmg from Apple
  2. All the updates done
  3. Enable root account
  4. Every user who logs in this image will have same Desktop & Finder settings

Can I do all this by uploading the Apple Installer DMG file?

Thanks,