Create Netboot Image From Dmg

I have a last question, I need to install other version of MacOS (when Yosemite work) but I don't have the InstallESD.dmg in the sharedfolder on the DVD of installation. I only multiple folder. Can I create a netboot image anyway? AutoImagrNBI differs from AutoNBI in that the end result is a NetBoot Image & not a NetInstall Image. A NetBoot Image is a full OS that can be made available for network booting, whereas NetInstall is a limited environment. AutoImagrNBI can also create a DMG for restoring to external media such as USB sticks. Learn how to create NetInstall and NetBoot images for deployment. (or create a.DMG) version of OS X onto the computer and open it so it’s available from Disk Utility. The system will find. Starting image creation. Workflow Started (2013-07-12 12:07:48 +0100) OS X Server 10.8.4 (12E55), System Image Utility 10.8.3 (624) Starting action: Define Image Source (1.4) Finished running action: Define Image Source. Starting action: Create Image (1.7.2) Starting image creation process. Create NetRestore Image. Creating a Macintosh image is out of this article's scope, so it is assumed you already have the boot image and Macintosh image created. DeployStudio settings assumes you have a working DeployStudio server, and have used it to create a master image and runtime netboot set; Make sure you have the following files: booter mach.macosx mach.macosx.mkext.

AutoImagrNBI a variant of AutoCasperNBI, & is an app that automates the creation of NetBoot Images (read: NBI’s) for use with Imagr.

AutoImagrNBI differs from AutoNBI in that the end result is a NetBoot Image & not a NetInstall Image. A NetBoot Image is a full OS that can be made available for network booting, whereas NetInstall is a limited environment. AutoImagrNBI can also create a DMG for restoring to external media such as USB sticks.

AutoImagrNBI is designed to cut down on the faff associated with creating NBI’s, by not only by allowing you to create NBI’s on a different OS version. But by also saving your settings for when you next run the tool.

This page is the help guide for AutoImagrNBI. To download the latest version of the app & to view the source, click the button below.

Contents

  • 1 Prerequisites
  • 5 Imagr Configuration Plist URL
  • 7 NetBoot Required Settings
  • 8 Options
  • 10 Options – Standard
  • 11 Options – Advanced
  • 12 Options – Additionals

AutoImagrNBI’s goal is to automate the NBI creation process, this will do you little good if you do not have the following things in place;

NetBoot Server Connectivity

Your mac clients need to be able to see you NetBoot server & any NBI’s hosted on it. These images can be seen via the Startup Disk pref pane:

Or via Boot Picker which is accessed by holding the Option key on startup.

This can be tested by creating a vanilla NetBoot Image via System Image Utility, once created upload it to your NetBoot server of choice.

OS.dmg

NBI’s created with AutoImagrNBI really should be created from a clean never booted Operating System disk image (read: OS.dmg).

With AutoImagrNBI the OS versions do not have to match. 10.10+ NBI’s can be created on 10.9+ Macs running AutoImagrNBI.

NOTE: 10.10 is the minimum OS Imagr will run on.

Troubleshooting the NetBoot Process

If you have any issues in setting this far, the following (despite it’s age) is still the best resource to help you in “Troubleshooting the NetBoot process.” Apple also has some documentation available.

Enabling verbose booting on a client can show where in the process things are failing.

Other things to look out for are:

  1. 3rd Party Thunderbolt or USB adaptors might not always support NetBooting.
  2. Some NetBoot Servers do not support the NetBoot shadow files, & so a modified rc.netboot is needed.

Web Server

Imagr gets its workflows from a plist that is accessible over HTTP, therefore a web server is needed to host the Imagr Configuration Plist & associated PKG’s & DMG’s.

On Launch, AutoImagrNBI’s opens with some options are greyed out, this is by design. To activate the other options, some items need to be added to AutoImagrNBI 1st.

On selecting either, an OS.dmg AutoImagrNBI will attempt to get the OS.dmg OS X version & build number.

