• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Jul 22, 2020, 11:50 AM Jul 22, 2020, 5:49 PM

    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 Jul 22, 2020, 8:46 PM Reply Quote 0
    • F
      Fog_Newb @Mr_Jay84
      last edited by Fog_Newb Jul 22, 2020, 2:53 PM Jul 22, 2020, 8:46 PM

      @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
      • G
        george1421 Moderator
        last edited by Jul 22, 2020, 9:04 PM

        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 Jul 22, 2020, 9:09 PM Reply Quote 0
        • M
          Mr_Jay84
          last edited by Jul 22, 2020, 9:06 PM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • M
            Mr_Jay84 @george1421
            last edited by Jul 22, 2020, 9:09 PM

            @george1421 said in UEFI & Legacy boot files:

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

            Draytek Vigor2860n+

            G 1 Reply Last reply Jul 22, 2020, 9:20 PM Reply Quote 0
            • G
              george1421 Moderator @Mr_Jay84
              last edited by Jul 22, 2020, 9:20 PM

              @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 Jul 22, 2020, 10:43 PM Reply Quote 0
              • M
                Mr_Jay84 @george1421
                last edited by Jul 22, 2020, 10:43 PM

                @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!

                G 1 Reply Last reply Jul 22, 2020, 11:00 PM Reply Quote 0
                • G
                  george1421 Moderator @Mr_Jay84
                  last edited by Jul 22, 2020, 11:00 PM

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

                  211

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project