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

    How to Setup Ubuntu Server/FOG 1.2.0/Create Univeral Windows 7 Image using Sysprep - Step-by-Step

    Scheduled Pinned Locked Moved
    Tutorials
    22
    44
    76.7k
    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.
    • Liam SullivanL
      Liam Sullivan
      last edited by

      [B]Uploading your reference image to FOG[/B]

      1. After sysprep completes it will shut down your VM or workstation.

      2. On another machine, open your Fog Management Console [url]http://FogServer/Fog/Management[/url]

      3. Clicks Image Management -> New Image
        • Name the image something meaningful, enter a description if you desire and for Windows 7 make sure to set Image Type -> Multiple Partition Image – Single Disk (Not Resizable)
        i. This is why you need to use a smaller partition and we set the System Disk – Extend feature in
        the unattend.xml file.
        • Save your changes.

      4. Power the sysprep computer on and enter the BIOS screen. Ensure that the computer is set to PXE boot and that FOG’s PXE functionality is working on your network.

      5. When the computer reaches the FOG PXE boot menu, select Registration and Inventory and register the host. It helps to name it something that reminds you of its purpose. I usually do Win7x64Sysprep or the like.

      6. As you enter the options, make sure to select your new Host Image from the options and you can set the HOST OS.

      7. After the host registers shut the computer down.

      8. Now back in the web management interface; click Host Management -> List all Hosts – Select your imaging host. (Win7x64Sysprep)

      9. Click Update to save your changes.

      10. Click Basic Tasks (on the left) -> Upload

      11. Select Shutdown after Task Completion, if you need any scheduling you can enter that, and click Upload Image.

      12. Start up your VM or workstation you sysprepped. As it starts the PXE boot it will detect a waiting task from FOG
        and begin the image upload process.

      13. Once completed let the workstation power off and congrats! You’ve just created a universal Windows 7 image
        with easy deployment through FOG!!

      I hope I haven’t missed anything, I have attached this guide as a PDF in the original post that may be a bit easier to read! Good luck all 🙂

      Sully


      1 Reply Last reply Reply Quote 0
      • Jaymes DriverJ
        Jaymes Driver Developer
        last edited by

        I like what you have done here, thank you for taking the time to make a write up. I think this should curb some of the issues that users are having with installing a FOG server for the first time, and you have touched most of the bases including image creation, very nicely done.

        WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

        1 Reply Last reply Reply Quote 0
        • falkoF
          falko Moderator
          last edited by

          Jaymes Driver has said it already, great stuff and thanks for the share.
          I have made this a sticky for now as it is great for newcomers

          1 Reply Last reply Reply Quote 0
          • JunkhackerJ
            Junkhacker Developer
            last edited by

            quick correction. db password is now stored in [SIZE=13px][FONT=arial][COLOR=#262626]/var/www/fog/lib/fog/Config.class.php in fog 1.2.0+[/COLOR][/FONT][/SIZE]

            signature:
            Junkhacker
            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

            1 Reply Last reply Reply Quote 0
            • Liam SullivanL
              Liam Sullivan
              last edited by

              Cheers Junkhacker. Was bound to miss something. 🙂 Will edit to reflect.

              Sully


              1 Reply Last reply Reply Quote 0
              • P
                prince xyryl
                last edited by

                What if my dhcp is served by pfsense?

                And computers on my main network are on static ip?

                1 Reply Last reply Reply Quote 0
                • Jaymes DriverJ
                  Jaymes Driver Developer
                  last edited by

                  [quote=“prince xyryl, post: 34301, member: 25316”]What if my dhcp is served by pfsense?

                  And computers on my main network are on static ip?[/quote]

                  Then you look on the wiki or you ask a question in the help section and you don’t hijack someone’s tutorial thread.

                  My suggestion is using DNSMasq [url]http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server#DNSMASQ_settings_for_iPXE[/url]

                  If you have issues please post in the Fog forums section and do not muddle up this thread.

                  It does not matter what ip address your machines have, when they enter TFTP they look for a dhcp server and DNSMasq will offer the correct information to the clients so they can boot.

                  WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                  1 Reply Last reply Reply Quote 0
                  • P
                    prince xyryl
                    last edited by

                    Highjack? Muddleup? I didnt intend to do that , im sorry if I did. You can warn me in a more nice and professional way though… Thanks anyway

                    1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott
                      last edited by

                      [quote=“prince xyryl, post: 34306, member: 25316”]Highjack? Muddleup? I didnt intend to do that , im sorry if I did. You can warn me in a more nice and professional way though… Thanks anyway[/quote]

                      I don’t think it was meant as an “unprofessional” point of retention. It was more meant to inform. He still answered the question, and gave the “warning” in a descriptive way. Sometimes people’s phrasing may come off as “harsh”. We must all remember we’re reading text on a forum. There is no conceptual method of portraying the true intentions. Maybe it was meant to be degrading, maybe it was not intended in such a form at all.

                      Please understand that it’s just meant to suggest to a person that the tutorials, and especially those that are not requesting tutorials but actually giving tutorial descriptions, to use the appropriate forum areas to ask questions. If you need to link back to the relevant thread, simply copy the link in your post.

                      Hopefully this helps clarify the intentions of what we’re trying so hard to maintain and accomplish.

                      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
                      • B
                        braindead
                        last edited by

                        Jesus. Great job! As one who rights how-to’s myself, I know that took a lot of work. Thanks.

                        1 Reply Last reply Reply Quote 0
                        • B
                          braindead
                          last edited by

                          [S]Perhaps dumb question, but I can’t find a clear answer: where exactly do you download the client service application?[/S]

                          Searched a little harder and found it.

                          The Fog Client Service Application can be found at [url]http://<your[/url] fog server>/fog/client.

                          1 Reply Last reply Reply Quote 0
                          • Tom ElliottT
                            Tom Elliott
                            last edited by

                            Or, if you need a direct link, it would be:
                            [url]Http://<your[/url] fog server hostname or ip>/fog/management/index.php?node=client

                            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
                            • P
                              prince xyryl
                              last edited by

                              [quote=“Tom Elliott, post: 34308, member: 7271”]I don’t think it was meant as an “unprofessional” point of retention. It was more meant to inform. He still answered the question, and gave the “warning” in a descriptive way. Sometimes people’s phrasing may come off as “harsh”. We must all remember we’re reading text on a forum. There is no conceptual method of portraying the true intentions. Maybe it was meant to be degrading, maybe it was not intended in such a form at all.

                              Please understand that it’s just meant to suggest to a person that the tutorials, and especially those that are not requesting tutorials but actually giving tutorial descriptions, to use the appropriate forum areas to ask questions. If you need to link back to the relevant thread, simply copy the link in your post.

                              Hopefully this helps clarify the intentions of what we’re trying so hard to maintain and accomplish.[/quote]

                              oh? ok sir. Thanks

                              1 Reply Last reply Reply Quote 0
                              • T
                                TCUAdmin
                                last edited by

                                Hey all,
                                I am a District IT for a School District and we are mass deploying new teacher/lab computers

                                I have everything set up and ready to pull a master image to send out to other PC and I am running into a problem. I have my FOG management up and running and I have a image created in Image Management. I have my FOG management on one laptop connected to a Linksys 8 port switch and the master laptop that I want the image from connected also. I have Sysprep the Master Image and booted it to Onboard NIC. It finds the Client IP that I have set up but can not find the PXE and the TFTP times out.

                                Anyone got a answer for this problem?

                                Thanks

                                1 Reply Last reply Reply Quote 0
                                • JunkhackerJ
                                  Junkhacker Developer
                                  last edited by

                                  [quote=“TCUAdmin, post: 34426, member: 25341”]Hey all,
                                  I am a District IT for a School District and we are mass deploying new teacher/lab computers

                                  I have everything set up and ready to pull a master image to send out to other PC and I am running into a problem. I have my FOG management up and running and I have a image created in Image Management. I have my FOG management on one laptop connected to a Linksys 8 port switch and the master laptop that I want the image from connected also. I have Sysprep the Master Image and booted it to Onboard NIC. It finds the Client IP that I have set up but can not find the PXE and the TFTP times out.

                                  Anyone got a answer for this problem?

                                  Thanks[/quote]

                                  TCUAdmin’s question is addressed here [url]http://fogproject.org/forum/threads/cant-find-pxe-and-tftp.11278/[/url]

                                  signature:
                                  Junkhacker
                                  We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    Mike Stoltzfus
                                    last edited by

                                    Thanks for investing the time to write this up! I have been using FOG for a few years now, using a FOG server instance that originally I downloaded as a Virtual Appliance on a Hypervisor server. We recently moved all of our servers to Hyper-V on Windows 2012, so I followed your directions to install the latest version from scratch in a Hyper-V VM. I created another Hyper-V VM for setting up an image machine. However, when I went to upload the image (after spending considerable time getting the image’s OS prepared, including driverpacks, etc), I found that the VM wouldn’t boot to iPXE. After doing a bit of looking, I found that I’m not the only one having this problem on Hyper-V ([url]http://fogproject.org/forum/threads/change-needed-for-vm-to-pxe-boot-to-fog.10146/[/url]).

                                    What VM platform did you use to create your image machine VM?

                                    1 Reply Last reply Reply Quote 0
                                    • Liam SullivanL
                                      Liam Sullivan
                                      last edited by

                                      I used Oracle virtualbox. Free and works perfectly every time

                                      Sully


                                      1 Reply Last reply Reply Quote 0
                                      • falkoF
                                        falko Moderator
                                        last edited by

                                        @Mike Stoltzfus
                                        I think there are many of us the use Virtualbox for the image building vm

                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          purpleturtle99
                                          last edited by

                                          @Liam thanks for the great step by step guide really appreciate it. But I am quite new to Fog and struggle sometimes with the basic of things. You lost me between creating the unattended.xml file and the creating the iso to boot the test pc from.
                                          My question is where did you save this .xml file too? and how was this incorporated into the iso too b used in a VM or physical box. did u use software? If you could explain this step in detail it will be mush appreciated.

                                          oh and BTW for all other noobs out there please ensure that you download the [COLOR=#ff0000]exact[/COLOR] version of WAIK that you are trying to use e.g. win7 sp1 WAIK isn’t compatible with win 7 WAIK and visa versa. Windows has released a supplement but it has no install files

                                          1 Reply Last reply Reply Quote 0
                                          • Liam SullivanL
                                            Liam Sullivan
                                            last edited by

                                            Hi
                                            You are quite correct I did gloss over that a bit, sorry. Basically, I saved the unattend.xml file on to a shared drive/folder on my network. You just install windows as you normally do either with a disc or mounted ISO in a VM. I would always use a VM btw unless there really is a reason not to. Snapshots are the key 🙂 Now, because your VM/machine will also be on your network in order to pull an image from it, you just access the shared drive where you saved the unattend.xml file from the VM and drag into the \System32\SysPrep folder as described in the walkthrough. Thats all it is, no need to modify any ISO’s.

                                            Good call on the WAIK tip, something else to note with that is that I found it wouldn’t let me create a 32 bit answer file on a 64 bit machine and vice versa either. Gotta love Microsoft.

                                            Good Luck 🙂

                                            Sully


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

                                            287

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project