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

FOG iPXE USB Boot Stick

Scheduled Pinned Locked Moved
General Problems
1
5
3.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.
  • F
    FritzBox360
    last edited by Jan 13, 2017, 7:42 AM

    Hello,

    i am trying to build an USB Stick to boot into FOG. We have two FOG instances, one is the productive one ( 1.2.0 ) and the other is the testing one ( 1.3.1 RC ). Both servers have diffrent IPs and just the productive one has the next-server set in the DHCP. So the problem is i cann not reach the testing server. I thought i could make a stick with says " hey pc, please just go to this next-server and start from there" - so i will boot the USB Stick wich says where the FOG server is and not via DHCP

    I found this in the wiki:

    https://wiki.fogproject.org/wiki/index.php?title=USB_Bootable_Media#USB_Boot_UEFI_client_into_FOG_menu_.28easy_way.29

    with is nearly what i need ( i think so ) - so i built this image and install it on an USB stick but i am unable to boot.

    I tried the last method with gPXE because i do not need UEFI.

    In my opinion the image- path could be the problem because gPXE can not find it ( No such file or directoy )

    As far i know i have to boot to http://FOGIP/fog/service/ipxe/boot.php

    but like here with the chain “chain http://example.com/pxelinux.0” it is not working.

    Any ideas, or better options, where could be the problem?

    Thank you!

    1 Reply Last reply Reply Quote 0
    • F
      FritzBox360
      last edited by Jan 13, 2017, 7:57 AM

      i just found this

      https://forums.fogproject.org/topic/6202/boot-from-usb-stick-to-get-fog-menu-for-machines-without-pxe

      but is it from 2015 - and with http://${nextserver}/fog/service/ipxe/boot.php?mac=${net0/mac}
      i just get the same error " no such file or directory "

      1 Reply Last reply Reply Quote 0
      • F
        FritzBox360
        last edited by Jan 13, 2017, 9:03 AM

        okay - i think i found a solution

        this script is working for me

        #!ipxe
        
        dhcp
        set next-server 134.155.131.215
        set filename undionly.kpxe
        chain tftp://${next-server}/${filename}```
        1 Reply Last reply Reply Quote 0
        • F
          FritzBox360
          last edited by Jan 13, 2017, 9:14 AM

          okay, not really solved - i tried it in another subnet without dhcp next-server and it worked.
          in the same subnet where the dhcp next-server is set, there is an infinite loop of iPXE starting, but not booting into FOG

          1 Reply Last reply Reply Quote 0
          • F
            FritzBox360
            last edited by FritzBox360 Jan 13, 2017, 5:26 AM Jan 13, 2017, 10:55 AM

            found this post from @cml and tried the image from there!

            https://forums.fogproject.org/topic/4782/help-usb-boot-fog/25

            It works with 1.3.1 RC6! Thank you man!

            Can be closed here

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

            203

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project