• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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
972
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 Sep 15, 2021, 8:01 PM

    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

    G 1 Reply Last reply Sep 16, 2021, 12:34 AM Reply Quote 0
    • G
      george1421 Moderator @kevinnew22
      last edited by Sep 16, 2021, 12:34 AM

      @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 Sep 16, 2021, 12:14 PM Reply Quote 0
      • K
        kevinnew22 @george1421
        last edited by Sep 16, 2021, 12:14 PM

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

        G 1 Reply Last reply Sep 16, 2021, 3:23 PM Reply Quote 0
        • G
          george1421 Moderator @kevinnew22
          last edited by Sep 16, 2021, 3:23 PM

          @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 Sep 16, 2021, 4:08 PM

            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 Sep 16, 2021, 5:30 PM Reply Quote 0
            • K
              kevinnew22
              last edited by Sep 16, 2021, 5:16 PM

              @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 Sep 16, 2021, 5:30 PM

                @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 Sep 16, 2021, 5:50 PM

                  @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 Sep 16, 2021, 6:04 PM Reply Quote 1
                  • K
                    kevinnew22 @Sebastian Roth
                    last edited by Sep 16, 2021, 6:04 PM

                    @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 Sep 18, 2021, 9:20 PM

                      @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
                      1 / 1
                      • First post
                        6/10
                        Last post

                      152

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project