Difference between revisions of "FOG on a MAC"
(→Using stones) |
(→Using stones) |
||
Line 11: | Line 11: | ||
To get this up and running you don't really need to know all this. Setup your DHCP server properly and off you go. I only used ISC DHCPd together with Macmini so far. Please let us know on how to do this with dnsmasq and other Macintoshs, so we can update this page! Edit /etc/dhcp/dhcpd.conf and add the following: | To get this up and running you don't really need to know all this. Setup your DHCP server properly and off you go. I only used ISC DHCPd together with Macmini so far. Please let us know on how to do this with dnsmasq and other Macintoshs, so we can update this page! Edit /etc/dhcp/dhcpd.conf and add the following: | ||
− | < | + | <code> |
− | # Important with apple macintosh! | + | # Important with apple macintosh! |
− | authoritative; | + | authoritative; |
− | allow booting; | + | allow booting; |
− | + | ||
− | class "AppleNBI-i386" { | + | class "AppleNBI-i386" { |
match if substring (option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386"; | match if substring (option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386"; | ||
option dhcp-parameter-request-list 1,3,17,43,60; | option dhcp-parameter-request-list 1,3,17,43,60; | ||
Line 23: | Line 23: | ||
next-server <your-tftp-server-ip>; | next-server <your-tftp-server-ip>; | ||
filename "ipxe.efi"; | filename "ipxe.efi"; | ||
− | } | + | } |
− | </ | + | </code> |
This is just one example on how to do this. There are a lot of great tutorials about this on the web. Help yourself of you want to have an advanced setup of NetBoot... | This is just one example on how to do this. There are a lot of great tutorials about this on the web. Help yourself of you want to have an advanced setup of NetBoot... | ||
Restart your DHCP server after the config change and try booting one of your Macintoshs holding down the 'n' key while it comes up. You should see a globe - instead of the apple - on the screen and iPXE shortly after this! | Restart your DHCP server after the config change and try booting one of your Macintoshs holding down the 'n' key while it comes up. You should see a globe - instead of the apple - on the screen and iPXE shortly after this! | ||
+ | |||
+ | This method is called 'Using stones' as people use stones or other simliar objects to boot a whole lab into NetBoot... but there are other ways to achieve this too! |
Revision as of 11:03, 17 March 2015
Server Install
It has been reported that the FOG server will run on a MAC without any issues.
Client Tutorial
Netbooting Apple Mac
Intel Macintoshs all use (U)EFI - where common PCs have a BIOS - to bootstrap and to some extend talk to hardware. Several different ways exist to make those Macs boot from network. Depending on your preference and setup choose whichever suites you.
Using stones
On startup (when you hear the sound, before Apple sign on the screen) you can hold down 'n' to boot from network. Apple uses a kind of special protocoll called NetBoot which is partly similar or includes DHCP protocol. But there is more to it. Find a detailed explanation here if you want to dig into it. To get this up and running you don't really need to know all this. Setup your DHCP server properly and off you go. I only used ISC DHCPd together with Macmini so far. Please let us know on how to do this with dnsmasq and other Macintoshs, so we can update this page! Edit /etc/dhcp/dhcpd.conf and add the following:
# Important with apple macintosh! authoritative; allow booting; class "AppleNBI-i386" { match if substring (option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386"; option dhcp-parameter-request-list 1,3,17,43,60; if (option dhcp-message-type = 8) { option vendor-class-identifier "AAPLBSDPC"; } if (option dhcp-message-type = 8) { option vendor-encapsulated-options 08:04:01:00:0b:7e:82:0a:4e:65:74:42:6f:6f:74:30:30:31; } next-server <your-tftp-server-ip>; filename "ipxe.efi"; }
This is just one example on how to do this. There are a lot of great tutorials about this on the web. Help yourself of you want to have an advanced setup of NetBoot...
Restart your DHCP server after the config change and try booting one of your Macintoshs holding down the 'n' key while it comes up. You should see a globe - instead of the apple - on the screen and iPXE shortly after this!
This method is called 'Using stones' as people use stones or other simliar objects to boot a whole lab into NetBoot... but there are other ways to achieve this too!