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

    Error trying to restore GPT partition tables on multiple Dell machines

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    43
    5.3k
    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.
    • Tom ElliottT
      Tom Elliott @vanopy
      last edited by Tom Elliott

      @vanopy I might suggest clearing all partition tables using sgdisk -Z /dev/sda

      Then try:
      (using the d1.minimum.partitions as I requested to be modified.)
      sfdisk /dev/sda < /images/winv10.3/d1.minimum.partitions

      From there can you get us the screenshot?

      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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      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

      V 1 Reply Last reply Reply Quote 0
      • V
        vanopy @Tom Elliott
        last edited by

        @Tom-Elliott Ok, so this is what I’ve done and got:

        Fog clear partitions.jpg

        Want me to try to deploy again now?

        Tom ElliottT 1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @vanopy
          last edited by

          @vanopy don’t try to deploy yet as it will still error out the same way.

          What’s output when you run:
          partprobe /dev/sda; fdisk -l /dev/sda

          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          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

          V 1 Reply Last reply Reply Quote 0
          • V
            vanopy @Tom Elliott
            last edited by

            @Tom-Elliott This is the output I’m getting:

            fog partprobe.jpg

            Tom ElliottT 1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott @vanopy
              last edited by Tom Elliott

              @vanopy Is this what your d1.minimum.partitions file looks like?

              label: gpt
              label-id: 2B93DFE7-2C81-4C8A-9000-BEF1E8E64AA3
              device: /dev/nvme0n1
              unit: sectors
              first-lba: 34
              last-lba: 1000215182
              
              /dev/nvme0n1p1 : start= 2048, size= 204800, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=1257976B-8CEF-4391-8FD8-815CAC3B26B6, name="EFI system partition", attrs="GUID:63"
              /dev/nvme0n1p2 : start= 206848, size= 32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=D1113659-47AF-43F3-9E7A-BC08C44268CE, name="Microsoft reserved partition", attrs="GUID:63"
              /dev/nvme0n1p3 : start= 239616, size= 3665920, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=295314FF-104B-45AB-A1F1-5CBFDC52CBB8, name="Basic data partition", attrs="RequiredPartition GUID:63"
              /dev/nvme0n1p4 : start= 3905536, size= 59116948, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=EE33BD1E-F4CA-4E1A-91E7-FECA59FA53CA, name="Basic data partition"
              

              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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              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

              V 1 Reply Last reply Reply Quote 0
              • V
                vanopy @Tom Elliott
                last edited by

                @Tom-Elliott I believe so, this is how it looks:

                Fogminpart.PNG

                Tom ElliottT 1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott @vanopy
                  last edited by

                  @vanopy Why are all the quotes listed as .?

                  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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  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

                  V 2 Replies Last reply Reply Quote 0
                  • V
                    vanopy @Tom Elliott
                    last edited by

                    @Tom-Elliott Good question, I just copy/pasted them from what you gave me, just noticed myself.
                    I’ll edit those and see if that changes anything.

                    1 Reply Last reply Reply Quote 0
                    • V
                      vanopy @Tom Elliott
                      last edited by

                      @Tom-Elliott Ok, so I’ve replaced the . by ", but it doesn’t really change anything, I’m still getting exactly the same error when I run the commands.

                      1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott
                        last edited by

                        Can you paste the contents of your d1.minimum.partitions here?

                        There may appear to be an error, but that’s not a bad thing in and of itself. The reason it failed to create any other partitions was because line 8 (the first partition) had met symbols that didn’t make sense (the .)

                        Replacing all of the . with " should allow the partitions to at least get created.

                        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        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

                        V 1 Reply Last reply Reply Quote 0
                        • V
                          vanopy @Tom Elliott
                          last edited by

                          @Tom-Elliott

                          label: gpt
                          label-id: 2B93DFE7-2C81-4C8A-9000-BEF1E8E64AA3
                          device: /dev/nvme0n1
                          unit: sectors
                          first-lba: 34
                          last-lba: 1000215182

                          /dev/nvme0n1p1 : start= 2048, size= 204800, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=1257976B-8CEF-4391-8FD8-815CAC3B26B6, name=“EFI system partition”, attrs=“GUID:63”
                          /dev/nvme0n1p2 : start= 206848, size= 32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=D1113659-47AF-43F3-9E7A-BC08C44268CE, name=“Microsoft reserved partition”, attrs=“GUID:63”
                          /dev/nvme0n1p3 : start= 239616, size= 3665920, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=295314FF-104B-45AB-A1F1-5CBFDC52CBB8, name=“Basic data partition”, attrs=“RequiredPartition GUID:63”
                          /dev/nvme0n1p4 : start= 3905536, size= 59116948, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=EE33BD1E-F4CA-4E1A-91E7-FECA59FA53CA, name=“Basic data partition”

                          1 Reply Last reply Reply Quote 0
                          • V
                            vanopy
                            last edited by

                            Ticket can be closed for me.
                            I’ve captured a completely new image, before doing so, I’ve shrunk the disk, just to make sure.
                            Deployment is now working as expected for me.
                            Thanks for your assistance.

                            1 Reply Last reply Reply Quote 1
                            • JJ FullmerJ JJ Fullmer referenced this topic on
                            • 1
                            • 2
                            • 3
                            • 2 / 3
                            • First post
                              Last post

                            213

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project