Error trying to restore GPT partition tables (restorePartition TablesAndBootLoaders)
-
I need help on GPT partition I have images ready to deploy on other machines of the same model but with a disk different from the captured one this error is occurring below, I searched about found something about init-201114.xz but it didn’t work with the images I have ha any solution for this little problem?
Init Version: 20200906
Error trying to restore GPT partition tables (restorePartition TablesAndBootLoaders)
Args Passed: /dev/sda 1/images/OptiPlex-7010-Windows-10-Pro-Adm 9 all
CMD Tried: sgdisk -gl/images/OptiPlex-7010-Windows-10-Pro-Adm/d1.mbr /dev/sda
Exit returned code: 4and
-
@kevinnew22 What version of FOG are you using? You might consider switching to the dev branch of 1.5.9 where issues like this one have been mostlikely fixed.
-
@george1421 said in Error trying to restore GPT partition tables (restorePartition TablesAndBootLoaders):
What version of FOG are you using? You might consider switching to the dev branch of 1.5.9 where issues like this one have been mostlikely fixed.
You’re running the latest stable version: 1.5.9
bzImage Version: 4.19.145
bzImage32 Version: 4.19.145
How to change to dev branch version of 1.5.9? -
https://wiki.fogproject.org/wiki/index.php?title=Getting_FOG#Using_the_desired_FOG_branch
If you installed fog by the git method then just switch to the dev branch and then reinstall FOG. To switch back to the main branch then do a
cd /root/fogproject git pull git checkout master git pull
I would also suggest that you think about upgrading your kernel past 4.19.x to the 5.10.x version so you get support for current hardware. Web UI -> Fog Settings -> Kernel update. Update both the 64 and 32 bit versions. Do this after you update to the dev version of 1.5.9.
-
Just for the records, downgrading (e.g. dev-branch to 1.5.9) is not supported. I am not saying this will cause problems per se but the more changes we have between latest official version (1.5.9 as of today) and dev-branch, the more chance there is downgrading will break something. Do whatever you like but I won’t support fixing a downgraded install.
-
@george1421 I did by package I will change to gid, where to download the .tar package?
-
@sebastian-roth Is this dev-branch version inferior to the one I have? to solve this problem I have in the images which do you recommend? thanks
-
@kevinnew22 said in Error trying to restore GPT partition tables (restorePartition TablesAndBootLoaders):
Is this dev-branch version inferior to the one I have? to solve this problem I have in the images which do you recommend? t
Yes it is! As George said, updating to dev-branch will fix the issue you see most certainly. What George was saying about going back to an official release (a.k.a the master branch) can be done easily using git - see the commands he posted. But I wanted to add that you shouldn’t do this while 1.5.9 is still the latest official release because that would be a downgrade and could cause problems. As soon as 1.5.10 will be released you can switch to master because that’s going to be a step forward then.
-
@sebastian-roth understood, the release of the new version will be when more or less? I can help with something?
-
@kevinnew22 said in Error trying to restore GPT partition tables (restorePartition TablesAndBootLoaders):
understood, the release of the new version will be when more or less? I can help with something?
Can’t give you a date as we don’t have a fixed plan for new releases. Not great but that’s the way it is right now. Hardly anyone has time to work much on FOG and so things are going very slowly. You are more than welcome to join in an help us push this forward. See my post in the forums. Please send me a private message if you are keen to get involved and I am sure we have something for you! Looking forward to hear from you.