When selecting an OS.dmg for the 1st time, AutoImagrNBI may appear to “hang” This is as the OS.dmg is silently mounted using hdituil attach. The reason for this can be found in the hdiutil man page: “hdiutil attach attempts to intelligently verify images that contain checksums before attaching them. If hdiutil can write to an image it has verified, attach will store an attribute with the image so that it will not be verified again unless its timestamp changes.”

You can either add a copy of the Imagr.app by pressing the “Select” button or you can download the latest release by pressing the “Download” button.

When pressing “Select” you are prompted to select an app to add to AutoImagrNBI, the version number of that is then reported back in AutoImagrNBI & if you have an internet connection that version will be checked against the latest release.

If the app you upload is an older version than the latest release you’ll be asked if you wish to download the latest release.

Pressing “Release Info” will take you to the latest releases information on GitHub: https://github.com/grahamgilbert/imagr/releases/latest

Pressing “No” closes the window.

Create Netboot Image From Dmg Download

Pressing “Yes” will download the latest release of Imagr from https://github.com/grahamgilbert/imagr/releases/latest to a temp location & this version will be added to the NBI.

Imagr gets its workflows from a plist that is accessible over HTTP, this URL needs to be set in Imagrs plist.

validateplist

AutoImagrNBI will now attempt to download the Imagr Configuration Plist & will check it via Imagr’s validateplist. The output of which will show under the entered Imagr Configuration Plist URL.

Once the validation has run, AutoImagrNBI’s other options will become available.

The NetBoot Name field will now auto populate, in the format of “<OS Version> AutoImagrNBI”, the “NetBoot Image Index” will be set to a random number & the “Serve Image over” options will be shown.

If you now click “Build”, & AutoImagrNBI will start the NBI creation process.

NOTE: The Imagr URL is written to AutoImagrNBI’s plist for when you next run AutoImagrNBI.

NetBoot Name:

AutoImagrNBI will set this field to “<OS version> AutoImagrNBI,” this name is the name of the folder AutoImagrNBI will create for the NBI, as well as the name of the NBI that is shown to clients (except when running NetSUS as this shows as “Faux NetBoot”)

If uploading to NetSUS or BSDPy, this name cannot contain a space & by enabling “Will be served from a NetSUS appliance” should remove any spaces you have. In AutoImagrNBI this option is ticked by default.

NetBoot Image Index:

A NetBoot Images Index (alongside it’s name) is used to identify the NBI to clients & server.

If this NBI is to be hosted on only one server, then the image index will need to be a value between 1-4095. But, if you’re load-balancing the NBI by hosting it on more than one server you’ll need to set a value between 4096-65535.

The value of the index is randomly determined by AutoImagrNBI & is dependent on whether the “Will be served from more than one server” checkbox is enabling.

Serve Image Over:

Depending on your environment, one option may work better than the other. You can select which option to set in the NBI here.
NOTE: The selections made to “Will be served from a NetSUS appliance”, “Will be served from more than one server” & “Serve Image over” are written to AutoImagrNBI’s plist.

Technically, you could just hit the build button & be on your way. But AutoImagrNBI can do much more & does several things in creating an NBI.

Pressing the Options button will open a new tabbed window, each of the Tabs & the options within are discussed in detail below.

Each option also has a Tool Tip which explain their function.

Options – Always Set

Suppresses Apple/iCloud & Diagnostics Setup Assistants:

Ideally the NBI will boot straight into the root user with Imagr running, therefore the Apple, iCloud & Diagnostics setup assistants are suppressed.

Creates & Auto logs in as Root:

AutoImagrNBI will always enable the root user & will auto login as root.

The root users password is set to: netboot.

Imagr requires running as root & was originally planned to be running in a NetInstall where root is the only user.

Disable Screen Saver for Root account:

As the screen saver being activated can pause some processes, the screensaver is disabled for the root account.

Deletes com.apple.dockfixup.plist:

This plist can add “unwanted” items to the dock, so it’s removed.

Creates A Minimal Dock for Root Account:

The root accounts dock is set to the below.

Copies Imagr to the NBI’s Applications Folder:

