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

Switching to Gpxelinux

Scheduled Pinned Locked Moved
Tutorials
9
43
33.1k
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.
  • K
    Kevin
    last edited by Jan 26, 2013, 9:01 PM

    So i’ve seen people post switching their servers over to gpxelinux for faster boot times, and using http instead of tftp. I now am running into a situation where we might need to use a tftp server at work for other programs, and our FOG server might be going away. From what i’ve read, you can use gpxelinux to boot over http instead of tftp. However, from when i’ve played with it, i’ve never actually been able to boot anything with gpxelinux. I get either vesamenu.32 errors, or that a URL syntax has been detected, and just fails. So i’m here to see if someone could write up a how to on how to switch FOG over to gpxe completely instead of regular pxe. I know people say it’s as easy as replacing pxelinux with gpxelinux, and some config changes, but I have yet to see anything work. Any write up would be appreciated!

    "The quieter you become, the more you are able to hear"

    New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

    1 Reply Last reply Reply Quote 0
    • J
      jbsclm Developer
      last edited by Jan 28, 2013, 8:42 PM

      I’ve managed to get it to work in a test environment, see the attached zipped word document.
      We don’t use multicast, and get slow loading when imaging PCs, this may well improve things for us.

      Let me know how you go on.

      [url=“/_imported_xf_attachments/0/234_gpxelinux.zip?:”]gpxelinux.zip[/url]

      1 Reply Last reply Reply Quote 0
      • K
        Kevin
        last edited by Jan 29, 2013, 1:13 AM

        The guide helped a lot. Thank you for it. Since I use Ubuntu, things were in different places, but I was able to get it figured out. I can post the changes here if you’d like. I was able to image some VM’s and boot ISO’s with it, so i’m pretty happy. The one thing i’m not sure of though is that when I select an item to boot, whether is be an image or an ISO, the screen doesn’t clear. So I can still see the background and the items loading on the bottom. This could be because of it being in a VM, but i’m not sure. Any ideas? I loaded it via TFTP this time so I could take the screenshot, but it started doing this when it boot with the gpxelinux. I mean, an easy work around would be to make the screen all black, but curious as to why that’s happening.[IMG]http://i1066.photobucket.com/albums/u416/kgaudio2/FOG_zps3de63507.jpg[/IMG]

        "The quieter you become, the more you are able to hear"

        New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

        1 Reply Last reply Reply Quote 0
        • F
          falko Moderator
          last edited by Jan 29, 2013, 3:17 PM

          [quote=“Kevin, post: 10328, member: 3”]The guide helped a lot. Thank you for it. Since I use Ubuntu, things were in different places, but I was able to get it figured out. I can post the changes here if you’d like. I was able to image some VM’s and boot ISO’s with it, so i’m pretty happy. The one thing i’m not sure of though is that when I select an item to boot, whether is be an image or an ISO, the screen doesn’t clear. So I can still see the background and the items loading on the bottom. This could be because of it being in a VM, but i’m not sure. Any ideas? I loaded it via TFTP this time so I could take the screenshot, but it started doing this when it boot with the gpxelinux. I mean, an easy work around would be to make the screen all black, but curious as to why that’s happening.[IMG]http://i1066.photobucket.com/albums/u416/kgaudio2/FOG_zps3de63507.jpg[/IMG][/quote]
          please post you Ubuntu changes, would be interested. Or make a wiki page

          1 Reply Last reply Reply Quote 0
          • J
            jbsclm Developer
            last edited by Jan 29, 2013, 6:26 PM

            I just missed one step I think.
            When you create a task, it puts in the default values for kernel and boot image, you need to go into fog settings and set the following
            FOG_TFTP_PXE_KERNEL
            FOG_PXE_BOOT_IMAGE
            to
            [url]http://192.168.1.104/fogboot/kernel/bzImage[/url]
            and
            [url]http://192.168.1.104/fogboot/images/init.gz[/url]

            substituting your own Ip address

            If you don’t change these then it will use tftp.

            BTW my screen looks normal, I’m using virtual box

            1 Reply Last reply Reply Quote 0
            • K
              Kevin
              last edited by Jan 29, 2013, 6:44 PM

              I have it working with HTTP, I just ran it through tftp that time so it would stay on the screen long enough for me to take the screenshot. Everything is working as it should minus that window above 🙂

              "The quieter you become, the more you are able to hear"

              New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

              1 Reply Last reply Reply Quote 0
              • K
                Kevin
                last edited by Jan 30, 2013, 12:46 AM

                I have made a wiki page for this, [url]http://www.fogproject.org/wiki/index.php/Switching_to_gpxelinux_on_Ubuntu_FOG_server[/url]

                "The quieter you become, the more you are able to hear"

                New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

                1 Reply Last reply Reply Quote 0
                • F
                  falko Moderator
                  last edited by Jan 30, 2013, 5:19 AM

                  Nice share, will have to test this out.
                  What is the advantage of using gpxe?

                  1 Reply Last reply Reply Quote 0
                  • K
                    Kevin
                    last edited by Jan 30, 2013, 1:36 PM

                    gpxelinux uses http as the protocol instead of tftp. The big advantage is that items from the pxe menu will load significantly faster than tftp, which is limited to around 2-4 MB/s. In a test environment, and loaded an ISO that took 4:52 to boot using tftp and pxelinux. When using http from gpxelinux, the same iso was able to load in 14.9 seconds.

                    "The quieter you become, the more you are able to hear"

                    New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

                    1 Reply Last reply Reply Quote 0
                    • F
                      falko Moderator
                      last edited by Jan 30, 2013, 7:40 PM

                      Thanks Kevin

                      1 Reply Last reply Reply Quote 0
                      • F
                        falko Moderator
                        last edited by Jan 31, 2013, 9:56 AM

                        does multicast work, anyone know?

                        1 Reply Last reply Reply Quote 0
                        • J
                          jbsclm Developer
                          last edited by Jan 31, 2013, 6:50 PM

                          I’ve not tried it, but the boot file that gets generated has the http path rather than the file path.
                          It must use

                          FOG_TFTP_PXE_KERNEL
                          FOG_PXE_BOOT_IMAGE

                          for its kernel and init.gz.

                          We use capone ( with a couple of tweaks ) tied to the system serial rather than multicast.
                          The tweaks we have mean that we get an image history for each PC, so we know if it has a history of rebuild.

                          1 Reply Last reply Reply Quote 0
                          • J
                            jayphizzle
                            last edited by Feb 5, 2013, 10:50 AM

                            switching to the faster gpxelinux sounds great.
                            I’m gone through the wiki article but stuck on step 7 (dhcp).
                            We don’t use fog as dhcp server, this will be handeld by our ms 2008 server.

                            Can i skip this step and it should still work?
                            Or do i need to configure something on the win server ?

                            1 Reply Last reply Reply Quote 0
                            • K
                              Kevin
                              last edited by Feb 5, 2013, 6:29 PM

                              I think all you would need to do is point option 66 or 67 in DCHP settings from pxelinux.0 to gpxelinux.0. I have not personally tried this, but that should be all that’s needed.

                              "The quieter you become, the more you are able to hear"

                              New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

                              1 Reply Last reply Reply Quote 0
                              • J
                                jbsclm Developer
                                last edited by Feb 7, 2013, 6:02 PM

                                A word of warning, we tried gpxelinux and http in our live environment, but found that performance was much worse that pxelinux and tftp.
                                Looking at the wireshark traces showed lost of retransmissions, whci is well documented on the web, mainly in a vmware environment. From what I could see on the web there is no solution, so we have reverted back to pxelinux and tftp.

                                1 Reply Last reply Reply Quote 0
                                • W
                                  wolf_from_the_north
                                  last edited by Jun 19, 2013, 11:51 AM

                                  Hi,

                                  My name is christophe and i’m kinda new to all this fog happening.
                                  I tried to follow your guide but can’t get any of it to work.
                                  i have a running configuration in VM on the latest virtualbox.
                                  i installed syslinux 5.10 ( latest version ) and followed your wiki page.
                                  but when i make the changes to gpxe it does not work, the dhcp server keeps booting to tftp, adjusting the links in the bootmenu config file as suggested it simply replies that the file does not excist or its a wrong path.
                                  i tried to acces the files in my internet explorer and it works just fine.
                                  can some help me get my fogserver up and running on http protocol please ? or indicate what i can be doing wrong ?
                                  it seems that when de dhcp starts it denies the http protocol but on the website of syslinux they say it should support http protocol now.

                                  help !!!

                                  thnx

                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    Kevin
                                    last edited by Jun 19, 2013, 12:58 PM

                                    wolf,

                                    Did you run this command, [B][FONT=sans-serif][COLOR=#000000]ln -s /tftpboot/fog fogboot [/COLOR][/FONT][/B][FONT=sans-serif][COLOR=#000000]from the [B]www/var folder[/B][/COLOR][/FONT]? If you ran through the guide, steps 1-8, it will still boot through tftp until you run that command.

                                    "The quieter you become, the more you are able to hear"

                                    New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

                                    1 Reply Last reply Reply Quote 0
                                    • W
                                      wolf_from_the_north
                                      last edited by Jun 19, 2013, 1:24 PM

                                      i did run the command and tested in my browser, got a download request and i could browse the folder contents in IE
                                      i just tried to adjust the dhcp server with option 209 and 210 --> still no luck ?
                                      can you help me please ?

                                      1 Reply Last reply Reply Quote 0
                                      • W
                                        wolf_from_the_north
                                        last edited by Jun 19, 2013, 1:29 PM

                                        maybe som other info
                                        i’m running Ubuntu server 10.04 LTS and fog 0.32
                                        also when i try to load the gpxelinux.0 trough my isc dhcp3 server is fails -> it just runs block , only pxelinux.0 works
                                        all files are from syslinux 5.10 including the vesamenu.c32

                                        thnx for allready looking into this case.

                                        1 Reply Last reply Reply Quote 0
                                        • W
                                          wolf_from_the_north
                                          last edited by Jun 24, 2013, 11:11 AM

                                          small update from me.
                                          i did not get it to work on GPXE butt !!!
                                          I got it to work with Ipxe 🙂 on http 🙂

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

                                          147

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.3k

                                          Posts
                                          Copyright © 2012-2024 FOG Project