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

    Error trying to restore GPT partition tables (restorePartition TablesAndBootLoaders)

    Scheduled Pinned Locked Moved
    Windows Problems
    3
    10
    970
    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.
    • K
      kevinnew22
      last edited by

      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: 4

      and

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @kevinnew22
        last edited by

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

        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!

        K 1 Reply Last reply Reply Quote 0
        • K
          kevinnew22 @george1421
          last edited by

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

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @kevinnew22
            last edited by

            @kevinnew22

            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.

            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!

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

              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.

              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

              K 1 Reply Last reply Reply Quote 0
              • K
                kevinnew22
                last edited by

                @george1421 I did by package I will change to gid, where to download the .tar package?

                1 Reply Last reply Reply Quote 0
                • K
                  kevinnew22 @Sebastian Roth
                  last edited by

                  @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

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

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

                    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

                    K 1 Reply Last reply Reply Quote 1
                    • K
                      kevinnew22 @Sebastian Roth
                      last edited by

                      @sebastian-roth understood, the release of the new version will be when more or less? I can help with something?

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

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

                        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

                        208

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project