The Imagr.app selected earlier is copied into the /Applications folder of the NBI.

Launches Imagr At Login:

A Launch Agent is installed which launches Imagr once logged into the NBI.

This Launch Agent can be found at: /Library/LaunchAgents/com.AutoImagrNBI.Imagr.plist

Removes Imagr’s Quarantine Flag:

If the version of Imagr selected is one that has just been download from GitHub, it may still have the Quarantine Flag. AutoImagrNBI removes the flag if present.

Create Netboot Image From Dmg

Disables App Nap:

Similar to the screen saver, App Nap is disabled in case an app is napped.

Disables Software Update:

Software Update is disabled as not needed on an NBI.

Create

Disables Spotlight:

Spotlight indexing can stop a volume from being unmounted, & so Spotlight is disabled.

Disables TimeMachine prompts:

OSX, by default, will ask if you wish to use new disks for TimeMachine backups. This can get boring pretty fast when imaging macs, as you can see the prompt several times. So AutoImagrNBI disables the prompts.

Disables Gatekeeper:

Gatekeeper is “disabled” by setting it to “Allow apps downloaded from anywhere.” This again stops any prompts from interfering with the imaging process.

Enables Disk Utilities Debug Menu:

Disk Utilities Debug menu is enabled, giving access to some more detailed information which can be handy when troubleshooting.

Enables Diskless NetBoot:

NBI’s used for Imagr are required to be diskless, so that the booted Macs HD can be erased or partitioned as needed.

Expands NetBoot Image to 64GB:

The NBI is set to expand up to 64GB, this is to allow for more disk space to be created if needed by applications running on the NBI without expanding on the size used by the NBI.

Compacts NetBoot Image:

To save on disk space used by the NBI itself, the NBI is compacted at the end of the process, so this is after installing any extra Packages etc.

Renames Sparseimage to DMG for hosting on NetSUS:

Currently, NetSUS can only host NBI’s that end .dmg. As such, if the option “Will be served from a NetSUS appliance” is ticked then the NBI’s DMG is renamed.

NOTE: Anything set in this panel is written to AutoImagrNBI’s plist.

Imagr allows you to send report information to either a HTTP server via POST, or a Syslog server.

For more information, please see the Imagr Wiki

Set NetBoot Description:

If selected, AutoImagrNBI will generate a description for the NBI that contains the OS.dmg’s OS & build versions, Imagr’s version, the Imagr URL (if supplied), the name of the user that created the NBI & the date of creation.

Reduce Image Size:

Reducing the NBI’s size is not needed, really it’s not.

NetBoot clients will only pull the data required to boot the OS, so starting with a clean OS.dmg will lower what the clients request.

However, AutoImagrNBI can be used to reduce the size of the NBI by checking this box.

The resulting DMG size will vary, but for 10.7-10.9 NBI’s it falls under 8GB, for 10.10 it’s around 8.7GB. This dmg will be named NetBoot.reduced.dmg & will be in the NBI folder.

There is a long list of items that AutoImagrNBI removes, & whilst i’ve not listed them anywhere other than the code, below are the apps & utilities that are left on the NBI post reduction:

Also, some Preference Panes are removed leaving only the following:

One last point to mention is that the default desktop is also removed when reducing the NBI, this results in a background like the following (note the below has had a custom dock deployed).

Screen Sharing:

One of the benefits of imaging via a NetBoot instead of a NetInstall is that you can remotely connect via screen sharing. This allows you to image macs that are either 1 desk, or 1,000 miles away & review the progress.

Another benefit of NetBoot, is that you can perform some diagnostics when NetBooted, things like repairing permissions etc are possible as you’re not booted to the same volume you’re running the repair on.

If you check “Enable ARD” the username & password you enter are written in plain text to AutoImagrNBI’s plist, but on the NBI itself they are encoded. When the NBI is started up, AutoImagrNBI’s launch daemon runs a script that will create a user with the username & password given & then enables ARD.

When “Enable VNC”, is checked the VNC password is written to the NBI in the following file,

