FOG + Pfsense DHCP



  • Good Day

    I have a problem to get new pc’s to boot to FOG menu.
    The new PC’s are Acer Extensa X2610G using UEFI.
    I did setup my pfsense to enable network booting with settings as per screenshot.

    0_1456469777863_fog_pfsense.jpg

    Please advise where i go wrong as pc does load “ipxe initialising devices”, but then quickly runs through steps not seen by eye and then continue to boot harddrive.
    My legacy boot via undionly.kpxe works perfect.

    Please Help.

    Thank You

    Albertus Geyser


  • Moderator

    @Albertus At this time there is no defined release date for 1.3.0 stable. The developers are working hard to get the trunk version to the stable level.

    The situation is the more people we can get into the trunk version to find the bugs, the quicker the bugs can be identified and resolved. If people not upgrade waiting for the stable release the longer it will take to find the bugs. So the best situation is to get as many people as possible into the trunk stream to identify issues faster. This will make the 1.3.0 release come faster too.

    Understand when I say bugs, the trunk is not unstable today. There are many updates to fog per week as the code is fine tuned for best performance. So you will need to update your fog code frequently to take advantage of the performance improvements.



  • @george1421 When will 1.3.0 be realesed as production (Stable) version?


  • Moderator

    Please understand the recommendation was for you to upgrade to the latest trunk version (i.e. a pre release of version 1.3.0) not to reinstall 1.2.0. Version 1.2.0 does not work well with EFI systems. The upgrade process is outlined in the link provided by Wayne Workman: https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_trunk

    Your error screen shows that the ipxe.efi does not exist on your FOG server. Which is understandable since this file did not exist in FOG 1.2.0. The file snponly.efi is the recommended file for 1.2.0.



  • Good Day

    I reinstalled FOG 1.2.0.

    When booting with ipxe.efi it now gives me the following:

    0_1456736985201_ipxe4.jpg

    What could still be the problem?

    Thank You

    Albertus Geyser


  • Moderator

    @Albertus said:

    @george1421 the numbers in cloud is 3613.

    I agree Wayne 3613 is pretty old in the trunk. The latest trunk version (as I write this) is 6483. The Devs have made great progress in the last month to support the newest hardware and hard drive configurations. Its well worth the effort to upgrade. When you get to the latest trunk release and still have issues, then we can get the Devs attention to your specific problem.

    From your original post, I’m pretty sure your issue is not pfsense or pxe booting.


  • Moderator

    @Albertus said:

    @george1421 the numbers in cloud is 3613.

    You should update to the latest in this case, since you are already on Trunk. There’s been a lot of changes since 3613.

    You can do that by following one of the methods here:
    https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_trunk

    I would recommend either the svn or the git method. Either is fine.



  • @george1421 the numbers in cloud is 3613.


  • Developer

    You are perfectly right Tom. This can’t be an official FOG 1.2.0 binary - not just because of the version but there actually was no ipxe.efi in FOG 1.2.0 and neither was there a i386-efi/ipxe.efi file in /tftpboot directory.

    So I guess he downloaded a new set of iPXE binaries somewhere around last summer. At least the version number d739 is pointing to an iPXE commit around June 2015. But anyhow.

    @Albertus Downloading a set of iPXE binaries is fine if they work for you. So don’t worry, you did nothing wrong. You can try downloading a new set of iPXE binaries to see of they work better (this is on debian - you might need to adjust some of the service commands if you are on CentOS):

    sudo service tftpd-hpa stop
    sudo mv /tftpboot /tftpboot.backup
    sudo mkdir /tftpboot
    sudo svn export http://svn.code.sf.net/p/freeghost/code/trunk/packages/tftp/ /tftpboot
    sudo chown -R fog /tftpboot
    sudo service tftpd-hpa start
    

    The last picture (BIOS mode) you posted is cut off at the bottom exactly where I guess there might be valuable information.
    But the UEFI mode picture is better! “Exec format error” could be because the kernel you are using is too old. EFI_STUB was added in kernel version 3.16.x and FOG 1.2.0 default kernel is 3.15.6!!
    Please run file /var/www/fog/service/ipxe/bzImage on your FOG server to see which kernel version you have. You can update the kernel in the web interface (FOG configuration).

    Edit: Just stumbled upon the commit that had iPXE version d739 (git / svn FWIW)


  • Moderator

    @Albertus Lets take a step back and think for a minute. I think we have a language translation issue. This is no problem, we will just take the information collection slower.

    Lets start with the basics. When you access the FOG management GUI, there is a picture of a cloud on the upper left side of the screen. On that cloud there are little numbers on the right side of the cloud. Can you tell us what numbers are there?



  • @Tom-Elliott should i replace some files? is that what you mean?
    If so where can i find files to replace?


  • Senior Developer

    @Albertus again those are not 1.2.0 ipxe files. Somebody switched out the files. How do I know?

    The version of ipxe is found with the d739 part. 1.2.0 ipxe started with a letter a if I recall correctly.



  • Good Day

    Added are images of what i get when booting legacy mode on this client:

    0_1456502514575_ipxe2.jpg

    0_1456502552196_ipxe3.jpg

    After second image then pc reboots and loops.

    Thank You

    Albertus Geyser


  • Senior Developer

    @Albertus what I’m getting at is the version of the ipxe file is not that of the version released in 1.2.0, at least if I recall it.



  • @Tom-Elliott

    Good Day

    I am running ipxe.efi . . .

    Thank You

    Albertus Geyser


  • Senior Developer

    @Albertus if you’re running 1.2.0 then what ipxe files are you using?



  • @george1421

    Good Day

    I am running FOG 1.2.0.
    This is what i get booting in efi mode, not bios mode.
    in pc bios i selected UEFI not Legacy.

    Hope this helps to help me.

    Thank You

    Albertus Geyser


  • Moderator

    @Albertus You haven’t told us what version of fog you are running.

    But from your picture, the iPXE files are being delivered to the client so your dhcp is setup correctly for bios booting.

    Now if you switch back to efi mode on this device, what errors do you get? Please post the picture here (this time no flash please, my eyes are old).



  • Good Day

    Please see attached image of what pc does when booting . . .

    0_1456496169605_ipxe.jpg

    Thank You

    Albertus Geyser


  • Moderator

    Again, I would ask if you can boot in bios mode. The bios pxe roms give a bit more detail. Once we are sure you have pxe booting working then we can focus on efi booting.

    Also I don’t see where you mentioned what version of fog you use. Could you let us know that? If you are using 1.2.0 stable or older, I’m going to recommend you upgrade to the trunk release since that handles efi booting MUCH better than the older releases. (but I don’t think that is your problem yet).


Log in to reply
 

458
Online

38968
Users

10709
Topics

101632
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.