Official "FOG on a Mac" thread
-
I was intending to get some documentation for imaging Macs smoothed out, but yeah, whatever works. FOG server on a Mac, wild but OK!
Anything involving FOG & Macs should go here.
-
fyi, for anyone interested. the easiest way i know of, at the moment, to allow a mac to upload or download an image is to:
[LIST]
[]manually register the mac in the gui
[]create the directory structure /EFI/boot/ on a FAT32 flash drive
[]put the ipxe.efi file from the tftpboot directory into the /EFI/boot directory, renamed to bootx64.efi
[]boot the mac from the flash drive (hold option down on startup)
[/LIST]
the menu will not come up on the mac, but it will perform upload/download tasks scheduled through the gui
i can’t guarantee that this will work on all macs, i have had it fail to work on a macbook pro, but it has worked on 2 imacs and a mac mini. -
[quote=“Junkhacker, post: 43984, member: 21583”]
[LIST]
[*]create the directory structure /EFI/boot/ on a FAT32 flash drive
[/LIST]
[/quote]When you say that, do you just mean to format a flash drive using FAT32, and then making a folder called EFI, and then one inside that called boot ?
That simple? Nothing else?What options should be chosen for the “Image Type” and “partition”, generally? Assuming OSX.
-
yeah, it seems that the mac uefi system searches volumes for a /EFI/boot/bootx64.efi file when you hold down option on startup. if it finds one, it can try to use it.
for OS:Apple Mac OS, and
image type: Multiple partition single disk non-resizeable (though, i think it did resize it anyway)
partition: everything
for testing, i successfully deployed windows 7 and windows 8 to the imac, and then back to mac os. -
Brilliant. I must try this.
But, I have other questions…
WHAT IF…
we make a second partition on the mac, make it FAT32, and make this structure within there?
Could we simply choose to boot from that partition, and then it’ll do any scheduled tasks we had?
-
in theory, i bet you could make it a small NTFS partition instead of FAT32. then those pesky users wouldn’t be able to edit it’s contents from within Mac OS (read only NTFS suppport unless you install 3rd party software)
but i really would prefer to find a solution that works “out of the box” without modifying systems first -
[quote=“Junkhacker, post: 43993, member: 21583”]in theory, i bet you could make it a small NTFS partition instead of FAT32. then those pesky users wouldn’t be able to edit it’s contents from within Mac OS (read only NTFS suppport unless you install 3rd party software)
but i really would prefer to find a solution that works “out of the box” without modifying systems first[/quote]I’m just not in love with the idea of using flash drives for this. I’m so sick of Ghost, and this reminds me of it. Clearly I’m going to try with a flash drive first, then I’m going to play around with making a actual partition for this on the Mac’s hard disk.
-
for me, this is only for “proof of concept” in getting ipxe to work on macs. my goal is to get an open source solution working with (and possibly integrated with) fog, that will respond to mac netboot requests and show up as a valid network boot option without need of modifying anything on the mac.
-
Well, what if the network boot option had the same file structure within it?
-
my understanding is that’s what i’ve got to do. a server needs to respond to the Macintosh’s netboot request with the location of a .dmg file that will contain the ipxe file (set up with the directory structure and bootx64.efi file mentioned) when mounted by the mac.
-
Please follow this: [url]http://fogproject.org/wiki/index.php/FOG_on_a_MAC[/url]
I’ve got Mac OS X imaging up and running at our university! No USB sticks or CDROMs! I am working on the wiki as I find time to squeeze that in…
Any comments are highly appreciated!
-
these guys seem to have figured out how to do it with DNSMasq [url]http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2010q1/003638.html[/url]
-
[quote=“Uncle Frank, post: 44006, member: 28116”]Please follow this: [url]http://fogproject.org/wiki/index.php/FOG_on_a_MAC[/url]
I’ve got Mac OS X imaging up and running at our university! No USB sticks or CDROMs! I am working on the wiki as I find time to squeeze that in…
Any comments are highly appreciated![/quote]
Pretty good beginnings there. So, that custom code inside of class “AppleNBI-i386” will only execute for Macs, I assume? And, what might a complete dhcpd.conf file look like? One that works for both Mac and PC?
-
Interesting… looking for a full dhcpd.conf on the web I found this: [url]http://fogproject.org/wiki/index.php/Using_your_FOG_server_to_backup_and_restore_Macintosh_computers[/url]
Does anyone know who wrote this?
@Junkhacker: Thanks for the link! I’ll read through it and add it to the wiki!
-
[quote=“Uncle Frank, post: 44015, member: 28116”]Interesting… looking for a full dhcpd.conf on the web I found this: [url]http://fogproject.org/wiki/index.php/Using_your_FOG_server_to_backup_and_restore_Macintosh_computers[/url]
Does anyone know who wrote this?
[/quote]According to the WiKi history, “FogFrog02” was the only person who ever made a change to that page, in April of 2012
-
Saw that… Does anyone know him/her? I also found a post (his/her only post!): [url]http://fogproject.org/forum/threads/how-to-using-your-fog-server-to-backup-and-restore-macintosh-computers.625/[/url]
Should I merge those infos into “FOG on a MAC”?? I don’t like to have similar information in several different places in one wiki… makes it hard to keep it all up to date.
-
yes merge the information. then do a page insertion on the old page. This way both pages will have updated info
Edit:
See this page for what I mean…[url]http://fogproject.org/wiki/index.php?title=Multicast[/url]