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

    Failed to Set Disk GUID (sgdisk -U) (restoreUUIDinformation)

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    5
    50
    12.5k
    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 Sebastian Roth

      @austinjt01 @Junkhacker New init files are available that should address both issues you saw. Manually download those (32 bit and 64 bit) and put in /var/www/html/fog/service/ipxe/ on your FOG server or simply re-run the FOG installer.

      Please let us know if the issues are gone.

      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

      JunkhackerJ A 2 Replies Last reply Reply Quote 1
      • JunkhackerJ
        Junkhacker Developer @Sebastian Roth
        last edited by Junkhacker

        @Sebastian-Roth in place and testing now
        edit: i just tested and had the same problem. i just compared the an MD5 hash of what i downloaded earlier and what i downloaded just now. the files are the same

        signature:
        Junkhacker
        We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

          @Junkhacker Can you please post the MD5 sums here.

          da11c7a619efc4a737f9a715810f01a3  init.xz
          7de47b8634d6c95ba869369dfefd9c82  init_32.xz
          

          I just downloaded and tested those myself. They are the new ones from my point of view. Maybe you have some proxy cache or it’s just that we still have not properly fixed this for your case. Can you please post the contents of your /images/<IMAGENAME>/d1.partitions 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

          JunkhackerJ 1 Reply Last reply Reply Quote 0
          • JunkhackerJ
            Junkhacker Developer @Sebastian Roth
            last edited by Junkhacker

            @Sebastian-Roth redownloaded today in my browser and now the hashs are different from before and now match what you posted. I’ll update my server again and see if it works
            edit:updated server and it failed, checked checksum and it’s still the old init. guess it’s gettting pulled from a cache somewhere?
            edit2:manually downloaded inits to server using the https://fogproject.org/binaries1.5.6.zip link and the hashs match yours. testing with that now
            edit3: ok, that was giving me kernel panics. not sure what was going on there

            signature:
            Junkhacker
            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

              @Junkhacker said in Failed to Set Disk GUID (sgdisk -U) (restoreUUIDinformation):

              edit3: ok, that was giving me kernel panics. not sure what was going on there

              Did you get this fixed??!?!

              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

              JunkhackerJ 1 Reply Last reply Reply Quote 0
              • JunkhackerJ
                Junkhacker Developer @Sebastian Roth
                last edited by

                @Sebastian-Roth only by reverting back to previous inits

                signature:
                Junkhacker
                We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

                  @Junkhacker Please go to the FOG web UI -> FOG Configuration -> FOG Settings -> FTP Server and increase KERNEL RAMDISK SIZE from 127000 to 275000.

                  Sorry for all the rumor.

                  @Tom-Elliott Not a good situation where we would need to either revert the inits to 100 MB size or quickly push out a new release just to fix the KERNEL RAMDISK SIZE. I will build 101 MB inits (yes, just a little larger to hopefully get around the space issue mentioned below) over night just so we have those handy.

                  Edit: Good news, we still had the tool chain from the latest jenkins build on the server and so I am able to generate new inits fairly quickly. Will update the latest ones on the web server as well as binaries.1.5.6.zip for now.

                  Edit2: inits and binaries1.5.6.zip are updated. New checksums are:

                  e69e0763cfda1e02159553ea1cdbdc55  init.xz
                  00d811eef21cdfab4bab5160ad888bec  init_32.xz
                  

                  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

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

                    @Sebastian-Roth well if the workaround is to update the ram disk size, it’s not too hard a thing to do. We can push out a patch to fix it directly, but seeing as this value is already easy to change what about simply documenting the error and the change for the resolution?

                    As fog keeps making progress I don’t think asking people to make this change is too difficult. And as for 1.5.7, just add in a patch to check if the ram disk size is too small in the bootmenu, and if so update the value directly.

                    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
                    • S
                      Sebastian Roth Moderator
                      last edited by Sebastian Roth

                      @Tom-Elliott Sure we’ll fix that in 1.5.7 but I’d like to see 1.5.6 not going on ground just a few days after we released it. Therefor I am trying to get to a solution where people can just use 1.5.6 without having to fix anything manually. Just tested and seems we are fine with the currently uploaded files. All good I hope.

                      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
                      • A
                        austinjt01 @Sebastian Roth
                        last edited by

                        @Sebastian-Roth So I re-ran the FOG installer. After that I tried capturing an image which appeared to work okay, but now i’m getting the same error upon trying to deploy that captured image.

                        It goes through the whole download process and says “A warning has been detected: Failed to set disk guid (sgdisk -U) (restoreUUIDInformation)”

                        Sits on that screen for about 60 secs and then gets stuck at “Changing hostname…” again

                        Shall I try manually downloading the files ? Maybe the re run of the FOG installer didn’t cut it?

                        Thanks.

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

                          @austinjt01 Please run the following commands on your FOG server and post output here:

                          md5sum /var/www/html/fog/service/ipxe/init*
                          cat /images/<IMAGENAME>/d1.partitions
                          

                          Make sure you put in the name of your image instead of <IMAGENAME>!

                          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

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            austinjt01 @Sebastian Roth
                            last edited by austinjt01

                            @Sebastian-Roth 363628ff-95c8-4fb7-adf2-61762cb042a8-image.png

                            I have our images stored on our media server, if I path over to /mnt/media-images/<IMAGENAME>/d1.partitions

                            This is what’s in the file

                            42e29df3-dbf8-4e04-82ba-541f6a62b685-image.png

                            UPDATE:
                            I manually installed the updates and got this as the output
                            114ebb98-fd51-4eb7-a78f-1303a3f701b8-image.png

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

                              @austinjt01 said in Failed to Set Disk GUID (sgdisk -U) (restoreUUIDinformation):

                              So I re-ran the FOG installer.

                              The md5 sums we see in the picture are definitely not the most current ones. Which installer version did you run? Where did you download FOG? I mean from github or downloaded an archive?

                              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

                              A 1 Reply Last reply Reply Quote 0
                              • A
                                austinjt01 @Sebastian Roth
                                last edited by

                                @Sebastian-Roth I ran the updates and got the same output that you have below.

                                Seem to still have trouble with capture / deploy though. Keeps getting hung up on “Changing hostname…”

                                I manually installed the updates and got this as the output
                                35c99458-d092-4c10-8f02-69f11f609ea0-image.png

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

                                  @austinjt01 said in Failed to Set Disk GUID (sgdisk -U) (restoreUUIDinformation):

                                  Seem to still have trouble with capture / deploy though. Keeps getting hung up on “Changing hostname…”

                                  What do you mean by “hung up”?? Please take a picture of the screen 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

                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    austinjt01 @Sebastian Roth
                                    last edited by

                                    @Sebastian-Roth IMG_0241.jpg

                                    It will just sit here and not do anything.

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

                                      @austinjt01 This is the exact same picture you posted days ago. I can hardly believe you see the exact same screen again as we have changed the size of the init files and I would expect the “No space left in device” error to have vanished.

                                      Please take a new picture of what exactly you have on screen when it hangs!

                                      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

                                      A 1 Reply Last reply Reply Quote 0
                                      • A
                                        austinjt01 @Sebastian Roth
                                        last edited by austinjt01

                                        @Sebastian-Roth Yeah you are right, I grabbed a different laptop to test on just now and everything is fine. Thanks for your help, I really appreciate it and your support.

                                        Edit: The capture worked this time, but the deploy gives this error.

                                        IMG_0270.jpg
                                        Picture was taken just now

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

                                          @george1421 @Junkhacker Is anyone able to to reproduce this issue?!?!?

                                          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

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

                                            @Sebastian-Roth said in Failed to Set Disk GUID (sgdisk -U) (restoreUUIDinformation):

                                            @george1421 @Junkhacker Is anyone able to to reproduce this issue?!?!?

                                            I can not duplicate the issue here, but that just means the circumstances (environment) is different.

                                            I did see something that raised a red flag.

                                            I have our images stored on our media server, if I path over to /mnt/media-images/<IMAGENAME>/d1.partitions

                                            How are you doing this? You are not supposed to be able to reshare an nfs mounted share (technically you can, but fog is not configured to support it). You can’t do that in ms windows either.

                                            Images are captured to /images/dev/<mac_address> directory (nfs share) and then “moved” to the /images/<image_name> directory using the ftp server built into the fog server. At the very least if /images/dev is on the fog server and /mnt/media-images/<image_name> is on the NFS share the ftp server will have to copy the entire image to the remote nfs server instead of just moving the file pointers as it would if the /images/dev and /images are on the same disk. If you want to store your images on an NFS nas but have the fog server manage the process there is another (unsupported) configuration you can use instead of resharing an nfs mount.

                                            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!

                                            A 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post

                                            216

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project