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

    FOG 1.5.9-RC2 incompatible with Windows 10 v2004 Partition Structure

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    27
    5.4k
    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

      @sudburr Do I get this right? It does expand sda3 and sda4.

      Is d1.fixed_size_partitions still set to 1:2:4 for this image?

      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
      • sudburrS
        sudburr
        last edited by

        No.

        cat d1.fixed_size_partitions
        1:2
        

        [ Standing in between extinction in the cold and explosive radiating growth ]

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

          @sudburr Did you manually edit the file or recapture the image or why is this changed? Just trying to make sense of this.

          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
          • sudburrS
            sudburr
            last edited by sudburr

            It’s consistently inconsistent.

            Today I created some more VMs. All with 64 GB drives. Essentially …

            Capture VM1

            cat d1.fixed_size_partitions
            1:2
            

            Capture VM1 a second time

            cat d1.fixed_size_partitions
            1:2:4
            

            Capture VM2

            cat d1.fixed_size_partitions
            1:2:4
            

            None will deploy to a drive smaller than the original 64 GB, though the data is only 12 GB uncompressed. It’s just a Windows install.

            Looking at the 50 GB drive after a failed attempt to push the 64 GB image onto it. Diskpart reports a single 63 GB partition. wha?
            Gnome Partition Editor shows the drive as 50 GB unallocated.

            Dumping one of the 1:2:4 images onto a 2TB drive now; and it’s good.

            So Partition 3, isn’t really resizing smaller when captured, and Partition 4 is sometimes not identified as fixed size.

            [ Standing in between extinction in the cold and explosive radiating growth ]

            1 Reply Last reply Reply Quote 0
            • sudburrS
              sudburr
              last edited by

              So far today, working with all new VMs again, things are looking good.

              I made one change to the mastering process, to use Disk Management (diskmgmt.msc) within Windows to shrink the OS partition (to just 5GB free space) before sysprep and shutdown. It’s capturing partitions properly with fixed 1:2:4 so far.

              Captured images are deploying properly to HDDs both larger and smaller than the original 64GB.

              [ Standing in between extinction in the cold and explosive radiating growth ]

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

                @sudburr said:

                Partition 4 is sometimes not identified as fixed size.

                Is this something you can reproduce?

                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
                • sudburrS
                  sudburr
                  last edited by sudburr

                  Not reliably.

                  VM I’m working on now refuses to capture with partition 4 as fixed. It’s throwing the error during capture:

                  blkid: error: /dev/sda4: No such file or directory
                  

                  Untitled.jpg

                  [ Standing in between extinction in the cold and explosive radiating growth ]

                  1 Reply Last reply Reply Quote 0
                  • sudburrS
                    sudburr
                    last edited by sudburr

                    Okay, you’re going to love this. I only have one success to go on so far, but here’s my current working theory.

                    Failure scenario

                    1. Cold boot VM to Quick Inventory
                    2. Shutdown VM after the natural reboot after QI
                    3. Create Task
                    4. Cold boot VM into Task
                    5. Partition 4 is not recognized as fixed.

                    Success scenario

                    1. Cold boot VM to Quick Inventory
                    2. Pause VM after the natural reboot after QI
                    3. Create Task
                    4. Resume VM into Task
                    5. Partition 4 is recognized properly.

                    Testing further, but right now, Cold booting into the task appears to be the guilty party.

                    Untitled2.jpg

                    [ Standing in between extinction in the cold and explosive radiating growth ]

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

                      @sudburr said in FOG 1.5.9-RC2 incompatible with Windows 10 v2004 Partition Structure:

                      Testing further, but right now, Cold booting into the task appears to be the guilty party.

                      Wow that would be a really nasty one. Please keep us posted.

                      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
                      • sudburrS
                        sudburr
                        last edited by

                        Sigh … cold vs warm boot is not it.

                        New VMs today, and just to spite me, it failed on the warm reboot test. It worked after resetting to the checkpoint prior to the initial capture attempt. So it worked on a cold boot.

                        This is definitely the indicator that the capture will be bad.

                        blkid: error: /dev/sda4: No such file or directory
                        

                        If I see this, I shut the VM down, revert the checkpoint and try again.

                        [ Standing in between extinction in the cold and explosive radiating growth ]

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

                          @sudburr This is a mystery to me. Why would it find four partitions to begin with but then the device node file is one?!?

                          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
                          • sudburrS
                            sudburr
                            last edited by

                            And it appears to be totally random whether it throws that error, cold boot, warm boot, reset, whatever. If blkid: error comes up I just keep resetting the vm until it goes away .

                            [ Standing in between extinction in the cold and explosive radiating growth ]

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

                              @sudburr Is the partition layout still fine when you see this blkid: error: /dev/sda4 thing on subsequent tries?

                              May I ask you to do the following: Let it try to capture a few times more. Every time you save a copy of the /images/dev/aabbccddeeff/d1.partitions (this aabb… is the MAC address of the host without colons) file to another location for us to compare those afterwards. Whenever you see the blkid... error you name it d1.partitions_fail_X (put in numbers instead of X) and if you don’t see the error you name it d1.partitions_ok_X.sfdiskPartitionFileName

                              What kind of VM do you use? I am wondering if I am able to replicate the issue using the same setup?!

                              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

                              F 1 Reply Last reply Reply Quote 0
                              • sudburrS
                                sudburr
                                last edited by

                                I’ll get back to ya on this. I’ve finished my image refresh for the new year and am digging deep into something else now.

                                I built them in Hyper-V on Windows 10v2004 .

                                It was a coin toss on whether I witnessed the problem on over three dozen VMs, but I was able to overcome it on every one.

                                [ Standing in between extinction in the cold and explosive radiating growth ]

                                1 Reply Last reply Reply Quote 0
                                • F
                                  Fog_Newb @Sebastian Roth
                                  last edited by

                                  @Sebastian-Roth

                                  Not sure if this has been resolved or if this helps -

                                  I’ve created a Win 10 UEFI VM using the 2004 ISO. VMware® Workstation 15 Pro 15.5.6 build-16341506. All the settings were default except I went up tp 8GB of RAM. I installed it, ran all the updates, activated it while waiting for updates, rebooted twice then captured the image with FOG dev-branch version: 1.5.9-RC2.11 running on Ubuntu 20.04 LTS

                                  It deployed fine to a similar VM.

                                  1 Reply Last reply Reply Quote 1
                                  • P
                                    ProfDrSir
                                    last edited by

                                    My workaround that has worked so far was to make the source image drive small, 28GB in my case, and it seems to always work now so long as the target drive is bigger, a complication with the last partition not wanting to be any closer to the beginning of the drive as it was on the source disk (i think), but it can be further away with no issues:

                                    https://forums.fogproject.org/topic/14571/imaging-windows-10-v2004-with-uefi-gpt-partitions-onto-31gb-or-smaller-drive-and-failing/3

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

                                    194

                                    Online

                                    12.2k

                                    Users

                                    17.4k

                                    Topics

                                    155.5k

                                    Posts
                                    Copyright © 2012-2024 FOG Project