/Library/Preferences/com.apple.VNCSettings.txt this password is obfuscated via a perl command.

This password is again written to AutoImagrNBI’s plist.

Desktop Picture:

Checking this option will replace the default desktop located: /System/Library/CoreServices/DefaultDesktop.jpg with the image you supply.

Nothing is done in regards to resizing etc, so bare that in mind with the image you set.

The path to this image is written to AutoImagrNBI’s plist. On build AutoImagrNBI will check that the image exists, alerting if it cannot be found.

NOTE: Anything set in this panel is written to AutoImagrNBI’s plist.

Time Server:

Here you can set the NTP for the NBI to use as well as the timezone.

The “Time Zone” pop up includes the main locations for setting timezones on OSX, it’s not the complete list, but it’s the primary ones. You should be able to find a location appropriate for the timezone you wish to set.

Localisation:

From the “NetBoot Language” pop up includes a list of OSX’s “tier 1 languages” (to quote Apple), the “Input Language” pop up includes all of OSX’s supported input languages.

Create a Restorable DMG:

When this option is checked, AutoImagrNBI will create a second ASR’d read-only DMG in the root of the folder AutoImagrNBI creates.

This read-only DMG can then be restored to external media, such as a USB stick. This gives you a portable OS from which you can image.

rc.netboot:

This option is ticked by default in AutoImagrNBI, & creates a 2GB RAM Disk instead of the NetBoot image using AFP Shadow files. Which some 3rd party NetBoot server do not offer.

With OSX Servers NetInstall service, after the 10th or so client has booted the using AFP Shadow Files there are often issues booting more.

For several years people have used the following guidance from the University of Utah to modify the rc.netboot file to allow more than 10 clients to boot.

Checking this option replaces the NBI’s standard rc.netboot file with a modified version of the above linked example & was supplied by foigus.

Enable Simple Finder:

Simple Finder is a stripped down, simplified version of the Finder. Checking this enables Simple Finder, which results in the Finder behaving such as what’s mentioned here.

NOTE: Anything set in this panel is written to AutoImagrNBI’s plist.

Certificates:

Certificates added here are copied to the following location on the NBI:

/Library/Application Support/AutoImagrNBI/Certificates/

When the NBI is started up, AutoImagrNBI’s launch daemon runs a script that trust as root any certificates found in this location.

Install Additional Packages:

Packages added here, are installed onto the NBI after any items are deleting off the NBI (if reducing), but before the final NetBoot.dmg is created.

On launch & pre-build AutoImagrNBI checks that the selected certificates &/or packages exist.

If any certificates &/or packages cannot be found when the build button is pressed, you’ll receive an alert & the build will stop.

Any that are missing are shown in red under the “Additionals” tab.

If they are missing as you’ve not connect some removable media they were on, reconnect the media & then click the refresh button.

Download

AutoImagrNBI will again check that the items exist & in finding them, will change the text to black.

Administrative privileges are required by AutoImagrNBI in order to build the NBI without prompting for permissions every 5 minutes as per sudoers 5 minute timeout.

AutoImagrNBI caches the entered username & password to variables within AutoImagrNBI & they are not written anywhere.

On clicking “Build” AutoImagrNBI will ask for the location to create the NBI’s enclosing folder.

This folder will be named the the same as what you set the NBI name to, & within there will be the .nbi folder for uploading to a NetBoot Server. Also, the .restorable.dmg, will be located in this folder at the same level as the .nbi folder.

With a location selected, AutoImagrNBI checks to make sure there is enough space available to create the NBI.

AutoImagrNBI reads the used space on the OS.dmg, rounds up the used space & then checks the destination to see if we have enough space, erroring if not.

Once “Build” has been pressed, AutoImagrNBI will again check the version of the Imagr.app you have selected against the latest release & offer to download the latest release if you’ve selected an older one.

When all other checks have passed, AutoImagrNBI will close it’s windows & show the progress bar shown above. This gives visible feedback as to the builds progress.

