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

Single disk, resizable - failed to set disk guid

Scheduled Pinned Locked Moved Unsolved
FOG Problems
3
8
2.2k
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.
  • D
    dylan123
    last edited by Apr 20, 2017, 12:01 AM

    Server
    • FOG Version: 1.4.0-RC-4
    • OS: Ubuntu
    Client
    • Service Version:
    • OS:
    Description

    Hey guy, created an image of a surface pro 3 60gb as a single disk, resizable. Pushed it to a 250gb surface pro 3 and I get an error at the end. The surface pro 3 then boots up fine and appears to work so I’m mainly just curious as to what the following error actually means (also means the task remains in the system because of the error) -

    0_1492646368907_new1.jpg

    Not a huge problem as I can create and use the ‘not resizable’ option (would be nice for the 1-2 60gb Surface Pros we have). I was just wanting to know what this problem actually means as the computer I deployed the image to appears to be working fine.

    T 1 Reply Last reply Apr 20, 2017, 12:28 AM Reply Quote 0
    • W
      Wayne Workman
      last edited by Wayne Workman Apr 19, 2017, 6:16 PM Apr 20, 2017, 12:15 AM

      It means the UUID from the reference partition could not be applied to the device’s partition you deployed to. I’m surprised it boots.

      @Tom-Elliott an alternative if sgdisk fails is

      tune2fs /dev/nvme0n1 -U `uuid`
      

      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 1
      • T
        Tom Elliott @dylan123
        last edited by Apr 20, 2017, 12:28 AM

        @dylan123 Does your image have the d1.original.uuids file? if so, what’s the contents of that file?

        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

        D 1 Reply Last reply Apr 20, 2017, 12:31 AM Reply Quote 0
        • D
          dylan123 @Tom Elliott
          last edited by Apr 20, 2017, 12:31 AM

          Hey @Tom-Elliott, see below for the content of that file -
          /dev/sda dcfabb9e-4507-415e-b9a9-e437017df63b
          /dev/sda1 1:0C86C94F86C939CA 1:9c90a090-937d-4c9b-9a25-0381f463b590
          /dev/sda2 2:6CCA-8BF5 2:7e69ccb9-b499-4bf5-8528-293b71e42988
          3:2de320a9-99b6-4191-aeeb-1c15e96fae1d
          /dev/sda4 4:CC34D93B34D9296A 4:b1911679-d848-4e8b-82fc-98616b55452e

          T 1 Reply Last reply Apr 20, 2017, 12:33 AM Reply Quote 0
          • T
            Tom Elliott @dylan123
            last edited by Tom Elliott Apr 19, 2017, 6:35 PM Apr 20, 2017, 12:33 AM

            @dylan123 So the issue, if you’d like it fixed for now (I’ll relook at this code though).

            Can you open the file, and add the /dev/sda components?

            In other words make the file read as:

            /dev/nvme0n1 dcfabb9e-4507-415e-b9a9-e437017df63b
            /dev/nvme0n1p1 1:0C86C94F86C939CA 1:9c90a090-937d-4c9b-9a25-0381f463b590
            /dev/nvme0n1p2 2:6CCA-8BF5 2:7e69ccb9-b499-4bf5-8528-293b71e42988
            3:2de320a9-99b6-4191-aeeb-1c15e96fae1d
            /dev/nvme0n1p4 4:CC34D93B34D9296A 4:b1911679-d848-4e8b-82fc-98616b55452e
            

            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

            D 1 Reply Last reply Apr 20, 2017, 1:38 AM Reply Quote 1
            • T
              Tom Elliott
              last edited by Apr 20, 2017, 1:30 AM

              I’ve updated the code base in hopes of properly generalizing the base code to get the UUID information.

              Could you test deployment again after downloading the latest inits?

              sudo mv /var/www/fog/service/ipxe/init{,_orig}.xz
              sudo mv /var/www/fog/service/ipxe/init{,_orig}_32.xz
              wget -O /var/www/fog/service/ipxe/init.xz https://fogproject.org/inits/init.xz
              wget -O /var/www/fog/service/ipxe/init_32.xz https://fogproject.org/inits/init_32.xz

              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
              • T
                Tom Elliott
                last edited by Apr 20, 2017, 1:33 AM

                Here’s a look (if anybody wants to review logic process/give potential better ideas):

                https://github.com/FOGProject/fogproject/commit/c327be5ff7936f361036b1e362d6ce011d4a6ed5

                The applySgdisk and restoreSgdisk functions weren’t used anywhere in the code since sfdisk installed on the init’s can save and use the sfdisk from a gpt styled disk now.

                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
                • D
                  dylan123 @Tom Elliott
                  last edited by Apr 20, 2017, 1:38 AM

                  @Tom-Elliott said in Single disk, resizable - failed to set disk guid:

                  @dylan123 So the issue, if you’d like it fixed for now (I’ll relook at this code though).

                  Can you open the file, and add the /dev/sda components?

                  In other words make the file read as:

                  /dev/nvme0n1 dcfabb9e-4507-415e-b9a9-e437017df63b
                  /dev/nvme0n1p1 1:0C86C94F86C939CA 1:9c90a090-937d-4c9b-9a25-0381f463b590
                  /dev/nvme0n1p2 2:6CCA-8BF5 2:7e69ccb9-b499-4bf5-8528-293b71e42988
                  3:2de320a9-99b6-4191-aeeb-1c15e96fae1d
                  /dev/nvme0n1p4 4:CC34D93B34D9296A 4:b1911679-d848-4e8b-82fc-98616b55452e
                  

                  Hey @Tom Elliott, tried the above code and that worked perfectly!

                  Will download the new init’s as suggested and see if that works also, thanks.

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

                  158

                  Online

                  12.1k

                  Users

                  17.3k

                  Topics

                  155.3k

                  Posts
                  Copyright © 2012-2024 FOG Project