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

    Failed to set disk guid (sgdisk -U) restoreUUIDinformation

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    17
    6.6k
    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 @clemens.g
      last edited by

      @clemens.g the ultimate question when did the original uploads actually occur? My guess is they happened befor 6152.

      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

      C 1 Reply Last reply Reply Quote 0
      • C
        clemens.g @Tom Elliott
        last edited by

        @Tom-Elliott:
        Actually I did all of them today, every single one of them. So all on 6150… I might try to recapture the images in a few days from now, though.

        Tom ElliottT 2 Replies Last reply Reply Quote 0
        • apathetic_adminA
          apathetic_admin @Tom Elliott
          last edited by

          @Tom-Elliott Cleared out, reimaged, and the same thing happened.

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

            @apathetic_admin That is impossible.

            Why?

            Line 62 of the /usr/share/fog/lib/partition-funcs.sh contains the line:

            [[ ! -r $file ]] && return

            What this does, if the file (which in our case is the uuid filename) does not exist, it simply returns the call back to the area. This error would not show up if the file does not exist.

            Can you put your system in debug, (the system you’re seeing this issue) and show me a screenshot of the file and particularly the function above for line 62?

            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

            apathetic_adminA 1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott @clemens.g
              last edited by

              @clemens.g This file should only be created if the partition layout is GPT vs. MBR. Can you get output of:

              sfdisk -d /dev/sda from the system that uploaded the image (just one of them should be fine).

              Also, if you are seeing this, if you delete the .uuid file, does everything work?

              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

              1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @clemens.g
                last edited by

                @clemens.g I just updated the inits.

                The d{disknumber}.original.uuids file will now only be created if the partition layout is gpt.

                While this was my intention originally, I had a spot where I was “touching” the file, but this creation of the file happened before the checks that actually store data to the file were being done. So it was possible for the uuids file to be created, albeit with no data actually in the file.

                This would present the sgdisk -U error as described because there was no data to be found within it. So it was trying to set the uuid of the disk to blank which would fail as it expects a parameter to be set.

                Hopefully this is all fixed now and new uploads of MBR disks will not have this issue.

                As I stated earlier, if you’re running into the sgdisk -U error in restoreUUIDInformation, please delete the *.original.uuids file from the images you have.

                @apathetic_admin it seems this either didn’t happen, or something else replicated the image with the uuids file back down. Just a guess.

                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

                C 1 Reply Last reply Reply Quote 1
                • apathetic_adminA
                  apathetic_admin @Tom Elliott
                  last edited by

                  @Tom-Elliott I read your post earlier, then I went and dealt with some other crap for a few hours, came back to my desk and deleted the contents of the file and then tried again. I re-read your post after I got home and realized that I did something stupid. Deleted the file, pushed an image, and it completed successfully.

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

                    @apathetic_admin So it is safe to solve this thread?

                    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

                    apathetic_adminA C 2 Replies Last reply Reply Quote 0
                    • C
                      clemens.g @Tom Elliott
                      last edited by

                      @Tom-Elliott
                      I can only test it again tomorrow but I will do so and give you feedback. Thanks for now!

                      1 Reply Last reply Reply Quote 0
                      • apathetic_adminA
                        apathetic_admin @Tom Elliott
                        last edited by

                        @Tom-Elliott Yes my issue is resolved, thanks. On another thread I was able to mark it solved in Topic Tools but I didn’t have that option here.

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

                          @apathetic_admin You can mark it as solved now. It first needed to be “asked as a question”.

                          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

                          1 Reply Last reply Reply Quote 2
                          • C
                            clemens.g @Tom Elliott
                            last edited by

                            @Tom-Elliott
                            Works perfectly now! Thank you very much!

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

                            155

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project