The contents of OS.dmg are copied to a new DMG within the NBI folder. (Well a sparse image which is then renamed dmg).

You may see AutoImagrNBI show as “not responding” during the NBI creation, this is normal & a side affect of writing an app in AppleScript as it’s not able to multiple thread.

During these “hangs” the cogs animation will continue, just leave AutoImagrNBI to do it’s thing.

The NBI creation can take upto 20 minutes on a Mac with an SSD, to 90 minutes if running on a spinning disk.

Once the NBI has been created a few things happen:

  • The main window should reappear.
  • OSX’s complete notification will sound.
  • The progress window will look like the below.

Whilst AutoImagrNBI is creates a Read-Write sparseimage, this is renamed from NetBoot.sparseimage to NetBoot.dmg to make sure the resultant NBI is compatible with not only OS X’s NetInstall service, but also BSDPy & NetSUS.

If you wish to make the NBI Read-Write again, rename to NetBoot.sparseimage. Make your changes then rename back to NetBoot.dmg.

AutoImagrNBI writes it’s logs to ~/Library/Logs/AutoImagrNBI/. These can be quite verbose, but are handy if you need to troubleshoot why AutoImagrNBI is failing to create the NBI or if you just wish to have a nose at what it’s doing.

If you do have any issues, please log them here. You are taken to the same page when you select Help > Log An Issue from the menu bar.

The log can also be accessed when the build has completed or failed by clicking the “Open Log” button.

AutoImagrNBI checks for updates once a day, if an update is found you’ll will be asked to update.

You can also manually check for updates by clicking AutoImagrNBI > Check For Updates.. from the menubar.

With any software, there is bound to be some issues. For known issues please see AutoImagrNBI’s read me, to log an issue please visit this page.

AutoImagrNBI will generally error out with a message like the below that has a button that links to the log:

AutoImagrNBI & Casper NetInstall Creator leverage the same methods to create NetBoot & NetInstall images as System Image Utility.

These scripts can be found at the following location on 10.9:

/System/Library/CoreServices/System Image Utility.app/Contents/Frameworks/SIUFoundation.framework/Versions/A/XPCServices/com.apple.SIUAgent.xpc/Contents/

Whereas on 10.10 it’s:

/System/Library/CoreServices/Applications/System Image Utility.app/Contents/Frameworks/SIUFoundation.framework/Versions/A/XPCServices/com.apple.SIUAgent.xpc/Contents/Resources/

They are highlighted below.

This section provides a basic, best practice workflow for imaging computers using NetBoot images. The workflow involves the following steps:

  1. Determine which NetBoot images you need to create.

  2. Create clean base OS images.

  3. Create the NetBoot images.

  4. Upload the NetBoot images.

  5. (Optional) Create configurations.

  6. Boot the target computers to a NetBoot image.

  7. Image a computer.

To image computers by using a NetBoot image, you need:

  • A NetBoot server. The server can be one of the following:

    • A server with macOS Server installed and access to macOS Server's NetInstall service
      As of fall 2018, Apple removed NetInstall from the server app. For more information about changes to the macOS server and alternatives, see the following article from Apple's support website: https://support.apple.com/HT208312.

    • A Linux server with the NetBoot/SUS Appliance (Net/SUS) installed

    It is recommended but not required that the server be a dedicated NetBoot server.

  • A tool for creating NetBoot images. The tool can be one of the following:

    • Casper NetInstall Creator (not supported by macOS 10.12 or later)

  • The target computers

  • A network switch
    A gigabit network switch is recommended but not required.

  • Network cables (one for the server and one for each computer)

  • A Thunderbolt to Ethernet or USB to Ethernet adapter for computers that do not have built-in Ethernet ports

Image

The number and type of NetBoot images you create depends on the macOS models in your environment. Typically, a NetBoot image must be created on hardware that matches the target computer. Additionally, each macOS model supports a different range of macOS versions, so you need to make sure that the version in the NetBoot image is supported on the target hardware.

Create Netboot Image From Dmg Online

