patch isc-dhcp server for mac startup disk
-
@SlimJim OK now you have me a bit confused. Initially I got the impression you were trying to install FOG on OSX(??).
If your fog server is Ubuntu when you install fog, if you tell the installer you need dhcp it should install isc-dhcp for you. There is nothing to compile or install extra. It should even configure the basics in the config file for you.
As for Win2012 dhcp server you can do similar to isc-dhcp. ref: https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence
There are people on the fog forums that have successfully pxe booted and imaged macs, so I know its possible. The netboot requirements seem to be pretty steep as compared to IA64 or IA32 requirements. But it should be possible.
-
@SlimJim You also might want to read through this thread for ideas: https://forums.fogproject.org/topic/5790/boot-pxe-macbook-imac
-
George,
Thanks for all the good information!! Just realized my initial question was not very clear… I’m wondering if anyone can help me apply the isc-dhcp-server patch that allows the dhcp server to listen on random ports > 1024 in order to see the netboot server (FOG) in startup disk?
-
I have everything working by using “stones”, but wanted to explore the other options
-
@SlimJim I think you may be confusing the FOG server with a NetBoot server, possibly?
If you don’t explicitely use NetBoot and just want to use FOG iPXE and what not, then the default DHCP config that comes with FOG should work. (including startup disk and such).
-
@SlimJim Is this what you mean? https://wiki.fogproject.org/wiki/index.php?title=FOG_on_a_MAC#Startup_Disk
It was me who added this hint on adding the patch to isc-dhcp-server and so I feel like I should jump in here as well.
Do you know how to build packges from source on ubuntu?? Please start by reading about this topic on the web.
I am a bit short of time today and can’t go into the details right now. So please start reading and ask if you can’t get any further.
-
Thanks for jumping in, yes, that is exactly what I was referring to, I will give this a shot. When you do have some time, can you please answer a few questions that I have.
I know people have this working, but does that mean they are capturing mac images using fog?
Or are people using some other method of creating the images and deploying with fog?
Any general guidance would be greatly appreciated, as I am short on time because the person tasked with this had 6 months to figure all this stuff out and did nothing and now it has fallen on me… LOL
Thanks in Advance,
James
-
@Quazz
Just saw your response, I’m not really sure as macs are not my strong suit, I’m just short on time and trying to figure out the quickest way to get imaging working solely with Fog. I did try enabling the dhcp server that is built into the installfog.sh script and I no longer see fog as an option when holding ‘alt’, nor ‘N’ on startup and in system preferences > startup disk I do not see fog either. Please feel free to explain further as I’m not sure what you meant by this and the results were not what I expected.Thanks in Advance,
James
-
@SlimJim Sorry for my late reply. I have been offline over the long weekend here in Germany.
I used FOG to capture an image from a MAC client and deploy it to about 50 MACs via multicast just nicely at my old job. Now I don’t have access to those MACs anymore but others have done this as well. I hope we can get you up and running with this soon!
The fancy stuff in the wiki was meant for people who have it all running and just want to make it perfect by patching isc-dhcp-server to make it show up in the “startup disk” dialog of MAC OS X. I’d suggest you don’t bother about this for now. You said you have the clients netbooting using isc and pointing to fog/ipxe.efi. Why not stick to this for now? You should be able to capture and deploy images this way using FOG. From my point of view the ‘bless’ method (see in the wiki) is kind of easy but still very comfortable (no need to use stones).
What kind of MACs (exact model name) do you have by the way? You also said something about using images created not by FOG but by deploy studio. So far I don’t know of anyone having done something like this.
-
@SlimJim Any news on this?
-
@SlimJim Do you still need assistance with his? From the other post it sounds like you are able to image your Macs already… Can we mark this solved?
-
@Sebastian-Roth Yea, I’m good now, actually got it to work with a Windows DHCP server as I was hoping.
Thanks for all your help!!