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

    Unable to Fog Image pulled from Large Size HDD to Small Size HDD

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    17
    5.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.
    • C
      chetansays @moses
      last edited by

      @moses Yes I always select Single Disk and Resizable option. Also my image size is maybe around 30 GB and my Target HDD is 256 GB but still giving error that Target HDD Boot Partition is smaller.

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

        @chetansays

        First you have to understand that really FOG 1.3.0 (when it is released) is really a different beast than 1.2.0. IMO it should have been 2.0, but that is for another time.

        You need to make sure your image type is setup as Single Disk resizeable (Image Management->[ImageName]->Image Type)when you capture the image. The rest will be taken care of during image capture and deployment.

        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!

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

          @chetansays said:

          @moses Yes I always select Single Disk and Resizable option. Also my image size is maybe around 30 GB and my Target HDD is 256 GB but still giving error that Target HDD Boot Partition is smaller.

          @Developers wasn’t this addressed?

          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!

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

            @chetansays Please post the contents of /images/<img-name>/d1.partitions here in the forum. As well it would be helpful if you could post a picture and/or the exact text of the error message you see! We have worked on the resizable image scripts and you might want to upgrade to the very latest version to see if it works for you.

            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
            • C
              chetansays @Sebastian Roth
              last edited by Sebastian Roth

              @Sebastian-Roth Content of d1.partitions

              label: dos
              label-id: 0xc9acc7a0
              device: /dev/sda
              unit: sectors
              
              /dev/sda1 : start=        2048, size=      204800, type=7, bootable
              /dev/sda2 : start=      206848, size=   976564224, type=7
              

              0_1457975736877_FogError.JPG

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

                @chetansays said:

                97656

                What’s the output of the d1.minimum.partitions and d1.fixed_size_partitions 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

                C 2 Replies Last reply Reply Quote 0
                • C
                  chetansays @Tom Elliott
                  last edited by Sebastian Roth

                  @Tom-Elliott d1.minimum.partitions:

                  label: dos
                  label-id: 0xc9acc7a0
                  device: /dev/sda
                  unit: sectors
                  
                  /dev/sda1 : start=        2048, size=      204800, type=7, bootable
                  /dev/sda2 : start=      206848, size=    63422216, type=7
                  
                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • C
                    chetansays @Tom Elliott
                    last edited by

                    @chetansays said: This is for d1.minimum.partitions while d1.fixed_size_partitions is blank

                    label-id: 0xc9acc7a0
                    device: /dev/sda
                    unit: sectors

                    /dev/sda1 : start= 2048, size= 204800, type=7, bootable
                    /dev/sda2 : start= 206848, size= 63422216, type=7

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

                      @chetansays Do you mind updating first? You may need to reupload the image too, though I’m not 100% sure.

                      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 @chetansays
                        last edited by

                        @chetansays Before reuploading add to the d1.fixed_size_partitions file.

                        Add 1 and save the file.

                        Try redeploying.

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

                          What Tom means by adding 1 to that file is essentially this: echo "1" > d1.fixed_size_partitions (or use your favorite editor and write “1” into that file - without the quotes!). Then try deploying to the target machine again. Not need to re-upload for this test.

                          As well, please run this deploy task in debug mode (just before creating the task check “Schedule task as a debug task”). To start the deploy use the command fog. The step through and you should get back to a shell after the error. Then run sfdisk -d /dev/sda and post a picture 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

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

                            @Tom-Elliott Thank You Tom… When you asked for that file information I cross checked with old version Fog file and I saw that “1” was missing and I edited the file. After which it worked like a magic. I just saw your post and you were spot on. Thank you once again.

                            1 Reply Last reply Reply Quote 0
                            • C
                              chetansays @Sebastian Roth
                              last edited by

                              @Sebastian-Roth Thank You Sebastian. Really appreciate all developers effort here. FOG is wonderful tool. I simply love it. You guys are extremely responsive as well.

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

                              195

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project