To start, create an advanced search that lets you view the macOS models in your environment. Then, use the information in the 'System Requirements' section to determine which macOS versions are supported on that hardware and then how many NetBoot images you need to create.

Viewing the macOS Models in Your Environment

  1. Log in to Jamf Pro.

  2. Click Computers at the top of the page.

  3. Click Search Inventory.

  4. Click New .

  5. To save the search, select the Save this Search checkbox.

  6. Enter 'Device Models and Years' in the Display Name field.

  7. Click the Display tab.

  8. Click Hardware, and then select Model.

  9. Click Save.

  10. Click View to view the search results.

  11. Sort the results by model by clicking the Model column heading.

System Requirements

For a comprehensive list of which macOS versions are supported on the Mac models in your environment, see the following article from Apple's support website: https://support.apple.com/HT201686

Now that you know what NetBoot images you need to create, create a clean base OS image for each one. For instructions, see the Creating a Minimal Base OS Image Knowledge Base article.

The procedure for creating a NetBoot image differs depending on the tool. Follow the procedure for the tool you are using.

Using the Casper NetInstall Image Creator

To avoid complications with server-to-client compatibility, create the NetBoot image on the server that will host the image. The NetBoot image must be created with an operating system that is running the same or later version than the operating system used to image client computers.

  1. Download the Casper NetInstall Image Creator from Jamf Nation.

  2. Follow the instructions in the Creating a NetBoot Image and Setting Up a NetBoot Server Knowledge Base article.

Using the AutoCasperNBI

The NetBoot image can be created on any macOS computer, regardless of version.

  1. Download AutoCasperNBI from macmule: https://macmule.com/projects/autocaspernbi/

  2. Open AutoCasperNBI.app.
    Note: This requires administrator credentials for the computer or server.

  3. Select a .dmg of an operating system image.

  4. Select Jamf Imaging.app.

  5. Enter the Jamf Pro server URL. For example, “https://jss.mycompany.com:8443/” (excluding the quotation marks).

  6. Enter a name for the NetBoot image.
    It is recommended that you include the version number of the operating system in the name.
    Important: (NetBoot/SUS only) Do not use spaces in the name as they can break the imaging process in the NetBoot/SUS Appliance.

The procedure for uploading a NetBoot image differs depending on the tool. Follow the procedure for the tool you are using.

For NetInstall

  1. From the NetBoot server, put the NetBoot image in /Library/NetBoot/NetBootSP0/.

  2. Turn on the NetInstall service in Server.app.

  3. Ensure that a green status icon is displayed next to the NetBoot image in the NetInstall pane, indicating that the image is available for deployment.

