Client won't boot to PXE
-
I followed the directions to install and prepare FOG in the link below.
[url]http://www.fogproject.org/wiki/index.php/Ubuntu_12.04[/url]
The install went fine and I am able to access the Web GUI just fine. After following the directions, I am unable to get clients to PXE boot. It always fails with the error that not PXE file was received. I am running Ubuntu 13.10 and the latest 1.0.1 FOG.
I am testing this at home with my DHCP enabled Linksys router. I was hoping my router could assign the IP address and then FOG could load the PXE boot menu.
Anyone know what could be wrong?
Thanks,
Justin
-
fog relies on a DHCP server providing options 66 and 67 (next-server and boot-filename) on DHCP requests. that’s how clients get the information on “what” and “where” the network boot information is. i don’t know of any linksys router that can do that with the stock firmware, so you will most likely need to set up DNSMasq [url]http://www.fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server[/url]
-
Using DNSMasq with FOG can be a little tricky, since FOG 1.0.1 switched to iPXE. Any documentation you find about setting it up that isn’t from the last month or so won’t help you… I was able to get a custom chainloaded menu set up, it works really great for my purposes (besides FOG, I PXE Boot live CD LINUX distros, WinPE, and some recovery tools). I followed some of the steps [URL=‘http://fogproject.org/forum/threads/dnsmasq-help-for-ipxe-stuff.10222/’]here[/URL], check it out… IF you have any questions, I’m happy to help. Good luck!
-
[URL=‘http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server#DNSMASQ_settings_for_iPXE’][FONT=sans-serif][COLOR=#3366bb]http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server#DNSMASQ_settings_for_iPXE[/COLOR][/FONT][/URL]
You need to set up DNSMASQ in order to use your linksys router to pxe boot.
-
Thanks for the replies.
The PXE boot worked when I downloaded [URL=‘http://sourceforge.net/projects/freeghost/files/FOG/fog_0.32/’][B][FONT=sans-serif][U][COLOR=#0099cc]fog_0.32[/COLOR][/U][/FONT][/B][/URL] using my home Linksys router. However, I had trouble accessing the RUI with that version. Now that I am installing the latest 1.0.1 and I can access the RUI but not get PXE to boot.
I am just doing this at home as a test. Once I am ready, I will be doing this on a network with a Cisco ASA 5505. I am guessing that will need its own setting to be modified to get it to work.
I was only going to image about 15 computers. At this point, it almost isn’t worth dealing with it.
The weird thing about this is that the FOG install will wake up the computer I am trying to copy the master image from but PXE still won’t boot.
I will look through your suggestions and see what I can get working.
Justin
-
That is because it was a PXE boot system, fog 0.33+ uses iPXE.
You are correct when you install the server to it’s network location, settings will most definitely change, however, with setting up the dnsmasq service it will be a drop in installation.
15 computers isn’t enough to worry about getting your fog server working and your machine pxe booting?
I deem any imaging job that I have to repeat processes even more than once worthy of getting fog working!
-
Thank you for the reply.
I am following the directions to get fog 0.32 installed on Ubuntu 12 with this link.
[url]http://www.fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server[/url]In step five, I am unable to edit the exports file. How do I do this? It is in use or write protected?
Justin
-
Kids break/turn off improperly PCs all the time in my environment. Very easy to reimage and have the apps auto installed. a few seconds work that I can do from anywhere via RDP and web rather than going on site and having to spend ages doing it.
-
I run my FOG as a VM on my clients systems… it wouldn’t take much RAM to run a PFsense VM to do DHCP or even to have FOG do it if your OK with conf files.
-
[quote=“JustinGSEIWI, post: 27621, member: 23733”]Thank you for the reply.
I am following the directions to get fog 0.32 installed on Ubuntu 12 with this link.
[url]http://www.fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server[/url]In step five, I am unable to edit the exports file. How do I do this? It is in use or write protected?
Justin[/quote]
[code]sudo gedit /etc/exports[/code]