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

    FOG and SSD's

    Scheduled Pinned Locked Moved
    Hardware Compatibility
    4
    14
    800
    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.
    • george1421G
      george1421 Moderator @Julien-asv
      last edited by Sebastian Roth

      @julien-asv I would first start by upgrading to FOG 1.5.9 then switch to the dev branch that addresses an issue with Windows 10 20H1 and later where windows changed the disk structure a bit.

      You should have installed FOG using the git method. Depending on who’s instructions you followed, there should be a fogproject folder in /opt or /root. Change into that directory and issue the following commands.

      # assuming the fogproject file is in /root make your adjustments as necessary
      sudo -i
      cd /root/fogproject
      git pull
      git checkout master
      git pull
      

      At this point you just need to reinstall FOG. The Fog installer will remember the settings you made when you first installed FOG. So change into the installer directory and install FOG. Remember there are 3 steps. 1) fog server command line. 2) web ui actions 3) complete the server command line steps.

      cd bin
      ./installfog.sh
      

      Once the installer is complete then confirm you are on 1.5.9. Then now lets upgrade to 1.5.9.110 or later.

      sudo -i
      cd /root/fogproject
      git checkout dev-branch
      git pull
      cd bin
      ./installfog.sh
      

      Follow the same process as before. When the installation is done confirm that you are on 1.5.9.110 or later.

      Now reboot the fog server. Finally recapture your source image just to make sure you have all of the fixes in your captured image.

      In 20H1 Microsoft moved the recovery partition to the end of the disk and marked it not movable. This caused FOG a problem when it needed to deploy a captured image from a source disk where the source disk was larger than the destination disk.

      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
      • N
        notverypunny
        last edited by

        Are you using the appropriate sysprep switches when preparing the machine to be captured? I never capture a physical machine, but I always use /generalize /shutdown /oobe and /unattend:unattend.xml when capturing my VM builds which are then deployed to laptops and desktops.

        1 Reply Last reply Reply Quote 0
        • J
          Julien-asv
          last edited by

          Hi,
          I don’t have any fogproject folder, I think I made a manual install of FOG, in my documentation I wrote 2 possibilities, I don’t remember the one I took.

          copy fog folder to \home 
          sudo -I, 
          cd fog/bin
          ./installfog.sh
          

          Or

          sudo –i 
          apt-get install git
          cd /opt
          git clone https://github.com/fogproject/fogproject.git fog_stable/
          cd fog_stable/bin
          ./installfog.sh
          

          I have nothing in root folder, i have a fogproject folder in home with one file on it (warnfogaccount.sh).
          But in opt I have a fog and a fog_stable folder.
          Do I have to follow your steps but in /opt/fog_stable ?

          @notverypunny
          Yes i always use a proper sysprep before capturing. That’s the case of my WD2500AAKX image and others, but not the next tests I made in my previous exemples, I needed to run them quickly.

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @Julien-asv
            last edited by

            @julien-asv How about running find / -name fogproject to see where your fog installer directory is.

            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
            • J
              Julien-asv
              last edited by

              I searched with WinSCP, command line give me the same result, in home directory with 1 file.

              fogscr2.jpg

              george1421G 1 Reply Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @Julien-asv
                last edited by george1421

                @julien-asv OK lets assume you installed fog using a tarball (not recommended) but works fine. It will work it just makes upgrading a bit harder.

                First lets make sure there is the answer file where it should be. This answer file contains the results of the questions asked when you first installed FOG. To get a directory of where the hidden answer file is key in ls -la /opt/fog The answer file should be .fogsettings (yes with a leading period. If that is there then lets use the git method to get the instillation files.
                ref: https://docs.fogproject.org/en/latest/installation/install_fog_server.html

                # This will make you root if you are not already logged in as root
                sudo su -
                
                apt-get -y install git
                cd /root
                git clone https://github.com/FOGProject/fogproject.git
                cd /root/fogproject/bin
                  ./installfog.sh
                

                This should bring you up to version 1.5.9. Know that this is a three step process. You install the first part using the linux cli, then go to the web ui to run the second part, then back to the linux cli to finish the install. You must do all three parts.

                Now lets take you to 1.5.9.110+

                cd /root/fogproject
                git checkout dev-branch
                git pull
                cd bin
                ./installfog.sh
                

                Again there will be a three part install here.

                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
                • J
                  Julien-asv
                  last edited by Julien-asv

                  I did the first step, but when the installation ask me to go to http://ip/fog/management, i don’t have any button to update database, i just have the login page of previous installation.

                  edit :alt text
                  https://ibb.co/BCPqDD5

                  george1421G 1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by

                    @julien-asv said in FOG and SSD's:

                    did the first step, but when the installation ask me to go to http://ip/fog/management, i don’t have any button to update database, i just have the login page of previous installation.

                    That’s OK, just hit ENTER for the installer to proceed if you don’t see the schema updater.

                    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
                    • george1421G
                      george1421 Moderator @Julien-asv
                      last edited by

                      @julien-asv As Sebastian says to just hit enter to continue. No all FOG updates require database design updates. But you need to check on every update to 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!

                      1 Reply Last reply Reply Quote 0
                      • J
                        Julien-asv
                        last edited by

                        Ok thank you, it’s look like it’s have been working, now on information page, it’s says :

                        Your version of FOG is up to date.
                        You're running the latest dev-branch version: 1.5.9.114
                        

                        That mean now i can deploy an image of a 250Gb to a 240gb ? 👼

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator
                          last edited by

                          @julien-asv said in FOG and SSD's:

                          That mean now i can deploy an image of a 250Gb to a 240gb ?

                          Can’t promise you it works in all cases. But the issue that came with MS partition layout changes is fixed in your setup now and you should be able to do what you want.

                          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
                          • J
                            Julien-asv
                            last edited by

                            OK thanks a lot. I will start creating my images at the beginning of January, I will tell you if I gets stuck.

                            1 Reply Last reply Reply Quote 0
                            • S
                              Sebastian Roth Moderator
                              last edited by

                              @Julien-asv Well I suggest you do some testing before January because if there is still something we need to fix then…

                              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 / 1
                              • First post
                                Last post

                              156

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project