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

USB boot UEFI - not booting from USB

Scheduled Pinned Locked Moved Unsolved
FOG Problems
2
5
567
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.
  • V
    vince.villarreal
    last edited by Dec 10, 2018, 9:46 PM

    so I have followed the “easy” instructions on how to get this working. (which is a MUST for me since I have the option to type in my fog server IP)

    It will not boot.

    I have found throughout the forums “ipxe.iso”, downloaded it which contains BOOT.CAT, IPXE.KRN, ISOLINUX.BIN, ISOLINUX.CFG.

    I am assuming I copy that to the root of my USB drive. create the EFI/BOOT/bootx64.efi file and path.

    Nothing is working. I have the option to select boot from USB and it skips booting from USB.

    Can you guys tell me what I am possibly doing wrong?

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by george1421 Dec 10, 2018, 4:26 PM Dec 10, 2018, 10:24 PM

      lets start out by understanding why you are usb booting into the iPXE menu. What problem are you trying to get around?

      which is a MUST for me since I have the option to type in my fog server IP

      This tells me it working, but your dhcp server isn’t sending out the right information to go to the next step.

      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
      • V
        vince.villarreal
        last edited by Dec 11, 2018, 2:29 PM

        I have an ultra cheap router. Fog server setup locally. Router is acting as DHCP. I just need the USB to point directly to my fog server’s IP rather than wasting anytime getting PXE boot to work.

        This is a temporary thing as I am shipping someone a $20 router, fog server, a gigabit switch, and a few ethernet cables so he can image about 30 pcs at his location.

        G 2 Replies Last reply Dec 11, 2018, 6:12 PM Reply Quote 0
        • G
          george1421 Moderator @vince.villarreal
          last edited by Dec 11, 2018, 6:12 PM

          @vince-villarreal Well if you have a soho router you can still make pxe booting work pretty easily. Just install dnsmaq on your fog server. Your soho router will supply dhcp IP addresses and dnsmasq will function as proxy-dhcp server and only provide pxe boot info. It works really well.

          1. Install dnsmaq on the fog server from your linux distro’s repository.
          2. Make sure you are running dnsmasq version 2.76 or later sudo dnsmasq -v
          3. Create a new file as /etc/dnsmasq.d/ltsp.conf
          4. Paste this config file into that file (ltsp.conf)
          # Don't function as a DNS server:
          port=0
          
          # Log lots of extra information about DHCP transactions.
          log-dhcp
          
          # Set the root directory for files available via FTP.
          tftp-root=/tftpboot
          
          # The boot filename, Server name, Server Ip Address
          dhcp-boot=undionly.kpxe,,<fog_server_IP>
          
          # Disable re-use of the DHCP servername and filename fields as extra
          # option space. That's to avoid confusing some old or broken DHCP clients.
          dhcp-no-override
          
          # inspect the vendor class string and match the text to set the tag
          dhcp-vendorclass=BIOS,PXEClient:Arch:00000
          dhcp-vendorclass=UEFI32,PXEClient:Arch:00006
          dhcp-vendorclass=UEFI,PXEClient:Arch:00007
          dhcp-vendorclass=UEFI64,PXEClient:Arch:00009
          
          # Set the boot file name based on the matching tag from the vendor class (above)
          dhcp-boot=net:UEFI32,i386-efi/ipxe.efi,,<fog_server_IP>
          dhcp-boot=net:UEFI,ipxe.efi,,<fog_server_IP>
          dhcp-boot=net:UEFI64,ipxe.efi,,<fog_server_IP>
          
          # PXE menu.  The first part is the text displayed to the user.  The second is the timeout, in seconds.
          pxe-prompt="Booting FOG Client", 1
          
          # The known types are x86PC, PC98, IA64_EFI, Alpha, Arc_x86,
          # Intel_Lean_Client, IA32_EFI, BC_EFI, Xscale_EFI and X86-64_EFI
          # This option is first and will be the default if there is no input from the user.
          pxe-service=X86PC, "Boot to FOG", undionly.kpxe
          pxe-service=X86-64_EFI, "Boot to FOG UEFI", ipxe.efi
          pxe-service=BC_EFI, "Boot to FOG UEFI PXE-BC", ipxe.efi
          
          dhcp-range=<fog_server_ip>,proxy
          
          1. Be sure to replace <fog_server_ip> exactly with the IP address of your fog server. Be aware that that string appears in multiple places.
          2. Start/restart dnsmasq
            sudo systemctl restart dnsmasq
          3. Confirm its running in memory
            sudo ps aux|grep dnsmasq
          4. Ensure it starts on every reboot
            sudo systemctl enable dnsmasq

          That should be it. PXE boot your target computer and it should connect you to the fog IPXE menu.

          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 @vince.villarreal
            last edited by Dec 11, 2018, 6:16 PM

            @vince-villarreal Two other points.

            You can build a usb boot drive with iPXE, but again that still relies on dhcp having the right settings to instruct ipxe on how to find the fog server.

            You can also build a FOS usb boot disk, that will boot you right into FOS bypassing PXE altogether. But there are some caveats with this approach. If you can overlook the caveats and just want to capture and deploy (no multicast, no direct imaging from iPXE menus, etc) it will work for you.

            One last comment, fog doesn’t like it when/if you change the IP address of the fog server once the FOG management console is installed. There are work arounds, but its best to have it at its assigned (forever) address when you install FOG.

            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
              2/5
              Last post

            193

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project