Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

NetBoot appears in startup disks but clients will not boot to the images

I recently upgraded a 10.6.8 server to 10.7.4 server. I did a clean update but saved all the needed information off of it.


The problem I am having is with Netboot. I have the service enabled and the images are in place again. These are the same images from the old server, so I know they worked at one point in time.


Now I can goto the Startup Disk option and see the disks there, but when I try to Netboot I just get the folder with the question mark.


This is in a school so we do have multiple subnets, however the IP address on the server remained the same, so the helper addresses are still working.


I have tried to create a new netboot image, but I am new to all of this and it didn't work (I blame me not knowing how to make one, so yeah).


I am currently trying to use Deployment Studio (as was suggested here https://discussions.apple.com/thread/3962094?start=0&tstart=0), but I really think there is something wrong with my set up of the server and not the images.


Any help is greatly apprecaited.


Thank you,


Keegan

Mixed Environment

Posted on Nov 20, 2012 12:03 PM

Reply
5 replies

Nov 26, 2012 8:45 AM in response to Keegers

It is possible that one of underlying services required isn't running or configured properly. Here's a little script I wrote to help diagnose issues like this.


If the output doesn't help you figure it out on your own, paste it back into this thread.


-Brian


-------------------------------------

#!/bin/sh



# netboot_service_states.sh



httpNetBootPath="/Library/Server/Web/Data/Sites/Default/NetBoot"

nfsExportsPath="/etc/exports"

tftpNetBootPath="/private/tftpboot/NetBoot"

serviceDataPath="/Library/Server/NetInstall"

savedClientsPath="${serviceDataPath}/ClientData"

savedImagesPath="${serviceDataPath}/ImageData"



# Dump state pertaining to the bootp service

isRunning=`sudo launchctl list | grep bootpd`

serviceState="enabled"

if [ "${isRunning}" == "" ]; then

serviceState="disabled"

fi

echo "bootp service is ${serviceState}\n"



# Dump state pertaining to the TFTP service

isRunning=`sudo launchctl list | grep tftp`

serviceState="enabled"

if [ "${isRunning}" == "" ]; then

serviceState="disabled"

fi

echo "TFTP service is ${serviceState}"



echo "TFTP Service data folder"

if [ -d "${tftpNetBootPath}" ]; then

ls -lsa "${tftpNetBootPath}"

fi



# Dump state pertaining to the HTTP service

echo "\nHTTP service data folder"

if [ -d "${httpNetBootPath}" ]; then

ls -lsa "${httpNetBootPath}"

fi



# Dump state pertaining to the NFS service

echo ""

nfsd status

if [ -e "${nfsExportsPath}" ]; then

echo "Contents of ${nfsExportsPath} is:"

cat "${nfsExportsPath}"

fi



# Dump state pertaining to the re-promotion data cache

if [ -e "${savedClientsPath}" ]; then

echo "\nSaved client share points"

cat "${savedClientsPath}"

fi



if [ -e "${savedImagesPath}" ]; then

echo "\nSaved image share points"

cat "${savedImagesPath}"

fi

Nov 27, 2012 7:20 AM in response to Brian Nesse

Not sure what to do from here. Eveything looks fine to me, but I dont know what the permissions should be.


Output

------------------------


sh-3.2# ./NetBootServices.sh

bootp service is enabled


TFTP service is enabled

TFTP Service data folder

total 8

0 drwxr-xr-x 3 root wheel 102 Nov 8 10:53 .

0 drwxr-xr-x 3 root wheel 102 Nov 8 10:16 ..

8 lrwxr-xr-x 1 root wheel 44 Nov 8 10:53 NetBootSP0 -> /Volumes/ServerHD/Library/NetBoot/NetBootSP0


HTTP service data folder

total 8

0 drwxrwxr-x 3 root admin 102 Nov 8 10:53 .

0 drwxrwxr-x 16 root admin 544 Nov 8 10:50 ..

8 lrwxr-xr-x 1 root admin 44 Nov 8 10:53 NetBootSP0 -> /Volumes/ServerHD/Library/NetBoot/NetBootSP0


nfsd service is enabled

nfsd is running (pid 80, 20 threads)

Contents of /etc/exports is:

### [ Begin Server Admin managed exports. Do Not Edit.

/Volumes/ServerHD/Library/NetBoot/NetBootSP0 -ro -maproot=root

/Volumes/ServerHD/Library/NetBoot/NetBootClients0 -ro -maproot=root

### ] End Server Admin managed exports.

Nov 30, 2012 8:22 AM in response to Keegers

The communication should follow a very specific process:

Client (sends) Server (sends)

Discover Offer

Request Ack

Inform[list] Ack

Inform[select] Ack


Many times, in the scenario you are seeing, all you will see is an endless Discover -> Offer loop. That usually happens when the DHCP packet gets "stolen" by another DHCP server.


If you can, a simple way to test this would be to get the client & server on a private network.

NetBoot appears in startup disks but clients will not boot to the images

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.