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

    Error trying to restore GPT Partition tables (restorepartitionTablesAndBootLoaders)

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    3
    375
    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.
    • G
      GeorgeBells
      last edited by

      Re: Error trying to restore GPT Partition tables (restorepartitionTablesAndBootLoaders)

      Sorry if this has been answered elsewhere but I’ve had trouble finding any mention.
      I’ve ran into the same issue as the post above - I have a 20H2 image, trying to deploy to a machine with a smaller drive with the following error

      Error trying to restore GPT partition tables (restorePartitionTablesAndBootLoaders)
      Args Passed : /dev/sda 1 /images/IMAGE_NAME 9 all
      CMD Tried : sgdisk -gl /images/IMAGE_NAME/d1.mbr /dev/sda
      Exit returned code : 4

      As I’ve read from the crosspost thread, ‘The developers have discovered with v2004 Microsoft changed something causing the recover partition to not relocate correctly when deploying to a smaller disk than the golden image disk’ - Appears to be an issue with the recovery partitions of Windows 2004 and onwards.

      Has there been any movement/update on this since a year ago? Again apologies if I’m missing something but the most recent mention of this is August 2020.

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

        @georgebells said in Error trying to restore GPT Partition tables (restorepartitionTablesAndBootLoaders):

        Has there been any movement/update on this since a year ago?

        Yes, please take a look at this topic: https://forums.fogproject.org/topic/15025/move-partition-in-gpt-layout-need-people-to-test

        Make sure you read carefully. This is still in a testing stage. We only had positive replys so far but just so you know.

        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
        • G
          GeorgeBells
          last edited by

          Hi

          I’ve just tested this an it worked without issues - Thank you. I will try to post the contents of those files shortly. My question is, is this new init file good to be made the default somehow?

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

          153

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project