For NetBoot/SUS Appliance

  1. Log into the Net/SUS server web application.
    The default credentials are:
    Username: webadmin
    Password: webadmin
    Note: It is recommended that you change the default credentials for better security.

  2. Click NetBoot Server.
    On a smartphone or iPod touch, this option is in the pop-up menu.

  3. Click Upload Net Boot Image.
    This connects you to the SMB share where NetBoot images are stored.

  4. Enter credentials to the share and click Connect.
    The default credentials are:
    Username: smbuser
    Password: smbuser
    Note: It is recommended that you change the default credentials for better security.

  5. Copy the NetBoot image to the SMB share.
    Important: The name of the folder cannot contain any spaces.

  6. Return to the NetBoot/SUS server web application and refresh the page.

  7. Choose the NetBoot image from the pop-up menu.

  8. Choose subnets for the NetBoot image by entering a subnet and a netmask. Then click Add Subnet.

  9. Click Enable NetBoot.
    A green status icon is displayed next to the NetBoot image in the NetInstall pane.
    If a red status icon is displayed, do one of the following:

    • Ensure you are using the subnet that includes the NetBoot server. (For more information, see http://www.subnet-calculator.com.)

    • Ensure there are no spaces in the NetBoot image filename.

Configurations give you a quick way to specify what should be installed and configured on computers during imaging. Using configurations can speed up the imaging process. For more information, see Configurations in the Jamf Pro Administrator's Guide.

The NetBoot server must be on the same subnet as the target computers. For information about booting computers across subnets, see the following article from Apple's support website: https://support.apple.com/HT202059

This section explains two ways to boot to a NetBoot image: manually and using a policy. The manual method is useful for testing purposes, and testing is recommended before deploying a policy that boots all computers to the NetBoot image.

Note: If you are booting a macOS 10.11 or later computer to a NetBoot image, the computer must first trust the NetBoot server. For more information, see the Booting a macOS 10.11 or Later Computer to a NetBoot Image Using a Policy or Jamf RemoteKnowledge Base article.

Manually Booting a Computer to a NetBoot Image

Create Netboot Image From Dmg Files

  1. From the target computer, navigate to Apple menu > System Preferences.

  2. Click Startup Disk.

  3. Select the NetBoot image.
    Note: Hover over the NetBoot image to view its IP address.

  4. Click Restart.

Using a Policy to Boot Computers to a NetBoot Image

  1. Log in to Jamf Pro.

  2. Add the NetBoot server to Jamf Pro by doing the following:

    1. In the top-right corner of the page, click Settings .

    2. Click Server Infrastructure.

    3. Click Netboot Servers.

    4. Click New .

    5. Configure the settings on the pane, making sure to choose 'Use default image' from the NetBoot Image pop-up menu.

    6. Click Save.

  3. Click Computers at the top of the page.

  4. Click Policies.

  5. Click New .

  6. Use the General payload to configure basic settings for the policy, including the trigger and execution frequency.

  7. Select the Restart Options payload , and choose 'Restart immediately' from the No Users Logged In Action or User Logged In Action pop-up menu.

  8. Choose the server that is hosting the NetBoot image from the Boot Computers To pop-up menu.

  9. Click the Scope tab and specify the computers you want to boot to the NetBoot image.

  10. Click Save.

  1. From the target computer, open Jamf Imaging.

  2. Modify the basic imaging settings as needed.

  3. Click Image.

Target computers not booting to the NetBoot image

If target computers are not booting to the NetBoot image:

  1. Identify where the failure occurred.

  2. Boot the target computer in verbose mode.

    • Hold down Command-V.

    • Additional messaging will display on the computer screen at startup and help to identify the failure.

  3. Ensure the server and client(s) are on the same subnet range.

  4. Isolate your server and client(s) to a private network on a dumb switch.

  5. Recreate the NetBoot image.

Computers failing to block copy

If block copying of the base OS fails, is skipped, or Jamf Imaging begins “Installing Base OS”:

Create a base operating system using a different method. For more information, see the following article from Apple's support website : https://support.apple.com/HT203638

Jamf Imaging Debug Mode

If a computer does not finish imaging, put Jamf Imaging into full debug mode and contact your Jamf account representative. Putting Jamf Imaging into debug mode will help your Jamf account representative identify the issue. To put Jamf Imaging into full debug mode, execute the following command when creating the NetBoot image:

When full debug is enabled in this way, a log is created on the target computer. This log can be found in the following location:

/Library/Logs/JAMF/ImagingScripts.log

A debug log is also created on the host computer running Jamf Imaging. This log can be found in the following location:

~/Library/Logs/JAMF/CasperImagingDebug.log

Logs and any screenshots of the issue are also helpful. From the target computer, the logs to provide are:

  • /var/log/system.log

  • /var/log/jamf.log

  • /var/log/install.log

From the Jamf Pro server, the log to provide is:

/path/to/jss/logs/JAMFSoftwareServer.log

See the following documentation for more information about NetBoot-related concepts and procedures:

  • Automating the Imaging Process Knowledge Base article

  • Booting a macOS 10.11 or Later Computer to a NetBoot Image Using a Policy or Jamf RemoteKnowledge Base article

  • The 'How Many NetBoot Clients Can Connect to a Server' article from Apple's support website:
    https://support.apple.com/kb/TA21329

  • The 'If your NetBoot clients cannot start up from the server' article from Apple's support website:
    https://support.apple.com/HT203437