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

Trying to deploy image to smaller Drive

Scheduled Pinned Locked Moved Solved
FOG Problems
2
5
624
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.
  • B
    bretfred
    last edited by May 24, 2018, 3:36 PM

    I am trying to go from an HP x360 ee 11 128GB to an HP x360 ee 11 64GB. I have tried both resized image and an image where i shrunk the main partition to 33GB both ways gave the same error. Image deploys fine back to original laptop Any ideas? Running version 1.5.2
    0_1527176130494_fog2.jpg

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by May 24, 2018, 9:58 PM

      @bretfred Most probably related to the partition layout. Can you please post the contents of d1.partitions, d1.minimum.partitions and d1.fixed_size_partitions?

      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
      • B
        bretfred
        last edited by Quazz May 25, 2018, 9:41 AM May 25, 2018, 1:41 PM

        Here is the contents of those files. I thought i shrunk this drive in windows before I did the capture. I could be mistaken as i was doing a bunch of stuff. Looks like the primary partition itself wants 64GB so its no wonder why its not working however i have included a not resizeable capture i did where i know its shrunk to around 33GB at the bottom that does the same thing. In windows the drive shows 30.8 however the partitions file shows 64Gb for the size.
        fixed size

        :2:3:1
        

        minimum

        label: gpt
        label-id: CA2CF626-B6A1-BE98-571A-1A6FE2E6B6DE
        device: /dev/sda
        unit: sectors
        first-lba: 34
        last-lba: 250069646
        
        /dev/sda1 : start=          40, size=      921600, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=2B630EF3-1CF9-42FB-846C-792BF8938857, name="Basic data partition"
        /dev/sda2 : start=      921640, size=      104426, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=95A294AF-CC04-4743-AB0D-ADB83A5E365E, name="EFI system partition"
        /dev/sda3 : start=     1026066, size=       32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=2967A63F-3AA1-4409-BDA8-305B43B9513E, name="Microsoft reserved partition"
        /dev/sda4 : start=     1058834, size=    64605696, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=18916FDB-D9D2-4F31-AD1F-1F574B24070A, name="Basic data partition"
        /dev/sda5 : start=   246730258, size=     3338240, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=17DDD755-5CBF-4FBE-AAA4-C20CE93D52A8, name="attrs="RequiredPartition GUID:63"
        

        partitions

        label: gpt
        label-id: CA2CF626-B6A1-BE98-571A-1A6FE2E6B6DE
        device: /dev/sda
        unit: sectors
        first-lba: 34
        last-lba: 250069646
        
        /dev/sda1 : start=          40, size=      921600, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=2B630EF3-1CF9-42FB-846C-792BF8938857, name="Basic data partition"
        /dev/sda2 : start=      921640, size=      104426, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=95A294AF-CC04-4743-AB0D-ADB83A5E365E, name="EFI system partition"
        /dev/sda3 : start=     1026066, size=       32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=2967A63F-3AA1-4409-BDA8-305B43B9513E, name="Microsoft reserved partition"
        /dev/sda4 : start=     1058834, size=    64605696, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=18916FDB-D9D2-4F31-AD1F-1F574B24070A, name="Basic data partition"
        /dev/sda5 : start=   246730258, size=     3338240, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=17DDD755-5CBF-4FBE-AAA4-C20CE93D52A8, name="attrs="RequiredPartition GUID:63"
        

        Shrunk not resize

        label: gpt
        label-id: CA2CF626-B6A1-BE98-571A-1A6FE2E6B6DE
        device: /dev/sda
        unit: sectors
        first-lba: 34
        last-lba: 250069646
        
        /dev/sda1 : start=          40, size=      921600, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=2B630EF3-1CF9-42FB-846C-792BF8938857, name="Basic data partition"
        /dev/sda2 : start=      921640, size=      104426, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=95A294AF-CC04-4743-AB0D-ADB83A5E365E, name="EFI system partition"
        /dev/sda3 : start=     1026066, size=       32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=2967A63F-3AA1-4409-BDA8-305B43B9513E, name="Microsoft reserved partition"
        /dev/sda4 : start=     1058834, size=    64605696, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=18916FDB-D9D2-4F31-AD1F-1F574B24070A, name="Basic data partition"
        /dev/sda5 : start=   246730258, size=     3338240, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=17DDD755-5CBF-4FBE-AAA4-C20CE93D52A8, name="attrs="RequiredPartition GUID:63"
        
        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by May 27, 2018, 7:18 AM

          @bretfred Ok, let’s try to sort your partitions out.

          • sda1: GUID=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC => Windows recovery partition -> marked as fixed size, ok!
          • sda2: GUID=C12A7328-F81F-11D2-BA4B-00A0C93EC93B => EFI partition -> marked as fixed size, ok!
          • sda3: GUID=E3C9E316-0B5C-4DB8-817D-F92DF00215AE => Microsoft reserved partition, not sure why you have that but marked as fixed seems ok to me too.
          • sda4: GUID=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 => Microsoft basic data partition, probably where your Windows is installed, should be able to resize that.
          • sda5: GUID=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC => another Windows recovery partition, not sure why you have that?! Possibly this is preventing the resize.

          You see all the numbers in d1.partitions and d1.minimum.partitions match. That should not be the case if we are able to resize. Even the “shrunk not resize” output is exactly the same. Not sure what exactly you did?!

          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
          • B
            bretfred
            last edited by May 29, 2018, 3:40 PM

            Yea not sure why the shrunk partition is listing the same size as the resizable one. So I went ahead and deleted the second recovery partition. Recaptured the image as not resizeable. Was able to get it to restore to the smaller drive. Even after i recaptured it still showed the data partition as 64GB not sure why but hey it worked. Thanks for your help.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              4/5
              Last post

            255

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project