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

    Error trying to restore GPT partition tables

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    4
    519
    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.
    • R
      rankinc
      last edited by

      Hello all, having this error suddenly on UEFI with images and devices that were working before. I noticed (really late) that last month a number of FOG services failed and the UEFI images I have are showing 0 bytes size.

      I’ve restarted
      FOGImageReplicator.service
      FOGImageSize.service
      FOGMulticastManager.service
      FOGPingHosts.service
      FOGScheduler.service
      FOGSnapinHash.service
      FOGSnapinReplicator.service

      and I’m trying to decide how to proceed because I confirmed the images are still there, not 0 bytes, and legacy images work.

      Fog v1.5.7

      error screenshot

      After restarting FOGImageSize.service
      failed services

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

        @rankinc While it’s not great the FOG services aren’t running I’d say this has nothing to do with the error you posted in the other picture.

        Please try the following:

        • Schedule a new deploy for a host with 256 GB SSD but before you click “Create Task” tick the checkbox for debug.
        • Boot up the client and hit ENTER twice to get to the shell - run command fog and step through till you hit the error.
        • Now back in the shell manually run sgdisk -gl /images/UEFI-CafeteriaPOS/d1.mbr /dev/sda, take a picture and post that here.

        As well, can you please post the contents of the text file /images/UEFI-CafeteriaPOS/d1.partitions you have on your FOG server.

        Read through this topic: https://forums.fogproject.org/topic/13906/ssd-fails-at-restoring-partition-tables-gpt-with-error-code-4

        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
        • R
          rankinc
          last edited by

          @Sebastian-Roth thanks for the reply. I had searched around but there were a lot of threads and I missed that one. It appears the person I tasked with taking over image creation may have ended up with a sizing problem.

          error 1

          /dev/nvme0n1p1 : start= 2048, size= 1083392, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=318D71D5-A864-4058-AAB9-B03BDD7E25D9, name=“Basic data partition”, attrs=“RequiredPartition GUID:63”
          /dev/nvme0n1p2 : start= 1085440, size= 204800, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=7DD0E52E-FB69-4F53-9940-F37946DF9366, name=“EFI system partition”, attrs=“GUID:63”
          /dev/nvme0n1p3 : start= 1290240, size= 32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=39046746-E028-4031-BC9D-B9A4AA1C6537, name=“Microsoft reserved partition”, attrs=“GUID:63”
          /dev/nvme0n1p4 : start= 1323008, size= 997637337, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=17427B2A-DB5B-4C71-A144-A76BB7CCD76E, name=“Basic data partition”
          /dev/nvme0n1p5 : start= 998961152, size= 1253376, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=EE330190-13F2-4DE2-879A-F56914C0F184, attrs=“RequiredPartition GUID:63”

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

            @rankinc This partition number 5 is a recovery partition which FOG doesn’t move on the disk. So it’s unable to shrink your main Windows partition.

            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

            310

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project