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

    Dell 7730 precision laptop deploy GPT error message

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    94
    23.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

      @jmason Hmmm, forgot to tell you that you need to re-upload the image before deployment. Sorry! On upload the *.size files will be generated.

      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

      jmasonJ 3 Replies Last reply Reply Quote 0
      • jmasonJ
        jmason @Sebastian Roth
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 1
        • jmasonJ
          jmason @Sebastian Roth
          last edited by jmason

          @Sebastian-Roth So with the newly captured image also created with the init_nvme.xz as Host Init, I brought the host for deploy up in debug mode .
          I ensured that the init disk order nvme0n1 and nvme1n1 matched the same order for when I made the image (Just like I did last week when deploying to my 19 laptops).

          …well running again now with the proper init settings and host image.

          1 Reply Last reply Reply Quote 0
          • jmasonJ
            jmason @Sebastian Roth
            last edited by jmason

            @Sebastian-Roth Okay after attempting it the third time I’m sure that I have everything assigned appropriately. Still running in deploy-debug the message is confirmed.

            After the Preparing Partition layout message I get the An error has been detected! box.

            No drive number passed (restore PartitionTablesAndBootLoaders)  
               Args Passed: /dev/nvme0n1  /images/mydiskimage 50 all
            
            Kernel variables and settings:
            bzImage loglevel=4 initrd=init_nvme.xz root=dev/ram0 rw amdisk_size=127000 web=http://192.168.0.1/fog/
            consoleblank=0 rootfstype=ext4 shutdown=1 mac=macaddressoflaptop ftp=192.168.0.1 storage=192.168.0.1:/images/ 
            storageip=192.168.0.1 osid=50 irqpoll hostname=mylaptop chkdsk=0 img=mydiskimage imgType=mpa imgPartitionType=all 
            imgid=11 imgFormat=0 PIGZ_COMP=-6 hostearly=1 isdebug=yes type=down shutdown=1
            
            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by

              @jmason Ok, seems like I haven’t got it correct on the first try. Need your support now to figure out where I went wrong. In debug deploy, after it failed with the error message please run the following commands, take a picture or post the output here:

              blockdev --getsize64 /dev/nvme0n1
              blockdev --getsize64 /dev/nvme1n1
              cat /images/mydiskimage/*.size
              

              My guess is that the disks are not exactly the same size than the ones you have in the target machine but we’ll see.

              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

              jmasonJ 1 Reply Last reply Reply Quote 0
              • jmasonJ
                jmason @Sebastian Roth
                last edited by jmason

                @Sebastian-Roth said in Dell 7730 precision laptop deploy GPT error message:

                blockdev --getsize64 /dev/nvme0n1

                512110190592

                blockdev --getsize64 /dev/nvme1n1

                1024209543168

                cat /images/mydiskimage/*.size

                512110190592
                1024209543168

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

                  @jmason said in Dell 7730 precision laptop deploy GPT error message:

                  cat /images/mydiskimage/*.size

                  512110190592
                  1024209543168

                  Argggg, my fault here. Can you please edit the *.size text files and make those look like this:
                  d1.size:

                  1:512110190592
                  

                  d2.size:

                  2:1024209543168
                  

                  (just add the the number and colon at the beginning of each file -> will fix that in the init_nvme.xz soon!)

                  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

                  jmasonJ 1 Reply Last reply Reply Quote 0
                  • jmasonJ
                    jmason @Sebastian Roth
                    last edited by jmason

                    @Sebastian-Roth No problem…it is running now

                    Partclone window to recap for the linux disk

                    /dev/nvme0n1p1 raw 134.2 MB
                    /dev/nvme0n1p2 FAT16 209.7 MB
                    /dev/nvme0n1p3 XFS 1.1GB
                    /dev/nvme0n1p4 raw 510.7 GB
                    

                    windows disk

                    /dev/nvme1n1p1 FAT32 681.6 MB
                    /dev/nvme1n1p2 raw 134.2 MB
                    /dev/nvme1n1p3 NTFS 1.0 TB
                    /dev/nvme1n1p4 NTFS 1.0 GB
                    
                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by

                      @jmason Don’t actually need all the very details (filesystem and size). Just important we know that nvme0n1 was Linux this time. Please try deployment (does not have to be debug) a couple of times and you should see it deploy Linux to nvme1n1 properly as well if the Linux kernel detects the disks in a different order.

                      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

                      jmasonJ 1 Reply Last reply Reply Quote 0
                      • jmasonJ
                        jmason @Sebastian Roth
                        last edited by jmason

                        @Sebastian-Roth Running it again in deploy debug so I can make sure with lsblk that it initialized the drives in a different order and not have to hope it’s different.

                        It came up with windows as nvme0n1 this time and nvme1n1 as linux…

                        The only odd thing was after writing the windows disk…all of the UUID/partition related set lines were just . . . . . . . . . . . . . . . . . . . . . without any values

                        Resetting UUIDs for /dev/nvme0n1
                        Disk UUID being set to ........................................
                        Partition type being set to ..................................
                        Partition uuid being set to...................................
                        etc...
                        ...
                        ...
                        Resetting swap systems
                        

                        but it appears to have moved on to nvme1n1 and is writing the linux image correctly.

                        Next steps?

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

                          @jmason said in Dell 7730 precision laptop deploy GPT error message:

                          The only odd thing was after writing the windows disk…all of the UUID/partition related set lines were just

                          Thanks for mentioning this! Definitely something else I missed. The whole scripting code is a huge thing and very easy to miss things here and there. I am still working on this but will have a new version ready for test in the next days.

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

                            @jmason Took a little while to get this all sorted. Can you please re-download the init_nvme.xz. It should include all current changes and fixes.

                            See if the *.size files are being generated properly when capturing the image as well as properly setting UUID and type after deploying the partition images.

                            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

                            jmasonJ 1 Reply Last reply Reply Quote 0
                            • jmasonJ
                              jmason @Sebastian Roth
                              last edited by jmason

                              @Sebastian-Roth the *.size files were generated properly but the Disk UUID, Partition type, and Partition UUID lines still show just the being set to.................................. after writing an image to a drive. It still appears to be writing the images.

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

                                @jmason Will be a couple of days till I find enough time to re-examine this. Will let you know.

                                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

                                jmasonJ 2 Replies Last reply Reply Quote 1
                                • jmasonJ
                                  jmason @Sebastian Roth
                                  last edited by

                                  @Sebastian-Roth So I ran a deploy today not in debug mode and noticed that the UUID lines that were missing in debug mode actually showed what appeared to be UUIDs as the deployment concluded.

                                  1 Reply Last reply Reply Quote 0
                                  • jmasonJ
                                    jmason @Sebastian Roth
                                    last edited by

                                    @Sebastian-Roth I decided to run these all again after installing FOG on our permanent server with the init_nvme.xz file. I did a new capture and deploy.

                                    I ran deploy in debug mode and regular mode and only the Disk UUID being set to........ is still blank.
                                    The partition type and partition uuid are being set for each partition. Not sure what would have caused that change, unless there was some quick update to the init_nvme.xz file from when I downloaded it Tuesday morning to the test server vs tuesday afternoon to the permanent server.

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

                                      @jmason Hmmmm, thanks for the heads up! Not sure what is going on there but I am fairly sure the init_nvme.xz file on our webserver has not changed since I posted the link last. It’s only Tom and me having access at the moment and I don’t think he’s done anything to it. To me this sounds more like there is still an issue within the scripts that only appears in certain situations. Will try to find it on the weekend.

                                      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

                                      jmasonJ 1 Reply Last reply Reply Quote 0
                                      • jmasonJ
                                        jmason @Sebastian Roth
                                        last edited by jmason

                                        @Sebastian-Roth Was looking in the images directory here is the contents of the d1.original.uuids file

                                        /dev/nvme0n1 c0c5d1ae-844a-476e-81c6-7df5e3996ef1
                                         1:d8b3acfb-02fa-4da3-9eee-b42d59256a4f
                                        /dev/nvme0n1p2 2:2607-0C5E 2:ee3b91d5-4673-4e49-9011-7d3e10182cbe
                                        /dev/nvme0n1p3 3:bc88509e-b6ed-49c0-9106-dc7976a67b2a 3:9e96fd40-79f2-4d79-b2e7-574ddd2b5ce6
                                        /dev/nvme0n1p4 4:HtWBPV-9Aom-jBpz-4pyv-qy3A-lf2o-x58axC 4:fea80442-d73a-494d-be20-1aeee1f51158
                                        

                                        vs d2.original.uuids files

                                        /dev/nvme1n1 5c273d41-1202-4874-8a69-9af1285c6d77
                                        /dev/nvme1n1p1 1:DEFC-1910 1:2b0507fe-9371-463b-832d-63c3aa24795e
                                         2:9667e751-1aee-4f09-b9cc-8e1c16b3010b
                                        /dev/nvme1n1p3 3:382631A826316850 3:3adca3cc-702f-4084-9f16-3b8f241cf81e
                                        /dev/nvme1n1p4 4:2C0C9D570C9D1D40 4:e12d4c98-026a-406c-8043-0498c66be933
                                        

                                        Not sure if this is helpful in any way but it looked slightly odd missing /dev/nvme0n1p1 and /dev/nvme1n1p2, but may just be some debug info file you are using. Anyway thanks for all your work on this and I’ll keep checking in.

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

                                          @jmason Ok, I had a closer look at the UUID stuff and turns out that we had a general bug there as well as unneeded code. I did a bit of a cleanup while hopefully fixing the problem you saw with dual NVMe disk machines.

                                          Can you please test the current init.xz ( as well 32 bit if you need that) our build server spit out.

                                          Be aware that I removed the need for dX.original.uuids altogether as we have all the information in other files available already. So when you upload the image again (which you don’t have to for the simple deploy test to see if the UUID stuff is fixed!) you won’t have dX.original.uuids files anymore.

                                          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

                                          jmasonJ 3 Replies Last reply Reply Quote 0
                                          • jmasonJ
                                            jmason @Sebastian Roth
                                            last edited by

                                            @Sebastian-Roth We are in the middle of an office move, I will test and respond as soon as I have everything set back up. Hopefully before the end of the week.

                                            1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 3 / 5
                                            • First post
                                              Last post

                                            188

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project