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

    error trying to restore gpt table

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    12
    787
    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.
    • S
      Sebastian Roth Moderator
      last edited by

      @Matthieu-Jacquart With the latest FOS inits you use with dev-branch there should be no need to remove the 5th partition because they handle moving of partitions after the resize.

      The issue here to me seems to be that partition 4 is not being shrunk. Looks like FOS detects it as fixed and won’t shrink it.

      Probably best if you schedule another capture of the image but tick the checkbox for debug this time. Step through the capture process and pay attention to where it says something about partition number 4. Take pictures and post here.

      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

      Matthieu JacquartM 1 Reply Last reply Reply Quote 0
      • Matthieu JacquartM
        Matthieu Jacquart @Sebastian Roth
        last edited by

        @sebastian-roth Hi, OK thanks I’ll try it tomorrow. I found another image with these 5 partitions but this time d1.fixed_size_partitions

        1:2:3:5
        

        so Windows partition is shrunk for this one, any way to force it for the bad one ?

        Matthieu

        Fog 1.5.9.138
        Debian 11
        Vmware ESXi

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

          @matthieu-jacquart said in error trying to restore gpt table:

          any way to force it for the bad one ?

          We better find out why FOS thinks it cannot shrink this partition. There is usually a reason for it.

          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

          Matthieu JacquartM 1 Reply Last reply Reply Quote 0
          • Matthieu JacquartM
            Matthieu Jacquart @Sebastian Roth
            last edited by

            @sebastian-roth Hi, That’s a bad photomontage of debug capture task, I think “Not shrinking (/dev/nvme0n1p4) trying fixed size” is interesting :
            Fog.jpg

            Fog 1.5.9.138
            Debian 11
            Vmware ESXi

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

              @Matthieu-Jacquart Ok, see the message Not shrinking (/dev/nvme0n1p4) trying fixed size. At this stage FOS tried to find out how much it can shrink this partition but failed to get the information.

              Please schedule another debug capture on that machine and when you get to the command shell just run ntfsresize -fivP /dev/nvme0n1p4, take a picture of the screen and post that here.

              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

              Matthieu JacquartM 1 Reply Last reply Reply Quote 0
              • Matthieu JacquartM
                Matthieu Jacquart @Sebastian Roth
                last edited by

                @sebastian-roth Hi, result for first trial :
                IMG_20210705_083844.jpg

                And after chkdsk /F
                IMG_20210705_091709.jpg

                Fog 1.5.9.138
                Debian 11
                Vmware ESXi

                1 Reply Last reply Reply Quote 0
                • Matthieu JacquartM
                  Matthieu Jacquart
                  last edited by

                  OMG shame on me, it was just a chkdsk problem, never thought to that…
                  sorry for this, I’ll tried to keep in mind for next time !

                  Fog 1.5.9.138
                  Debian 11
                  Vmware ESXi

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

                    @Matthieu-Jacquart No problem. Good we figured that out so quickly. We might think about adding some debug output in FOS in case the ntfsresize check fails. Though I have very little time at the moment. Not sure if and when I will get to this. Anyone else keen to look into this? @Wayne-Workman ?

                    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

                    Matthieu JacquartM 1 Reply Last reply Reply Quote 0
                    • Matthieu JacquartM
                      Matthieu Jacquart @Sebastian Roth
                      last edited by

                      @sebastian-roth Is there a link with this feature in general settings ?
                      chkdsk.JPG
                      For the second option (change hostname early), can i activate it ? because after deployment the temporary name of the workstation appears in WSUS instead of the real name and I have to delete it.
                      Matthieu

                      Fog 1.5.9.138
                      Debian 11
                      Vmware ESXi

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

                        @Matthieu-Jacquart I didn’t even know about that FOG setting. Something that was part of FOG long before I joined the dev team and I never stumbled upon this myself by the looks.

                        The help text is as follows: “This is an experimental feature that will can be used to not set the dirty flag on a NTFS partition after resizing it. It is recommended to you run chkdsk.”

                        From what I see in the code this setting is piped through to FOS (the FOG Linux OS doing the imaging work) but not use by it. To make a long story short, I have no idea.

                        For the second option (change hostname early), can i activate it ? because after deployment the temporary name of the workstation appears in WSUS instead of the real name and I have to delete it.

                        Yes, enable it and give it a try. FOS will try to mount the Windows partition and manipulate registry entries at the end of a deployment to change the hostname before the first Windows boot. Works like a charm from what I have tested not too long ago.

                        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 1
                        • Wayne WorkmanW
                          Wayne Workman
                          last edited by

                          There’s also this article:
                          https://wiki.fogproject.org/wiki/index.php?title=Windows_Dirty_Bit

                          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!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

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

                          220

                          Online

                          12.1k

                          Users

                          17.3k

                          Topics

                          155.3k

                          Posts
                          Copyright © 2012-2024 FOG Project