• 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.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.
  • 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/

                T 1 Reply Last reply Nov 19, 2015, 6:11 PM Reply Quote 1
                • T
                  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
                  • N
                    need2 Moderator
                    last edited by Nov 20, 2015, 4:48 PM

                    I’m late to the party, but no I never got WDS and FOG to play well together. I wasn’t just trying to get them to coexist on the same network though, I was pressing their faces so hard together that they’d forget if they were kissing or not. My goal was to work around the now solved issue of using a Windows DHCP environment to handle Legacy and UEFI PXE coexistence, which WDS can inherently handle.

                    G 1 Reply Last reply Nov 20, 2015, 8:05 PM Reply Quote 1
                    • G
                      george1421 Moderator @need2
                      last edited by Nov 20, 2015, 8:05 PM

                      @need2 said:

                      I’m late to the party, but no I never got WDS and FOG to play well together.

                      @FlowLive was just able to do this. Its a bit down in the thread, but he has FOG acting as the PXE boot server then you can select the WDS environment from the FOG Menu.

                      I went the other way around and setup FOG to be able to boot the MDT litetouch image so that you can deploy through MDT from the FOG boot menu. Two different ways to have FOG and MDT/WDS coexist.

                      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 1
                      • N
                        need2 Moderator
                        last edited by Nov 20, 2015, 8:08 PM

                        Saw that. Good work. The only reason I wanted WDS and FOG to work together was to leverage WDS’s handling of UEFI/BIOS identification. But the DHCP method is much more elegant and less resource intensive.

                        I am glad that you got that working though. Options are valuable when doing IT work.

                        1 Reply Last reply Reply Quote 1
                        • J
                          jukka2015 @george1421
                          last edited by Nov 28, 2015, 4:15 PM

                          @george1421

                          I only want one list of options, is there a way to build a list with FOG management GUI and copy it to: BootMenu.class.php file directly? Or any other suggestion…
                          Where is located that Advanced boot menu settings? I just want simple list with couple of options, like: “Boot from local drive”, “Diagnostic” (that’s .ISO image) and make a “Quick inventory”…

                          G 1 Reply Last reply Nov 28, 2015, 5:44 PM Reply Quote 0
                          • G
                            george1421 Moderator @jukka2015
                            last edited by george1421 Nov 28, 2015, 11:45 AM Nov 28, 2015, 5:44 PM

                            @jukka2015

                            Not sure I totally understand what your goal is.

                            But for the easy part first. You have to be running the SVN trunk build (pre 1.3.0) not the 1.2.0 base. Under the fog settings there is the ipxe boot menu. You must add a new entry then you can set the options to display the new menu item depending on the state of the target computer (new, undefined, all, etc [stating from my memory]). You can add in the iso image as I outlined below. Also @Wayne-Workman just updated a wiki about adding items to the ipxe menu.

                            Now about the part I’m not sure about. Do I understand that you want to remove most of the standard FOG menu items except for a select few? If that is the case you will need to edit the mysql database. Before I go into that, lets make sure that is what you want to do. (personally I don’t recommend this approach [tweaking the database] because there is no way to know how it will impact FOGs execution, stated as a non developer). Wayne kind of laid out what needs to be done to the database about midway down in this thread.

                            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!

                            J 1 Reply Last reply Nov 28, 2015, 6:45 PM Reply Quote 0
                            • J
                              jukka2015 @george1421
                              last edited by Nov 28, 2015, 6:45 PM

                              @george1421

                              Do I understand that you want to remove most of the standard FOG menu items except for a select few?

                              That’s exactly what I want… My use of FOG is just as that minimal and I don’t want users to get confused. 🙂 … I want to run my .ISO file directly from the first menu, I was succesfully start it from the Advanced menu for now, but I don’t know how to link it to first list below default choice .

                              G 1 Reply Last reply Nov 28, 2015, 7:19 PM Reply Quote 0
                              • G
                                george1421 Moderator @jukka2015
                                last edited by Nov 28, 2015, 7:19 PM

                                @jukka2015 Ok then, my first recommendation is for you to start a new thread so this one doesn’t get polluted with off topic discussions. Then we can focus on your specific needs.

                                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 @george1421
                                  last edited by Dec 2, 2015, 10:18 PM

                                  @george1421 said:

                                  Bingo, I have it.

                                  I have two ways to boot a MDT litetouch image via FOG.

                                  1. The first way is how I stated to take the iso image created by MDT and move that to your FOG server (on rhel variants) in /var/www/html/iso folder. The file I used was to move LiteTouchPE_x86.iso from the MDT deployment share to that …/iso folder as ltpe_x86.iso. Then to create the PXE boot menu as I outlined below. The freeze issue I had was related to how I created the VM. I created it as a linux VM not a windows VM (shame on me). Once I reset it to a windows 7 VM the system booted to the lite touch menu.

                                  2. By using instructions found in Wayne’s link below. http://ipxe.org/howto/winpe I used this as the bases of option 2. I’ve created WinPE USB boot drives so I already had WAIK installed and already had a boot.wim created, so I’m not going into that part. But in the target winpe environement I took the ISO folder and moved it to the fog server in /var/www/html/ISO (which is different than the <lowercase> iso folder from option 1). I placed the wimboot file (downloaded from the link provided by Wayne) in the web root folder /var/www/html. Then copied the LiteTouchPE_x86.wim from MDT deployment share to /var/www/html/ISO as boot.wim. And finally created the FOG PXE menu with these settings.
                                    Menu Item: winpe.BootMDT_x86
                                    Description: Boot MDT LiteTouch x86
                                    Parameters:
                                    kernel http://<fog_server_ip>/wimboot
                                    initrd http://<fog_server_ip>/ISO/boot/bcd BCD
                                    initrd http://<fog_server_ip>/ISO/boot/boot.sdi boot.sdi
                                    initrd -n boot.wim http://<fog_server_ip>/ISO/boot.wim boot.wim
                                    boot

                                  I still would like to understand how I can use the variables to the fog server IP address so I don’t have to hard code the IP address into the boot menu. That would make the instructions a bit more dynamic.

                                  Understand what I’ve done is a first pass attempt to make FOG deploy both FOG images and to launch MDT’s litetouch image without the need of a WDS server (which would have made things a bit easier in one respect)

                                  Is it important to actually use /var/www/html/ or can I just use /var/www/?

                                  I read docs, in part http://ipxe.org/howto/winpe and I already have a wim file but also created an .iso from MDT 2012, now I’m trying to get all this to boot.

                                  My issue is if I use the ISO, I have to press a key to boot from CD or DVD like if I was booting from an install disc which is a bit different than the current setup on PXE which brought us directly to the LiteTouch environment.

                                  Can’t I simply take the wim file already in MDT and along with other needed files have the same “feel” as if I was using the old PXE boot?
                                  Anyone did that or knows what I mean?

                                  G 2 Replies Last reply Dec 2, 2015, 10:47 PM Reply Quote 0
                                  • G
                                    george1421 Moderator @FlowLive
                                    last edited by Dec 2, 2015, 10:47 PM

                                    @FlowLive said:

                                    Is it important to actually use /var/www/html/ or can I just use /var/www/?

                                    I read docs, in part http://ipxe.org/howto/winpe and I already have a wim file but also created an .iso from MDT 2012, now I’m trying to get all this to boot.

                                    My issue is if I use the ISO, I have to press a key to boot from CD or DVD like if I was booting from an install disc which is a bit different than the current setup on PXE which brought us directly to the LiteTouch environment.

                                    Can’t I simply take the wim file already in MDT and along with other needed files have the same “feel” as if I was using the old PXE boot?
                                    Anyone did that or knows what I mean?

                                    As for point 1. the path is specific to your distribution. The rhel branch of linux has /var/www/html the debian branch uses /var/www. To answer your question it needs to be what is correct for your distribution. What I should have said (maybe) is off the root of your web servers base directory (I’m not sure if that is any clearer).

                                    OK, remember that the ISO image IS a CDROM image. This (press any key to boot) is exactly what you get when you boot from a CDROM. So on the plus side it is working exactly correct. Whoot!! but not as you need.

                                    To get roughly the equivalent of what you have with WDS you need to use the option 2 from my post. This is a bit more complicated to setup, but in this case you will take the boot.wim (or what ever the wim file is called) from MDT rename it to boot.wim and install it in the ISO folder.

                                    Let me see what I can do to archive my setup.

                                    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 2 Replies Last reply Dec 3, 2015, 1:30 PM Reply Quote 0
                                    • G
                                      george1421 Moderator @FlowLive
                                      last edited by george1421 Dec 3, 2015, 2:16 PM Dec 2, 2015, 11:34 PM

                                      @FlowLive

                                      Then take the wim file from MDT and move it to the ISO folder and rename it boot.wim. Then just follow the option 2 instructions. If you want to replicate what I’ve done here install MS waik and build this directory structure. None of this code belongs to me or my company.

                                      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 @george1421
                                        last edited by FlowLive Dec 3, 2015, 7:45 AM Dec 3, 2015, 1:30 PM

                                        @george1421
                                        Yes but if I put it in the ISO folder it would be the one from the .iso as well, I would end up having the same boot prompts as if I was booting off the disc. Or can I take some files from MDT, like the bcd file and boot.sdi?

                                        Just to clarify, i don’t know if it’s the new Debian settings or Fog that changed it but I do see DocumentRoot to be /var/www/html/ found this in /etc/apache2/available-sites/000-default.conf and 001-fog.conf files.

                                        I’m trying to download the files but i guess dropbox is blocked over here, thanks anyways!

                                        I did create the structure using WAIK, I will try to get this to boot see if it’s any different.

                                        1 Reply Last reply Reply Quote 0
                                        • F
                                          FlowLive @george1421
                                          last edited by Dec 3, 2015, 2:24 PM

                                          @george1421
                                          “Then copied the LiteTouchPE_x86.wim from MDT deployment share to /var/www/html/ISO as boot.wim.”

                                          There is already a boot.wim file in /var/www/html/ISO/boot/, you keep both of em or you made an error on the destination?

                                          G 1 Reply Last reply Dec 3, 2015, 3:37 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 3 / 4
                                          • First post
                                            Last post

                                          232

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project