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.
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?
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.