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

    Unable to Capture an image: ERROR: Could not adjust the bad sector list

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    5 Posts 3 Posters 49 Views
    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
      bond007fink
      last edited by

      Hi Fog Support Community,

      I am all of a sudden having an issue capturing an image the error is

      Error: Could not adjust the bad sector list
      (ShrinkPartition)
      Args Passed: /dev/sda3 /images/00155d0a050f/d1.orignal.fstypes 1:2:4:5525894500-40287843-4170-42e4-8d94-d3d7181d2ce0.png

      I have tried the following
      chkdsk via both the command prompt and windows media
      Updating FOG to the latest
      Change the Kernel Version
      Changed CAPTURERESIZEPCT to 15
      Fog Debut FixPart

      Still no go, I am able to deploy my old image still but not capture

      I still have plenty of disk space

      B 1 Reply Last reply Reply Quote 0
      • B
        bond007fink @bond007fink
        last edited by

        @bond007fink I also did a check disk using gparted.

        I am able to capture the image if I turn off compression using Multiple Partition single disk (Not Resizable)

        1 Reply Last reply Reply Quote 0
        • J
          jayrehme
          last edited by

          Yes, I’ve had the same issue since the most recent Windows 11 updates, can’t resize the image

          1 Reply Last reply Reply Quote 0
          • B
            bond007fink
            last edited by

            @jayrehme Thank you, I updated the files I need on an October image and it worked. Looks like its a bug that Fog is going to need to fix.

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

              @bond007fink I want to push back on the conclusion being drawn here.

              There are multiple workarounds mentioned in this thread, and at least one other user has already pointed out that this behavior correlates with recent Microsoft updates. That strongly suggests a change in how Windows is laying out or flagging the filesystem — not a regression in FOG itself.

              FOG does not implement NTFS.
              FOG does not write partclone.
              FOG orchestrates existing, well-established tooling to capture and deploy disk images.

              When Microsoft changes disk metadata behavior in a way that causes ntfsclone/partclone to behave differently, that does not automatically make it a “FOG bug.” At best, it’s an upstream compatibility issue; at worst, it’s Windows leaving the filesystem in a state that violates assumptions those tools rely on.

              For something to be classified as a FOG bug, it needs to meet at least one of the following:

              • A regression introduced by a FOG code change
              • Incorrect parameters being passed to the underlying tooling
              • A failure in FOG’s logic that independently causes the issue

              None of that has been demonstrated here.

              If someone can provide

              • A reproducible case across systems
              • Debug runs showing FOG invoking tooling incorrectly
              • Evidence that FOG’s behavior changed independent of OS updates.

              then I’m happy to investigate it as a FOG issue.

              But attributing “FOG needs to fix this” to what appears to be an upstream file-system behavior change isn’t accurate, and it doesn’t help move the problem toward an actual solution.

              To be clear: I don’t mind helping fix problems - even upstream or compatibility issues - if there’s a clear, reproducible failure that can be attributed to something FOG controls.

              What I do mind is hand-waving the problem away with “FOG needs to fix this” without showing:

              • how to reliably reproduce it
              • what changed that caused it
              • or where FOG itself is behaving incorrectly.

              Saying it works if I use an older image or it started after recent Windows updates is useful diagnostic information - but it points away from FOG being the root cause, not toward it.

              If someone can demonstrate that:

              • FOG is passing incorrect parameters
              • FOG logic regressed
              • or FOG can reasonably detect and mitigate a specific file-system condition.

              then I’m happy to look at code or tooling changes.

              Until then, attributing this to “FOG needing to fix something” is a conclusion without evidence.

              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
              • 1 / 1
              • First post
                Last post

              144

              Online

              12.4k

              Users

              17.5k

              Topics

              156.0k

              Posts
              Copyright © 2012-2025 FOG Project