Cant PXE boot to fog server
-
FOG_BOOT_EXIT_TYPE is only relevant for .33+ versions of Fog.
does the computer boot properly when not connected to the network? -
[quote=“mkstreet, post: 27353, member: 24215”]Hi Tom,
Thanks for the reply. I will try that on Monday. Would this FOG_BOOT_EXIT_TYPE affect all exits to the local disk boot – and not just boots-after-deploy? I have this same get-stuck “Booting from local disk…” when I choose “1” from the PXE menu.
Do I need to be concerned about that message during FOG Hardware Inventory about unknown BIOS ?
Sorry about not including the version info. I’m using… Fog Vers: 0.32 O/S: Ubuntu 12.04.04 LTS (Pangolin)[/quote]
As you’re using 0.32. There are two options to fix this issue for you.
First is, if you’re able to, upgrade to 1.x.x FOG. The reason being is related to what I’ll ask you to try secondly. You will have to make a change on the DHCP Option 67 to be looking for file: undionly.kpxe as opposed to pxelinux.0 as was done in the past. 1.x.x does chainloading natively and should help with your issue. With it, you’ll be able to change the exit type of FOG as well, so if one doesn’t work, try the other and you should be good to go.
Second, look up chainloading howto on the wiki. This should help you out if you can’t upgrade.
-
[quote=“Junkhacker, post: 27364, member: 21583”]FOG_BOOT_EXIT_TYPE is only relevant for .33+ versions of Fog.
does the computer boot properly when not connected to the network?[/quote]If its not connected to the network, yes it will boot properly.
It tries the network for about 40 seconds because PXE is our first boot device, then it gives up and goes on normally to the local HDD.
If I press escape, it will exit trying PXE and go on normally as if it had given up on PXE too. -
[quote=“Tom Elliott, post: 27365, member: 7271”]As you’re using 0.32. There are two options to fix this issue for you.
First is, if you’re able to, upgrade to 1.x.x FOG. The reason being is related to what I’ll ask you to try secondly. You will have to make a change on the DHCP Option 67 to be looking for file: undionly.kpxe as opposed to pxelinux.0 as was done in the past. 1.x.x does chainloading natively and should help with your issue. With it, you’ll be able to change the exit type of FOG as well, so if one doesn’t work, try the other and you should be good to go.
Second, look up chainloading howto on the wiki. This should help you out if you can’t upgrade.[/quote]
We’ve been using FOG a grand total of about two weeks.
In the first week, we tried getting 1.0.0 FOG from SVN (this was just prior to 13-May-2014) and installing it (on Ubuntu 14.04). Since we are using static IP in this computer lab, we did try setting up FOG as ProxyDHCP with dnsmasq (btw, those are what the wiki chainloading links redirect to). We had trouble getting any of that to work. Though offhand all the things we encountered are a blur now.
Our solution attempt was to go back to FOG 0.32 and Ubuntu 12.04.04. We did this and upload/deploy started working right away and so easily that our days/hours of earlier effort with 1.0.0 FOG and dnsmasq config seem like wasted hours of head-pounding-wall.
Right now, it’s really only this issue of BOOT LOCAL DISK remaining and this Com Lab goes live in under 24 hours. If changing that FOG_EXIT_BOOT_TYPE is not an option, then I will have to wait until there is time to “play” with this again.
-
Try from this wiki:
[url]http://fogproject.org/wiki/index.php/Boot_looping_and_Chainloading[/url] -
[quote=“Tom Elliott, post: 27378, member: 7271”]Try from this wiki:
[url]http://fogproject.org/wiki/index.php/Boot_looping_and_Chainloading[/url][/quote]Ah, that looks interesting. It’s 8am on Sunday here. When I get to school tomorrow, I will try this and report back as soon as I can.
Thanks much! -
[quote=“Tom Elliott, post: 27378, member: 7271”]Try from this wiki:
[url]http://fogproject.org/wiki/index.php/Boot_looping_and_Chainloading[/url][/quote]FYI… on that link above it says:
[SIZE=5][B]Update SYSLINUX[/B][/SIZE]
[LIST]
[]Download and extract the latest SYSLINUX (Currently using 4.04): [url]http://www.kernel.org/pub/linux/utils/boot/syslinux/[/url]
[]Copy/Overwrite the following files to /tftpboot/:
[/LIST]
syslinux-4.04/com32/modules/chain.c32
syslinux-4.04/com32/menu/vesamenu.c32
syslinux-4.04/core/pxelinux.0
But the “latest” syslinux (6.02) doesn’t have these files anymore.
I’ve downloaded the 4.04 version (since that was also referenced in the wiki link). -
[quote=“Tom Elliott, post: 27378, member: 7271”]Try from this wiki:
[url]http://fogproject.org/wiki/index.php/Boot_looping_and_Chainloading[/url][/quote]Tom,
It seems to have fixed the problem. Thanks!
I did use SYSLINUX 4.04…
Mark
-
[quote=“mkstreet, post: 27393, member: 24215”]Tom,
It seems to have fixed the problem. Thanks!
I did use SYSLINUX 4.04…
Mark[/quote]
Perhaps I spoke to soon.
After I restarted FOG and Ubuntu, I tried to do a deploy with multicast. The computers tried to boot and would eventually timeout on trying to locate DHCP.
I un-did these SYSLINUX changes and then they could find DHCP again.
I wonder if it would be better if I used something more recent than SYSLINUX 4.04?
Mark
-
I solved the problem. For some reason the isc-dhcp-server was not running. This hadn’t happened before, but starting that and restarting tftpd-hpa fixed the DHCP issue.
This is for Ubuntu 12.04.04 with Fog 0.32