• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

UEFI won boot tools via fog menu.

Scheduled Pinned Locked Moved Solved
FOG Problems
6
94
37.9k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q
    Quazz Moderator @dureal99d
    last edited by Oct 2, 2016, 8:36 AM

    @dureal99d Yes

    D 1 Reply Last reply Oct 2, 2016, 8:41 AM Reply Quote 0
    • D
      dureal99d @Quazz
      last edited by dureal99d Oct 2, 2016, 2:41 AM Oct 2, 2016, 8:41 AM

      @Quazz tried this

      dhcp-match=set:bios,60,PXEClient:Arch:00000
      dhcp-boot=#:bios,undionly.kpxe,192.168.1.109        # 192.168.1.109 = TFTP/192.168.1.109
      

      did’nt work, im pretty ure its somthing im doing wrong

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Oct 2, 2016, 11:52 AM

        The tftp at that point is coming from your fog server .

        For me, I use dd-wrt at home as well, and while I don’t have any UEFI machines to test I’m fairly sure you still need to tag the boot file line so it knows which match to use when.

        It may be a light version of Dnsmasq, but it is still Dnsmasq.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • G
          george1421 Moderator
          last edited by Oct 2, 2016, 1:40 PM

          In my tutorial for installing dnsmasq on Centos this is what I have for the dhcp-boot line:

          dhcp-boot=undionly.kpxe,,<fog_server_IP>
          

          Also you need to ensure that you are running dnsmasq 2.76 with has reportedly added the required code for pxe-uefi booting alongside legacy (bios) code.

          I have not tried this with dd-wrt either but this extension should work with dnsmasq

          dhcp-match=set:efi-x86_64,option:client-arch,7
          dhcp-boot=tag:efi-x86_64,ipxe.efi
          

          which sets up a flag if the client matches arch 7 (x86_64 uefi) and then sends ipxe.efi instead of undionly.kpxe. You may need additional arch added for IA32 uefi systems too. Wayne has added the info to the FOG wiki page https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence#General
          Look at the top for the isc dhcp server to an idea of what is going on.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

          W D 2 Replies Last reply Oct 2, 2016, 4:10 PM Reply Quote 3
          • W
            Wayne Workman @george1421
            last edited by Oct 2, 2016, 4:10 PM

            @george1421 said in UEFI won boot tools via fog menu.:

            Wayne has added the info to the FOG wiki page

            @Sebastian-Roth did the dnsmasq section I’m pretty sure lol. Seems he’s always a few steps ahead of us.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 1
            • D
              dureal99d @george1421
              last edited by dureal99d Oct 2, 2016, 12:51 PM Oct 2, 2016, 6:43 PM

              @george1421 I have plugged in the information to the dnsmasq inclusive to the default dhcp-boot=undionly.kpxe,,<fog_server_IP> & the boot process was not disrupted as with previous configs I’ve tried.

              I must now make sure i understand what you did here. dhcp-match=set:efi-x86_64,option:client-arch,7 dhcp-boot=tag:efi-x86_64,ipxe.efi

              as it differs from the wiki of the dnsmasq setting. also it when booting uefi it see the tftp as my router ip. What would i do to re-route this to my fogserver ip?

              0_1475434294858_2_02_10_2016_13_49_58.png

              G 2 Replies Last reply Oct 2, 2016, 6:56 PM Reply Quote 0
              • G
                george1421 Moderator @dureal99d
                last edited by Oct 2, 2016, 6:56 PM

                @dureal99d If I understand it correctly your {next-server} value should come from your dhcp server (understand I’m guessing here a bit since I have not worked with uefi and dnsmasq as of now). But in my docs I also ahve this line:

                dhcp-range=<fog_server_ip>,proxy
                

                That defines the range.

                Actually I still have my FOG-Pi server that I can boot back up. That has dnsmasq running on it. Let me see if I can get a working config.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                1 Reply Last reply Reply Quote 0
                • G
                  george1421 Moderator @dureal99d
                  last edited by Oct 2, 2016, 6:58 PM

                  @dureal99d From your image below its working. Well an iPXE kernel is getting loaded. So that should removed dnsmasq from the issues. Is your fog server at 192.168.1.1?

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                  D 1 Reply Last reply Oct 2, 2016, 11:52 PM Reply Quote 0
                  • D
                    dureal99d @george1421
                    last edited by Oct 2, 2016, 11:52 PM

                    @george1421 NO, its at 192.168.1.109

                    G D 2 Replies Last reply Oct 2, 2016, 11:56 PM Reply Quote 0
                    • G
                      george1421 Moderator @dureal99d
                      last edited by Oct 2, 2016, 11:56 PM

                      @dureal99d Interesting because in the picture its thinks your fog server is 192.168.1.1 because that is where its trying to load the default.ipxe file from. I can’t remember off the top of my head where that setting comes from, its either from FOG or the next-server value from dhcp.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                      1 Reply Last reply Reply Quote 0
                      • D
                        dureal99d @dureal99d
                        last edited by Oct 2, 2016, 11:58 PM

                        @george1421 at current my config looks like this

                        dhcp-match=set:efi-x86_64,option:client-arch,7
                        dhcp-boot=tag:efi-x86_64,ipxe.efi
                        dhcp-boot=undionly.kpxe,,192.168.1.109```
                        
                        in the dnsmasq setting of ddwrt.
                        G 1 Reply Last reply Oct 3, 2016, 12:06 AM Reply Quote 0
                        • G
                          george1421 Moderator @dureal99d
                          last edited by Oct 3, 2016, 12:06 AM

                          @dureal99d I started another thread where I’ve been documenting my travels with dnsmasq and uefi here: https://forums.fogproject.org/topic/8677/dnsmasq-bios-and-uefi

                          My config is pretty close. I can pxe boot a uefi system. Right now its hanging on the iPXE kernel initializing devices… But I did have to compile the latest dnsmasq program because the one for my distribution did not work even with the updated config file.

                          Looking at your config file I would have to say you need to update this line:
                          dhcp-boot=tag:efi-x86_64,ipxe.efi

                          to this:
                          dhcp-boot=tag:efi-x86_64,ipxe.efi,,192.168.1.109

                          Just like you did for the bios undionly line.

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                          W D 3 Replies Last reply Oct 3, 2016, 12:41 AM Reply Quote 2
                          • W
                            Wayne Workman @george1421
                            last edited by Oct 3, 2016, 12:41 AM

                            FYI to everyone, the sourcecode for dnsmasq can always be found on Simon Kelley’s website, here:
                            http://www.thekelleys.org.uk/dnsmasq/

                            And general info can be found here:
                            http://www.thekelleys.org.uk/dnsmasq/doc.html

                            There’s a mailing list as well, where you can ask a question, and he will respond - all emails are archived on his site forever - he needs to make a book out of them IMHO. I’ve been on his mailing list for about a year, he is very active and I normally get an email once a day with all the questions and replies from the previous day.

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

                            1 Reply Last reply Reply Quote 0
                            • W
                              Wayne Workman @george1421
                              last edited by Oct 3, 2016, 12:44 AM

                              @george1421 Perhaps we should give instructions in the BIOS/UEFI coexistence article for getting the right dnsmasq source and compiling it, and configuring?

                              I know this won’t be a permanent problem as eventually all distros will have the working version, but that could be years.

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                              Daily Clean Installation Results:
                              https://fogtesting.fogproject.us/
                              FOG Reporting:
                              https://fog-external-reporting-results.fogproject.us/

                              G 1 Reply Last reply Oct 3, 2016, 12:49 AM Reply Quote 0
                              • G
                                george1421 Moderator @Wayne Workman
                                last edited by george1421 Oct 2, 2016, 6:50 PM Oct 3, 2016, 12:49 AM

                                @Wayne-Workman With the libraries mentioned I can get really close to the distro had, except for one module that didn’t seem to impact ipxe booting. But your idea of updating the wiki pages for dnsmasq is not a bad idea. I sure would like to get a solid boot before updating anything, but the key was to use dnsmasq 2.76 and the updated config to get it to boot anyway.

                                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                                1 Reply Last reply Reply Quote 0
                                • D
                                  dureal99d @george1421
                                  last edited by Oct 3, 2016, 4:43 AM

                                  @george1421 said in UEFI won boot tools via fog menu.:

                                  @dureal99d I started another thread where I’ve been documenting my travels with dnsmasq and uefi here: https://forums.fogproject.org/topic/8677/dnsmasq-bios-and-uefi

                                  My config is pretty close. I can pxe boot a uefi system. Right now its hanging on the iPXE kernel initializing devices… But I did have to compile the latest dnsmasq program because the one for my distribution did not work even with the updated config file.

                                  Looking at your config file I would have to say you need to update this line:
                                  dhcp-boot=tag:efi-x86_64,ipxe.efi

                                  to this:
                                  dhcp-boot=tag:efi-x86_64,ipxe.efi,,192.168.1.109

                                  Just like you did for the bios undionly line.

                                  I will try that config and report back.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Sebastian Roth Moderator
                                    last edited by Oct 3, 2016, 6:41 AM

                                    @dureal99d I might be able to help you with understanding how the TFTP URL (in your case tftp://192.168.1.1/default.ipxe) is build. You need to check out the embedded script that comes compiled into the binaries we provide - find the code here: https://github.com/FOGProject/fogproject/blob/dev-branch/src/ipxe/src-efi/ipxescript

                                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                    D 2 Replies Last reply Oct 3, 2016, 6:42 AM Reply Quote 0
                                    • D
                                      dureal99d @Sebastian Roth
                                      last edited by Oct 3, 2016, 6:42 AM

                                      @Sebastian-Roth ok cool!!!

                                      S 1 Reply Last reply Oct 3, 2016, 6:44 AM Reply Quote 0
                                      • S
                                        Sebastian Roth Moderator @dureal99d
                                        last edited by Oct 3, 2016, 6:44 AM

                                        @dureal99d That said I am wondering if you have another DHCP server in your network that is answering requests as well. Possibly a router or something that is interfering with what dnsmasq is sending?!?

                                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                        D 1 Reply Last reply Oct 3, 2016, 6:45 AM Reply Quote 0
                                        • D
                                          dureal99d @Sebastian Roth
                                          last edited by Oct 3, 2016, 6:44 AM

                                          @Sebastian-Roth said in UEFI won boot tools via fog menu.:

                                          @dureal99d I might be able to help you with understanding how the TFTP URL (in your case tftp://192.168.1.1/default.ipxe) is build. You need to check out the embedded script that comes compiled into the binaries we provide - find the code here: https://github.com/FOGProject/fogproject/blob/dev-branch/src/ipxe/src-efi/ipxescript

                                          i tried the sugggested dhcp-boot=tag:efi-x86_64,ipxe.efi,,192.168.1.109 and it worked but the other stuff like the memtest and all will not work just the basic functions and uefi laptops i have find a boot file but crash or pause at initializing ipxe devices

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 4 / 5
                                          4 / 5
                                          • First post
                                            33/94
                                            Last post

                                          156

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project