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

    PartClone fail on deploy - error code 1

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    11
    3.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.
    • C
      coop90
      last edited by

      Server
      • FOG Version: 1.3.4
      • OS: Ubuntu Server 14.04
      Client
      • Service Version:
      • OS: Windows 7
      Description

      I created a new image for one of our desktops (HP 6305). The image looked like it captured ok but when I tested the deployment, PartClone threw error code 1. I looked in /var/logs/ but dont see the partclone.log file.
      Here is a video of the error:
      https://www.youtube.com/watch?v=m7OGi9wdq-E

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

        @coop90 The : is the separate, the number is the number of the partition to maintain as fixed.

        I didn’t know what was in the file, and most I’ve seen come across the file is blank.
        Can you make the file read in whole as:
        1:3

        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
        • K
          kibade
          last edited by

          The error is saying the target computer has a smaller HDD than the computer the imaged came from. Can you check and see if the image is from a computer with a larger HDD.

          C 1 Reply Last reply Reply Quote 0
          • C
            coop90 @kibade
            last edited by

            @kibade The hardware is identical on both machines. It is the same model 500gb seagate drive.

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

              Please edit the d1.fixed_size_partitions file and add:
              1 to the list.

              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 N 2 Replies Last reply Reply Quote 0
              • K
                kibade @coop90
                last edited by

                @coop90 Strange as 14 seconds in that is the error. I’ve seen this before. When I examined the two drives, one was a few blocks smaller. Admittedly the two drive were not the same make, to might not be the same issue. I bet if you shrink the original computers partition and re-upload it works.

                1 Reply Last reply Reply Quote 0
                • C
                  coop90 @Tom Elliott
                  last edited by

                  @Tom-Elliott I got the same error but I am not sure I added the 1 correctly. The file was “:3” and I made it “:31” Is that correct?

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

                    @coop90 The : is the separate, the number is the number of the partition to maintain as fixed.

                    I didn’t know what was in the file, and most I’ve seen come across the file is blank.
                    Can you make the file read in whole as:
                    1:3

                    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
                      coop90 @Tom Elliott
                      last edited by

                      @Tom-Elliott That worked. Thanks!

                      Anything I should be doing differently in the future when I create/capture images to avoid this problem?

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

                        @coop90 no. I don’t know why it happens and I do currently have “test” case code to try to prevent this, but it’s typically a limited issue thing. If anybody wants to dive into the code and take a look, they’re more the welcome. I can’t find it myself unfortunately, and I’ve been trying.

                        I can tell you it was introduced when I removed the forced use of the first partition being fixed.

                        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
                          coop90 @Tom Elliott
                          last edited by

                          @Tom-Elliott Ok thanks

                          1 Reply Last reply Reply Quote 0
                          • N
                            Nicolas T @Tom Elliott
                            last edited by

                            @Tom-Elliott Hi Tom. I had the same problem when I wanted to deploy my last image (Dell OptiPlex 330/Windows 7 created with the last version of FOG: 1.3.4)
                            It works fine now thanks to the 1 value in the d1.fixed_size_partitions. Thank you 🙂

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

                            162

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project