OS X NetInstall

How to create NetBoot and NetInstall images

The latest in our series on using the NetInstall service.

netinstall mac icon

Now that we’ve created an image with a basic installation of El Capitan and a couple of apps, it’s time to create images we can add to the NetInstall service.

As a reminder, there are three kinds of images you can create with the System Image Utility.

  • NetInstall Image: A network-based installer image you can use to install or update an operating system over a network connection.
  • NetBoot Image: A network-based operating system you start your Mac with rather than using an operating system installed on a local hard drive.
  • NetRestore Image: A network-based image that wipes your Mac’s hard drive and replaces it with the contents of the network image.

The NetRestore image will erase the contents of the hard drive on the Mac you install it on!!! I’ll say it again later, but DO NOT run this image on a Mac that isn’t backed up or from which you can’t afford to lose what is installed on the hard drive. It will be gone once you run the NetRestore. No fooling!

Create a NetBoot image

To create your NetBoot image:

  1. Locate the disk image you created last week using AutoDMG and double click it. Make sure you let it verify.
  2. Open the System Image Utility.
  3. Click the Source menu, and select your disk image’s Macintosh HD volume.
    selectsource
  4. Click Next.
  5. Choose NeBoot Image.
    netboot
  6. Click Next and agree to the software license.
  7. Click Next at the Add Configuration Profiles window.
  8. Type NetBoot Client in the Generate Names field.
    generatenames
  9. Click Next.
  10. Click Next on the Directory Servers window.
  11. Type NetBoot for NetInstall Primer in the Image Settings window. Make no other changes.
    imagesettings
  12. Click Next.
  13. Click Next in the Supported Computer Models window.
  14. Click Next in the Filter Clients by MAC Address window.
  15. Give your image a name and save it on your Server’s Desktop.

When the image creation is complete, don’t close the System Image Utility. We’ll use it again to create a NetRestore image.

Create a NetRestore Image

  1. After the NetBoot image completes, click the Start Over button in the System Image Utility.
    startover
  2. Choose NetRestore Image.
  3. Click Next.
    netrestore
  4. Click Next until you get to the System Configuration window.
  5. Type NetRestore Client in the System Configuration window.
    nrsystemconfig
  6. Click Next until you get to the Image Settings window.
  7. Type NetRestore for NetInstall Primer in the Network Disk field, make not other changes and click Next.
    nrimagesettings
  8. Click Next until you’re asked to save the image. Give the image a name and save it to your Servers Desktop.

Add the new images to your NetInstall server

To make your new images available as NetInstall images you need to move them to the location the NetInstall service expects to find them:

  1. Open the Finder on your server.
  2. Click the Go menu and select Go to Folder.
  3. Type the path to your image folder (/Library/NetBoot/NetBootSP0).
  4. Drag the two images into the NetBootSP0 folder.
  5. Open the Server app.
  6. Select the NetInstall service in the Server app’s sidebar.
  7. Verify that you have three images in the Images section of the NetInstall service.
    3images
  8. Select the NetBoot image.
  9. Click the Action menu (the menu below Images that looks like a gear) and select Use as Default Boot Image.

That’s it! You now have three images you can use to start you Mac over a network. To make sure everything is working correctly:

  1. Open System Preferences on your client computer. (Remember, it needs to be on your Ethernet network.)
  2. Select the Startup Disk preference.
  3. Verify that you can see all three of your images.
    serviceready

Next, we’ll start up using your two new images.

To comment on this article and other Macworld content, visit our Facebook page or our Twitter feed.
Shop Tech Products at Amazon
Notice to our Readers
We're now using social media to take your comments and feedback. Learn more about this here.