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

Debian 8, Fog trunk, PXELinux on MS Server and MS DHCP help

Scheduled Pinned Locked Moved Solved
FOG Problems
7
69
47.5k
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.
  • S
    Sebastian Roth Moderator
    last edited by Nov 18, 2015, 10:13 PM

    Quick image means pushing an image to the client. If there is no image on the server it cannot be deployed to the client.

    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator @FlowLive
      last edited by Nov 18, 2015, 10:31 PM

      @FlowLive No boot option: ?? I said it was a guess.

      But that should build the FOG PXE menu correctly for chaining. Since the documentation for the new fog pxe menu management is not written yet, I could only try to reverse engineer what the fields are and what they do to the pxe menu. It should work, but no promises.

      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
        last edited by Nov 18, 2015, 10:42 PM

        The typical workflow for a fully configured but blank FOG server is this

        1. Before you build your reference image, pxe boot your reference image computer (VM) into the FOG pxe menu and select full registration. Enter the computer name and any other parameters necessary and submit the registration to the FOG server.
        2. Reboot the reference image computer and then build your reference image.
        3. Once your reference image is built then sysprep and power off your reference image.
        4. From the FOG menu locate the reference image computer that you registered before and setup a upload task to capture the image from the reference computer. Don’t forget to check the box to power off the reference computer after the capture is done.
        5. PXE boot the reference computer and the upload will begin automatically. Once the upload is done the reference computer will power off. Set this aside for now.
        6. PXE boot your first target computer into the FOG menu and register it. Once it is registered you can select quick image to download the captured image to the first target computer.
        7. Fine tune and repeat.

        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
        • F
          FlowLive
          last edited by Nov 18, 2015, 10:47 PM

          Took longer than expected, had the FOGFTP error and had to fix that.

          Now I try the option in the menu but unfortunately all I got is a blinking cursor 😞

          1 Reply Last reply Reply Quote 0
          • G
            george1421 Moderator
            last edited by george1421 Nov 18, 2015, 5:15 PM Nov 18, 2015, 11:03 PM

            @FlowLive said:

            Took longer than expected, had the FOGFTP error and had to fix that.

            Now I try the option in the menu but unfortunately all I got is a blinking cursor 😞

            crud, I just noticed that the forum ate some of my command line. Lets try it as code. You have to pay attention to the double forward and back slashes.

            Menu Item: wds.BootIt
            Description: Launch WDS Boot x86
            Parameters:
            set wdsserver:ipv4 192.168.1.88
            set next-server ${wdsserver}
            chain tftp://${wdsserver}/Boot\\x86\\wdsnbp.com
            
            

            The slowness in the forum is driving me a bit nuts today. Its taking me almost 12 minutes to post this.

            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
            • F
              FlowLive
              last edited by Nov 19, 2015, 2:10 PM

              Yeah for some reason it seems this is the only site where I experience slowliness to a point that I have to close my browser and reopen…
              After it’s all back to normal !

              1 Reply Last reply Reply Quote 0
              • F
                FlowLive @george1421
                last edited by FlowLive Nov 19, 2015, 9:26 AM Nov 19, 2015, 3:18 PM

                @george1421 So I was able to get something with this code, took the steps first as per
                http://ipxe.org/appnote/chainload_wds to add different
                boot/*
                boot*
                /boot/*
                \boot*
                /boot*
                parameters in the WDS server’s registry…

                I now get this;

                Downloaded WDSNBP...
                
                Architecture: x64
                WDSNBP started using DHCP Referral.
                Contacting Server: x.x.x.x (Gateway: 0.0.0.0)..
                No response from Windows Deployment Services server.
                Launching pxeboot.com...
                TFTP download failed
                

                Getting close! Any idea? I did restart WDS service after changing the registry, as per http://ipxe.org/appnote/chainload_wds
                The contact server ip is valid but I wonder about the gateway being all 0.0.0.0

                G 1 Reply Last reply Nov 19, 2015, 3:26 PM Reply Quote 0
                • G
                  george1421 Moderator @FlowLive
                  last edited by Nov 19, 2015, 3:26 PM

                  @FlowLive

                  Looking and the chain load link that you sent. I did see this reference

                    set netX/next-server ip.of.wds.server
                    imgexec tftp://${netX/next-server}/boot/x86/wdsnbp.com
                  

                  What I think I might have missed is in my guess is setting the network adapter 0:

                  set wdsserver:ipv4 192.168.1.88
                  set net0/next-server ${wdsserver}
                  

                  Its interesting that the chain does work (kind of) that it does gram the wdsnnp.com file, but there is something in the referral that its missing to continue.

                  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!

                  F 1 Reply Last reply Nov 19, 2015, 3:41 PM Reply Quote 1
                  • F
                    FlowLive @george1421
                    last edited by FlowLive Nov 19, 2015, 9:41 AM Nov 19, 2015, 3:41 PM

                    @george1421 Well with this one you just sent I still get a blinking cursor (I added /boot/x86/wdsnbp.com)

                    This is what worked:

                    set wdsserver:ipv4 <ip_addr_wds_server>
                    set next-server ${wdsserver}
                    chain tftp://${wdsserver}/Boot\x86\wdsnbp.com
                    

                    Funny thing is just changing to forward slashes after Boot and x86 brings back the blinking cursor… thought the changes to the registry was especially for that…

                    Anyhow, now I tried;

                    set wdsserver:ipv4 x.x.x.x
                    set net0/next-server ${wdsserver}
                    chain tftp://${wdsserver}/Boot\x86\wdsnbp.com
                    

                    It Works!!! 😲

                    Got my PXE Menu showing, got to WDS, booted the wim file!

                    This is great! Thanks a bunch!

                    W 1 Reply Last reply Nov 19, 2015, 3:44 PM Reply Quote 2
                    • W
                      Wayne Workman @FlowLive
                      last edited by Nov 19, 2015, 3:44 PM

                      @FlowLive said:

                      @george1421 Well with this one you just sent I still get a blinking cursor (I added /boot/x86/wdsnbp.com)

                      This is what worked:

                      set wdsserver:ipv4 <ip_addr_wds_server>
                      set next-server ${wdsserver}
                      chain tftp://${wdsserver}/Boot\x86\wdsnbp.com
                      

                      Funny thing is just changing to forward slashes after Boot and x86 brings back the blinking cursor… thought the changes to the registry was especially for that…

                      Anyhow, now I tried;

                      set wdsserver:ipv4 x.x.x.x
                      set net0/next-server ${wdsserver}
                      chain tftp://${wdsserver}/Boot\x86\wdsnbp.com
                      

                      It Works!!! 😲

                      Got my PXE Menu showing, got to WDS, booted the wim file!

                      This is great! Thanks a bunch!

                      #wiki hash tagging this for addition to the WiKi.

                      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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      1 Reply Last reply Reply Quote 0
                      • F
                        FlowLive
                        last edited by Nov 19, 2015, 4:01 PM

                        I wonder if ip helper on the switches should be changed, I was informed it had been added before, you guys know?
                        I guess if it works I shouldnt change more but if there’s a potential problem with this let me know!

                        Funny thing now as well is booting to hard drive works, before it was booting memtest instead…

                        Now I read that it’s not possible to change the menu order of things, WDS being all the way down, can’t I just bump it up a little?

                        W G 2 Replies Last reply Nov 19, 2015, 4:22 PM Reply Quote 0
                        • W
                          Wayne Workman @FlowLive
                          last edited by Nov 19, 2015, 4:22 PM

                          @FlowLive said:

                          Now I read that it’s not possible to change the menu order of things, WDS being all the way down, can’t I just bump it up a little?

                          I just tried and succeeded. Here were my steps:

                          
                          MariaDB [fog]> select pxeID, pxeName from pxeMenu;
                          +-------+-------------------+
                          | pxeID | pxeName           |
                          +-------+-------------------+
                          |     1 | fog.local         |
                          |     2 | fog.memtest       |
                          |     3 | fog.reginput      |
                          |     4 | fog.keyreg        |
                          |     5 | fog.reg           |
                          |     6 | fog.quickimage    |
                          |     7 | fog.multijoin     |
                          |     8 | fog.quickdel      |
                          |     9 | fog.sysinfo       |
                          |    10 | fog.debug         |
                          |    11 | fog.advanced      |
                          |    12 | fog.advancedlogin |
                          |    13 | fog.approvehost   |
                          |    14 | win7              |
                          |    15 | DBAN              |
                          |    16 | DBAN-Zero         |
                          +-------+-------------------+
                          16 rows in set (0.00 sec)
                          
                          MariaDB [fog]> update pxeMenu set pxeID=17 where pxeID=2;
                          Query OK, 1 row affected (0.00 sec)
                          Rows matched: 1  Changed: 1  Warnings: 0
                          
                          MariaDB [fog]> select pxeID, pxeName from pxeMenu;
                          +-------+-------------------+
                          | pxeID | pxeName           |
                          +-------+-------------------+
                          |     1 | fog.local         |
                          |    17 | fog.memtest       |
                          |     3 | fog.reginput      |
                          |     4 | fog.keyreg        |
                          |     5 | fog.reg           |
                          |     6 | fog.quickimage    |
                          |     7 | fog.multijoin     |
                          |     8 | fog.quickdel      |
                          |     9 | fog.sysinfo       |
                          |    10 | fog.debug         |
                          |    11 | fog.advanced      |
                          |    12 | fog.advancedlogin |
                          |    13 | fog.approvehost   |
                          |    14 | win7              |
                          |    15 | DBAN              |
                          |    16 | DBAN-Zero         |
                          +-------+-------------------+
                          16 rows in set (0.00 sec)
                          
                          MariaDB [fog]> update pxeMenu set pxeID=2 where pxeID=16;
                          Query OK, 1 row affected (0.00 sec)
                          Rows matched: 1  Changed: 1  Warnings: 0
                          
                          MariaDB [fog]> select pxeID, pxeName from pxeMenu;
                          +-------+-------------------+
                          | pxeID | pxeName           |
                          +-------+-------------------+
                          |     1 | fog.local         |
                          |    17 | fog.memtest       |
                          |     3 | fog.reginput      |
                          |     4 | fog.keyreg        |
                          |     5 | fog.reg           |
                          |     6 | fog.quickimage    |
                          |     7 | fog.multijoin     |
                          |     8 | fog.quickdel      |
                          |     9 | fog.sysinfo       |
                          |    10 | fog.debug         |
                          |    11 | fog.advanced      |
                          |    12 | fog.advancedlogin |
                          |    13 | fog.approvehost   |
                          |    14 | win7              |
                          |    15 | DBAN              |
                          |     2 | DBAN-Zero         |
                          +-------+-------------------+
                          16 rows in set (0.00 sec)
                          
                          MariaDB [fog]> update pxeMenu set pxeID=16 where pxeID=17;
                          Query OK, 1 row affected (0.00 sec)
                          Rows matched: 1  Changed: 1  Warnings: 0
                          
                          MariaDB [fog]> select pxeID, pxeName from pxeMenu;
                          +-------+-------------------+
                          | pxeID | pxeName           |
                          +-------+-------------------+
                          |     1 | fog.local         |
                          |    16 | fog.memtest       |
                          |     3 | fog.reginput      |
                          |     4 | fog.keyreg        |
                          |     5 | fog.reg           |
                          |     6 | fog.quickimage    |
                          |     7 | fog.multijoin     |
                          |     8 | fog.quickdel      |
                          |     9 | fog.sysinfo       |
                          |    10 | fog.debug         |
                          |    11 | fog.advanced      |
                          |    12 | fog.advancedlogin |
                          |    13 | fog.approvehost   |
                          |    14 | win7              |
                          |    15 | DBAN              |
                          |     2 | DBAN-Zero         |
                          +-------+-------------------+
                          16 rows in set (0.00 sec)
                          
                          MariaDB [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!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

                          F 1 Reply Last reply Nov 19, 2015, 4:31 PM Reply Quote 1
                          • F
                            FlowLive @Wayne Workman
                            last edited by Nov 19, 2015, 4:31 PM

                            @Wayne-Workman Nice, how do you get to MariaDB? Are those change sticking through trunk updates?

                            W 1 Reply Last reply Nov 19, 2015, 4:55 PM Reply Quote 0
                            • F
                              FlowLive @Wayne Workman
                              last edited by FlowLive Nov 19, 2015, 10:55 AM Nov 19, 2015, 4:45 PM

                              @Wayne-Workman
                              Is it normal that the latest commit I see in sourceforge is r4393?

                              Nervermind, I just realized how it’s setup…

                              1 Reply Last reply Reply Quote 0
                              • W
                                Wayne Workman @FlowLive
                                last edited by Wayne Workman Nov 19, 2015, 10:55 AM Nov 19, 2015, 4:55 PM

                                @FlowLive said:

                                @Wayne-Workman Nice, how do you get to MariaDB? Are those change sticking through trunk updates?

                                The settings should stick.

                                mysql
                                use fog
                                

                                @FlowLive said:

                                Is it normal that the latest commit I see in sourceforge is r4393?

                                Yep.

                                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!
                                Daily Clean Installation Results:
                                https://fogtesting.fogproject.us/
                                FOG Reporting:
                                https://fog-external-reporting-results.fogproject.us/

                                1 Reply Last reply Reply Quote 0
                                • G
                                  george1421 Moderator @FlowLive
                                  last edited by Nov 19, 2015, 5:10 PM

                                  @FlowLive said:

                                  Now I read that it’s not possible to change the menu order of things, WDS being all the way down, can’t I just bump it up a little?

                                  Where it should be, way at the bottom. Where do you think the competition would put it, front and center?? 😑

                                  I’m glad/happy you got that wds thing fixed out. From what I’ve read those forward / backslashes are a PITA to get worked out. It looks like you got the right combination to get it done.

                                  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!

                                  W 1 Reply Last reply Nov 19, 2015, 5:12 PM Reply Quote 1
                                  • W
                                    Wayne Workman @george1421
                                    last edited by Nov 19, 2015, 5:12 PM

                                    @george1421 said:

                                    @FlowLive said:

                                    Now I read that it’s not possible to change the menu order of things, WDS being all the way down, can’t I just bump it up a little?

                                    Where it should be, way at the bottom. Where do you think the competition would put it, front and center?? 😑

                                    I have the urge to delete my post but the inner-tech in me says not to… lol

                                    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!
                                    Daily Clean Installation Results:
                                    https://fogtesting.fogproject.us/
                                    FOG Reporting:
                                    https://fog-external-reporting-results.fogproject.us/

                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      george1421 Moderator
                                      last edited by george1421 Nov 19, 2015, 11:17 AM Nov 19, 2015, 5:16 PM

                                      I’m going to guess that its not possible to change the display order. There is no concept of display order in the database so I assume the display order is being set based on the record ID where boot from the hard drive is record ID 1. I would not recommend messing with any record ID to alter the display order.

                                      You will receive much bad karma if you do go ahead with this plan.

                                      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!

                                      W 1 Reply Last reply Nov 19, 2015, 5:28 PM Reply Quote 0
                                      • W
                                        Wayne Workman @george1421
                                        last edited by Nov 19, 2015, 5:28 PM

                                        @george1421 Yeah you’re right. The DB changes below do alter the order in which the items are showed, but it doens’t change what’s done.

                                        It appears that the fog default items are hard-coded somehow.

                                        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!
                                        Daily Clean Installation Results:
                                        https://fogtesting.fogproject.us/
                                        FOG Reporting:
                                        https://fog-external-reporting-results.fogproject.us/

                                        Tom ElliottT 1 Reply Last reply Nov 19, 2015, 6:11 PM Reply Quote 1
                                        • Tom ElliottT
                                          Tom Elliott @Wayne Workman
                                          last edited by Nov 19, 2015, 6:11 PM

                                          @Wayne-Workman Magic.

                                          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

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

                                          209

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project