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

    UEFI & Legacy boot files

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    8
    2.4k
    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.
    • M
      Mr_Jay84
      last edited by Mr_Jay84

      I’ve just recently setup FOG running on a Debian VM which is working perfectly, wonder bit of software!

      I have a small issue I hope someone can help with. I have a number of VM’s using both Legacy and UEFI boot options, FOG works for both however UEFI will not work with “undionly.kpxe”, similarly Legacy systems won’t work with “snponly.efi”.

      Is there a method of booting that will cover both types?

      I suppose I could split the VM’s on different vLAN’s.

      Router Setup

      F 1 Reply Last reply Reply Quote 0
      • F
        Fog_Newb @Mr_Jay84
        last edited by Fog_Newb

        @Mr_Jay84

        Hello,

        Yes, I use Windows for DHCP but you can do it with Linux DHCP too. I made ipxe.efi the default boot file. Then added a scope policy for vendor class PXEClient:Arch:00000 to use undionly.kkpxe Yes 2 k’s

        I used this as a guide

        https://wiki.fogproject.org/wiki/index.php/BIOS_and_UEFI_Co-Existence

        I am trying to figure out how to do this on my ubiquity exr so I can stop using Windows. 🙂

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

          What device is your dhcp server? (manufacturer and model)

          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!

          M 1 Reply Last reply Reply Quote 0
          • M
            Mr_Jay84
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • M
              Mr_Jay84 @george1421
              last edited by

              @george1421 said in UEFI & Legacy boot files:

              What device is your dhcp server? (manufacturer and model)

              Draytek Vigor2860n+

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

                @Mr_Jay84 Ok what I’m going to recommend you do is install dnsmasq on your fog server to supply dynamic pxe boot information based on the pxe booting client. The problem with static dhcp mappings is you have to choose bios or uefi pxe booting clients only. Dnsmasq will send the proper boot file name based on the client computer.

                I have a tutorial on how to install dnsmasq onto the FOG server. It should take about 10 minutes if you use my example config file and update it with the IP address of your FOG server accordingly.
                https://forums.fogproject.org/topic/12796/installing-dnsmasq-on-your-fog-server

                We find that most soho routers don’t support dynamic boot files. We have configurations for windows 2012 and later dhcp servers as well as linux dhcp servers.

                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!

                M 1 Reply Last reply Reply Quote 0
                • M
                  Mr_Jay84 @george1421
                  last edited by

                  @george1421 said in UEFI & Legacy boot files:

                  @Mr_Jay84 Ok what I’m going to recommend you do is install dnsmasq on your fog server to supply dynamic pxe boot information based on the pxe booting client. The problem with static dhcp mappings is you have to choose bios or uefi pxe booting clients only. Dnsmasq will send the proper boot file name based on the client computer.

                  I have a tutorial on how to install dnsmasq onto the FOG server. It should take about 10 minutes if you use my example config file and update it with the IP address of your FOG server accordingly.
                  https://forums.fogproject.org/topic/12796/installing-dnsmasq-on-your-fog-server

                  We find that most soho routers don’t support dynamic boot files. We have configurations for windows 2012 and later dhcp servers as well as linux dhcp servers.

                  George your a star!

                  Works perfectly thanks!

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

                    @Mr_Jay84 Just be aware that if you want to pxe boot across subnets, then you will need to add the fog server as the last server in your vlan router’s dhcp-helper/dhcp-relay service. Once you do that then you can pxe boot across subnets if you need it.

                    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
                    • 1 / 1
                    • First post
                      Last post

                    207

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project