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

Fog server reporting image error on restoring to larger drive

Scheduled Pinned Locked Moved
FOG Problems
3
7
803
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.
  • D
    dashwell
    last edited by Apr 8, 2022, 10:01 AM

    We used this image for deployment to 300 laptops before. However, after the recent FOG updates the following error is now occurring to a device that was previously imaged.WhatsApp Image 2022-04-08 at 11.30.16 AM.jpeg

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Apr 8, 2022, 10:25 AM

      @dashwell Which version of FOG (and the FOS init) did you use before the update?

      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

      D 1 Reply Last reply Apr 11, 2022, 11:14 AM Reply Quote 0
      • D
        dashwell @Sebastian Roth
        last edited by Apr 11, 2022, 11:14 AM

        @sebastian-roth I have backups of the FOG and FOS, is there an easy way to check the version of the INIT files, because that was the most recent change?

        G 1 Reply Last reply Apr 11, 2022, 12:22 PM Reply Quote 0
        • G
          george1421 Moderator @dashwell
          last edited by george1421 Apr 11, 2022, 6:23 AM Apr 11, 2022, 12:22 PM

          @dashwell When FOS Linux starts to boot on the target computer, there will be a FOG logo made from ascii characters. Just below that banner there will be an init version number it will be a date code YYYYMMDD format.

          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!

          D 1 Reply Last reply Apr 26, 2022, 6:40 AM Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Sebastian Roth Apr 11, 2022, 7:42 AM Apr 11, 2022, 1:40 PM

            @dashwell said in Fog server reporting image error on restoring to larger drive:

            I have backups of the FOG and FOS, is there an easy way to check the version of the INIT files, because that was the most recent change?

            Beside booting the FOS init (as George mentioned) you can also manually extract the init and check the version on any Linux system:

            sudo -i
            mkdir /root/tmp
            cd /root/tmp
            cp /path/to/init.xz .
            xz -d init.xz
            mkdir loop
            mount -o loop init loop/
            head -n 2 loop/usr/share/fog/lib/funcs.sh
            umount loop/
            rm init
            cd ..
            rmdir tmp/loop/ tmp/
            

            The error message in the picture tells us that either a rather old init was used to caputure that image or the destination disk is just way to small anyway.

            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
            • D
              dashwell @george1421
              last edited by Apr 26, 2022, 6:40 AM

              @george1421 and @Sebastian-Roth
              The version is 1.5.9 and the INIT version is 20220203.

              Thank you for telling me where to look.

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Apr 26, 2022, 6:59 AM

                @dashwell Well you said you updated from an older version and you think the update is causing this problem. While I still don’t think the update caused this I still was wondering what version you used before.

                Back to the problem: The error is pretty clear. The image was taken from a larger size disk. Probably using an older version of FOG which did only shrink but not rearange partitions (to fill the empty gaps). The version you currently use (20220203) is capable of rearanging partitions but you need to re-capture the image with that version to make use of it. So I suggest you grab a machine with a disk large enough, deploy that old image to it. Then create a new image definition within the FOG web UI (to keep the old one as backup), set this new image for the machine you just deployed the old image to, schedule a capture to the fresh image definition and then try to deploy this new image to smaller size drives.

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

                195

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project