• 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
    38.5k
    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.
    • D
      dureal99d @Sebastian Roth
      last edited by

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

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

      no but i will try it

      D 1 Reply Last reply Reply Quote 0
      • D
        dureal99d @dureal99d
        last edited by dureal99d

        @Sebastian-Roth its so weird, this is my config as of right now dhcp-boot=undionly.kpxe,,192.168.1.109 dhcp-match=set:efi-x86_64,option:client-arch,7 dhcp-boot=tag:efi-x86_64,ipxe.efi,192.168.1.109,192.168.1.109

        downloads ipxe.efi

        yet if i take this line away dhcp-match=set:efi-x86_64,option:client-arch,7 away it will dowload the undioly.pxe file

        D 1 Reply Last reply Reply Quote 0
        • D
          dureal99d @dureal99d
          last edited by dureal99d

          @Sebastian-Roth I did create one of those uefi usb boot scenarios as was postd here on the forum but without the usb device selected at boot, no uefi based client will boot to fog unless i boot in legacy

          D 1 Reply Last reply Reply Quote 0
          • D
            dureal99d @dureal99d
            last edited by dureal99d

            @Sebastian-Roth @george1421 @Wayne-Workman @Senior-Developers id be willing to setup and configure another server “more than likely virtual” if I can still use ddwrt to provide dhcp to machines on my network and allow fog uefi and bios boot to co-exist. assuming it will make this process easier.

            george1421G 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @dureal99d
              last edited by

              @dureal99d I’ve kind of lost where this thread is going.

              Lets recap. You are using dnsmasq on dd-wrt to supply the missing bits needed to pxe boot a target computer in uefi mode. (I haven’t looked) but doesn’t dd-wrt use isc dhcp server? If so then dnsmasq is not required, since isc dhcp is all you need. There is a FOG wiki page on how to set it up. https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence

              Can you pxe boot a target computer into the fog ipxe menu and capture or deploy an image. If this doesn’t work then we need to understand what is going sideways. Beyond that if you are trying to pxe boot random applications not delivered with FOG then those need to be addressed. But we need to make a clear distinction is this a FOG issue or third party application issue.

              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 Q Wayne WorkmanW 3 Replies Last reply Reply Quote 1
              • D
                dureal99d @george1421
                last edited by

                @george1421 I don’t know if ddwrt uses isc, I do know it uses dnsmasq. and it will onlt boot into uefi mode if I use the usb I made based on an tutorial I found on this forum.

                and yes the main issue I’m having is none of the third party tools work in uefi mode. I am not sure if this is an issue with uefi or the software. but I assumed at least memtest would work and it fails as well.

                I have however successfully captured a image.

                1 Reply Last reply Reply Quote 0
                • Q
                  Quazz Moderator @george1421
                  last edited by

                  @george1421 DDWRT uses a lightweight version of DNSMASQ.

                  1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman @george1421
                    last edited by

                    @george1421 According to this: https://www.dd-wrt.com/wiki/index.php/DNSMasq_as_DHCP_server

                    dd-wrt uses dnsmasq or uses uDHCPd but not both at the same time. It’s one or the other.

                    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
                    • S
                      Sebastian Roth Moderator
                      last edited by

                      Well then it probably uses an older version of dnsmasq which does not handle PXE booting of UEFI devices properly?!?!

                      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 Reply Quote 0
                      • D
                        dureal99d @Sebastian Roth
                        last edited by

                        @Sebastian-Roth @Wayne-Workman I think that its clear that I need to invoke a new setup to properly handle co-existing environment, going forward what is the recommended way to remedy this situation. should I use fogs built in dhcp server or setup a new one and if so what server type Linux, windows?

                        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman @dureal99d
                          last edited by

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

                          should I use fogs built in dhcp server

                          Yes. The installer will set it up for you perfectly. Earlier in this thread, I described how to change your current server to do this.

                          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/

                          D 1 Reply Last reply Reply Quote 1
                          • D
                            dureal99d @Wayne Workman
                            last edited by

                            @Wayne-Workman is this a situation were I will have to disable dhcp on my router, or will they both work in tandem with each other.

                            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                            • Wayne WorkmanW
                              Wayne Workman @dureal99d
                              last edited by

                              @dureal99d They will not work in tandem without expert configuration, and we don’t have time for that. That’s something you can mess around with after things are working.

                              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/

                              D 1 Reply Last reply Reply Quote 0
                              • D
                                dureal99d @Wayne Workman
                                last edited by dureal99d

                                @Wayne-Workman @Senior-Developers @Moderators @Developers
                                I know this thread has sparked somewhat of a up and down exhaustive debacle on if and how to make the efi load with the dns masq of ddwrt.

                                This configuration right here is partially working and has allowed me to boot successfully a sony Lenovo laptop in uefi mode.

                                although non of the Linux isos boot and no third party tools work at least its a step in the right direction, I think?

                                0_1475571178234_2016-10-04 (2).png

                                0_1475570874524_ipxe works2.jpg
                                If you look at the loading sequence it states something strange that I’m sure you pros can identify. Link up on net0..............Connection timed out??
                                At any rate I am now wondering if I must create one of these entries for each type of .efi file ie. snp.efi etc.

                                dhcp-match=set:efibc,option:client-arch,7
                                dhcp-boot=tag:efibc,ipxe.efi,,192.168.1.109
                                dhcp-match=set:i386-efi/ipxe.efi,option:client-arch,6
                                dhcp-boot=tag:i386-efi/ipxe.efi,,192.168.1.109
                                dhcp-match=set:efi-x86_64,option:client-arch,7
                                dhcp-boot=tag:efi-x86_64,ipxe.efi,,192.168.1.109
                                dhcp-match=set:efi-x86_64,option:client-arch,8
                                dhcp-boot=tag:efi-x86_64,ipxe.efi,,192.168.1.109
                                dhcp-match=set:efi-x86_64,option:client-arch,9
                                dhcp-boot=tag:efi-x86_64,ipxe.efi,,192.168.1.109
                                dhcp-boot=undionly.kpxe,,192.168.1.109
                                D Q 2 Replies Last reply Reply Quote 0
                                • D
                                  dureal99d @dureal99d
                                  last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • Q
                                    Quazz Moderator @dureal99d
                                    last edited by

                                    @dureal99d Can we see how you try to boot all these various tools?

                                    D 1 Reply Last reply Reply Quote 0
                                    • D
                                      dureal99d @Quazz
                                      last edited by

                                      @Quazz of course, do you need a video or a config file?

                                      Q 1 Reply Last reply Reply Quote 0
                                      • Q
                                        Quazz Moderator @dureal99d
                                        last edited by

                                        @dureal99d Just paste a few examples of the config for the menu items.

                                        D 1 Reply Last reply Reply Quote 0
                                        • D
                                          dureal99d @Quazz
                                          last edited by Tom Elliott

                                          @Quazz

                                          :MENU
                                          menu
                                          item --gap -- ---------------- iPXE boot menu ----------------
                                          item mac Macrium Reflect
                                          item clonezilla Clonezilla 2015
                                          item ubuntu6 Ubuntu 16:04.1 x64
                                          item ubuntu6 Ubuntu 16:04.1 x32
                                          item ubuntu Ubuntu 15:10 x64
                                          item ubuntu Ubuntu 15:10 x32
                                          item kubuntu6 Kubuntu 16:04.1 x64 
                                          item kubuntu6 Kubuntu 16:04.1 x32
                                          item kubuntu Kubuntu 15:10 x64 
                                          item kubuntu Kubuntu 15:10 x32
                                          item mint18 Linux Mint 18 "Sarah" - MATE (32-bit)
                                          item Mint18 Linux Mint 18 "Sarah" - MATE (64-bit)
                                          item mint Linux Mint 17.2 "Rafaela" - MATE (32-bit)
                                          item Mint Linux Mint 17.2 "Rafaela" - MATE (64-bit)
                                          item mint Linux Mint 17.2 "Rafaela" - Cinnamon (32-bit)
                                          item Mint Linux Mint 17.2 "Rafaela" - Cinnamon (64-bit)
                                          item BOOTCD Hirens 15.2 BOOTCD
                                          item pgon Paragon Harddisk Manager 12
                                          item ubd Ultimate Boot Disk
                                          item ez  EZ Gig IV Cloning Software
                                          item centos Centos
                                          item fedora Fedora
                                          item fedoral Fedora Live
                                          item hostinfo details about this computer
                                          item win windows10 32-bit
                                          item win64 windows10 64-bit
                                          item part Parted Magic x64
                                          item shell ipxe shell
                                          item return return to previous menu
                                          choose --default return --timeout 5000 target && goto ${target}
                                          :mac
                                          initrd http://${fog-ip}/fog/service/ipxe/mac/mac.iso
                                          chain memdisk iso raw ||
                                          goto MENU
                                          
                                          :clonezilla
                                          kernel http://${fog-ip}/bootimgs/clonezilla/vmlinuz
                                          initrd http://${fog-ip}/bootimgs/clonezilla/initrd.img
                                          imgargs vmlinuz initrd=initrd.img boot=live username=user fetch=http://${fog-ip}/bootimgs/clonezilla/filesystem.squashfs locale=en_US.UTF-8 keyboard-layouts=NONE
                                          boot || echo failed to boot
                                          prompt
                                          goto MENU
                                          
                                          :ubuntu6
                                          kernel http://${fog-ip}/bootimgs/16.04.1_64/casper/vmlinuz.efi
                                          initrd http://${fog-ip}/bootimgs/16.04.1_64/casper/initrd.lz
                                          imgargs vmlinuz.efi initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/16.04.1_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
                                          boot || goto failed
                                          goto start
                                          
                                          :ubuntu6
                                          kernel http://${fog-ip}/bootimgs/16.04.1_32/casper/vmlinuz
                                          initrd http://${fog-ip}/bootimgs/16.04.1_32/casper/initrd.lz
                                          imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/16.04.1_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
                                          boot || goto failed
                                          goto start
                                          
                                          :ubuntu
                                          kernel http://${fog-ip}/bootimgs/15.10_64/casper/vmlinuz.efi
                                          initrd http://${fog-ip}/bootimgs/15.10_64/casper/initrd.lz
                                          imgargs vmlinuz.efi initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/15.10_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
                                          boot || goto failed
                                          goto start
                                          
                                          :ubuntu
                                          kernel http://${fog-ip}/bootimgs/15.10_32/casper/vmlinuz
                                          initrd http://${fog-ip}/bootimgs/15.10_32/casper/initrd.lz
                                          imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/15.10_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
                                          boot || goto failed
                                          goto start
                                          
                                          :kubuntu6
                                          kernel http://${fog-ip}/bootimgs/kubuntu6_64/casper/vmlinuz.efi
                                          initrd http://${fog-ip}/bootimgs/kubuntu6_64/casper/initrd.lz
                                          imgargs vmlinuz.efi initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/kubuntu6_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
                                          boot || goto failed
                                          goto start
                                          
                                          :kubuntu6
                                          kernel http://${fog-ip}/bootimgs/kubuntu6_32/casper/vmlinuz
                                          initrd http://${fog-ip}/bootimgs/kubuntu6_32/casper/initrd.lz
                                          imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/kubuntu6_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
                                          boot || goto failed
                                          
                                          :kubuntu
                                          kernel http://${fog-ip}/bootimgs/kubuntu5_64/casper/vmlinuz.efi
                                          initrd http://${fog-ip}/bootimgs/kubuntu5_64/casper/initrd.lz
                                          imgargs vmlinuz.efi initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/kubuntu5_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
                                          boot || goto failed
                                          goto start
                                          
                                          :kubuntu
                                          kernel http://${fog-ip}/bootimgs/kubuntu5_32/casper/vmlinuz
                                          initrd http://${fog-ip}/bootimgs/kubuntu5_32/casper/initrd.lz
                                          imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/kubuntu5_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
                                          boot || goto failed
                                          goto start
                                          
                                          :mint18
                                          kernel http://${fog-ip}/bootimgs/lm18_32/casper/vmlinuz
                                          initrd http://${fog-ip}/bootimgs/lm18_32/casper/initrd.lz
                                          imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/lm18_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
                                          boot || goto failed
                                          goto start
                                          
                                          :Mint18
                                          kernel http://${fog-ip}/bootimgs/lm18_64/casper/vmlinuz
                                          initrd http://${fog-ip}/bootimgs/lm18_64/casper/initrd.lz
                                          imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/lm18_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
                                          boot || goto failed
                                          goto start
                                          
                                          :mint
                                          kernel http://${fog-ip}/bootimgs/lm_32/casper/vmlinuz
                                          initrd http://${fog-ip}/bootimgs/lm_32/casper/initrd.lz
                                          imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/lm_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
                                          boot || goto failed
                                          goto start
                                          
                                          :Mint
                                          kernel http://${fog-ip}/bootimgs/lm_64/casper/vmlinuz
                                          initrd http://${fog-ip}/bootimgs/lm_64/casper/initrd.lz
                                          imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/lm_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
                                          boot || goto failed
                                          goto start
                                          
                                          :mint
                                          kernel http://${fog-ip}/bootimgs/lmc_32/casper/vmlinuz
                                          initrd http://${fog-ip}/bootimgs/lmc_32/casper/initrd.lz
                                          imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/lmc_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
                                          boot || goto failed
                                          goto start
                                          
                                          :Mint
                                          kernel http://${fog-ip}/bootimgs/lmc_64/casper/vmlinuz
                                          initrd http://${fog-ip}/bootimgs/lmc_64/casper/initrd.lz
                                          imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/lmc_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US
                                          boot || goto failed
                                          goto start
                                          
                                          :centos
                                          initrd http://${fog-ip}/bootimgs/centos/images/pxeboot/initrd.img
                                          chain http://${fog-ip}/bootimgs/centos/images/pxeboot/vmlinuz initrd=initrd.img root=live:http://${fog-ip}/bootimgs/centos/LiveOS/squashfs.img ip=dhcp repo=http://192.168.1.109/bootimgs/centosrepo/mirror.nodeshosting.com/centos/7.2.1511/os/x86_64 splash quiet – || read void
                                          boot || goto MENU
                                          
                                          :fedoral
                                          initrd http://${fog-ip}/bootimgs/fedora/images/pxeboot/initrd.img
                                          chain http://${fog-ip}/bootimgs/fedora/images/pxeboot/vmlinuz initrd=initrd.img root=live:http://${fog-ip}/bootimgs/fedora/LiveOS/squashfs.img devfs=nomount ip=dhcp
                                          boot || goto MENU
                                          
                                          :fedora
                                          initrd http://${fog-ip}/bootimgs/fedora/images/pxeboot/initrd.img
                                          chain http://${fog-ip}/bootimgs/fedora/images/pxeboot/vmlinuz initrd=initrd.img root=live:http://${fog-ip}/bootimgs/fedora/LiveOS/squashfs.img rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0
                                          boot || goto MENU
                                          
                                          :BOOTCD
                                          initrd http://${fog-ip}/bootimgs/bootcd/hirensboot.iso ||
                                          chain memdisk iso raw ||
                                          boot ||
                                          goto MENU
                                          
                                          :pgon
                                          initrd http://${fog-ip}/bootimgs/pgon/phdman12.iso ||
                                          chain memdisk iso raw ||
                                          boot ||
                                          goto MENU
                                          
                                          :ubd
                                          initrd http://${fog-ip}/bootimgs/ubcd/ubcd535.iso ||
                                          chain memdisk iso raw ||
                                          boot ||
                                          goto MENU
                                          
                                          :ez
                                          initrd http://${fog-ip}/bootimgs/ez/EZGIG438.iso ||
                                          chain memdisk iso raw ||
                                          boot ||
                                          goto MENU
                                          
                                          :hostinfo
                                          echo This computer : ||
                                          echo MAC address....${net0/mac} ||
                                          echo IP address.....${ip} ||
                                          echo Netmask........${netmask} ||
                                          echo Serial.........${serial} ||
                                          echo Asset number...${asset} ||
                                          echo Manufacturer...${manufacturer} ||
                                          echo Product........${product} ||
                                          echo BIOS platform..${platform} ||
                                          echo ||
                                          echo press any key to return to Menu ||
                                          prompt
                                          goto MENU
                                          
                                          :win
                                          initrd http://${fog-ip}/bootimgs/winiso/winpe10.iso
                                          chain memdisk iso raw
                                          
                                          :win64
                                          initrd http://${fog-ip}/bootimgs/winiso/winpe1064.iso
                                          chain memdisk iso raw
                                          
                                          :part
                                          kernel http://${fog-ip}/bootimgs/pmagic/bzImage64
                                          initrd http://${fog-ip}/bootimgs/pmagic/initrd.img
                                          initrd http://${fog-ip}/bootimgs/pmagic/files.cgz
                                          initrd http://${fog-ip}/bootimgs/pmagic/fu.img
                                          initrd http://${fog-ip}/bootimgs/pmagic/m64.img
                                          imgargs initrd=initrd.img bzImage64 boot=live ip=dhcp edd=on noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=normal sleep=0 loglevel=0 keymap=us splash quiet - || read void
                                          boot || read void
                                          
                                          :shell
                                          shell ||
                                          goto MENU
                                          :return
                                          chain http://${fog-ip}/${fog-webroot}/bootimgs/boot.php?mac=${net0/mac} ||
                                          prompt
                                          goto MENU
                                          Autoboot
                                          

                                          This is my entire config file. whats funny is the only 2 that will boot is Centos and fedora which are the 2 that gave me the most trouble before.

                                          D Tom ElliottT 2 Replies Last reply Reply Quote 0
                                          • D
                                            dureal99d @dureal99d
                                            last edited by

                                            @Quazz that is my entire config file

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

                                            184

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project