<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Unable to Capture an image: ERROR: Could not adjust the bad sector list]]></title><description><![CDATA[<p dir="auto">Hi Fog Support Community,</p>
<p dir="auto">I am all of a sudden having an issue capturing an image the error is</p>
<p dir="auto">Error: Could not adjust the bad sector list<br />
(ShrinkPartition)<br />
Args Passed: /dev/sda3 /images/00155d0a050f/d1.orignal.fstypes 1:2:4:5<img src="/assets/uploads/files/1765553702367-525894500-40287843-4170-42e4-8d94-d3d7181d2ce0.png" alt="525894500-40287843-4170-42e4-8d94-d3d7181d2ce0.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I have tried the following<br />
chkdsk via both the command prompt and windows media<br />
Updating FOG to the latest<br />
Change the Kernel Version<br />
Changed CAPTURERESIZEPCT to 15<br />
Fog Debut FixPart</p>
<p dir="auto">Still no go, I am able to deploy my old image still but not capture</p>
<p dir="auto">I still have plenty of disk space</p>
]]></description><link>http://forums.fogproject.org/topic/18074/unable-to-capture-an-image-error-could-not-adjust-the-bad-sector-list</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 05:21:59 GMT</lastBuildDate><atom:link href="http://forums.fogproject.org/topic/18074.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 12 Dec 2025 15:35:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable to Capture an image: ERROR: Could not adjust the bad sector list on Fri, 01 May 2026 19:05:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/49409">@bond007fink</a> A new version of <code>ntfs-3g</code>, which is the parent package for <code>ntfsresize</code>, has finally been released last week. That’s after 4 years of no updates. If all goes well, I will be doing an experimental release this weekend with the newer package.</p>
<p dir="auto">As <a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/7217">@Tom-Elliott</a> stated, this is not an issue with FOG itself, instead FOG relies on tools like <code>ntfs-3g</code> and <code>partclone</code> to handle all the NTFS filesystem changes. Hopefully this updated version fixes your issue.<br />
I will update the thread once the experimental release is available.</p>
]]></description><link>http://forums.fogproject.org/post/158067</link><guid isPermaLink="true">http://forums.fogproject.org/post/158067</guid><dc:creator><![CDATA[rodluz]]></dc:creator><pubDate>Fri, 01 May 2026 19:05:00 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to Capture an image: ERROR: Could not adjust the bad sector list on Fri, 01 May 2026 02:50:09 GMT]]></title><description><![CDATA[<p dir="auto">Just wanted to update all that I ran into this exact problem again. Though I can contnue to load old images, make the change, then capture new image. If I wait some time and try to capture the image again it fails. I have now tried the following<br />
chkdsk<br />
defrag<br />
edit the init file<br />
update to the latest version of Fog</p>
<p dir="auto">stll no luck “Could not adjust the bad sector list” continues to cause me issues, anyone have any ideas?</p>
]]></description><link>http://forums.fogproject.org/post/158066</link><guid isPermaLink="true">http://forums.fogproject.org/post/158066</guid><dc:creator><![CDATA[bond007fink]]></dc:creator><pubDate>Fri, 01 May 2026 02:50:09 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to Capture an image: ERROR: Could not adjust the bad sector list on Mon, 09 Feb 2026 10:47:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/49478">@deharter</a> i could capture changing the image type , from “Single Disk - Resizeable” to “Multiple Partition Image - Single Disk (Not Resizeable)”</p>
]]></description><link>http://forums.fogproject.org/post/157844</link><guid isPermaLink="true">http://forums.fogproject.org/post/157844</guid><dc:creator><![CDATA[boombasstic]]></dc:creator><pubDate>Mon, 09 Feb 2026 10:47:41 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to Capture an image: ERROR: Could not adjust the bad sector list on Wed, 28 Jan 2026 17:55:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/7217">@Tom-Elliott</a> I’m having this issue currently running Fog version 1.5.10.1593 and OS  version 10.0.19044 Build 19044.  I’ve tried all of these steps and a plethora of others but have been unable to successfully capture a final image.  Do you have any other ideas to try?</p>
]]></description><link>http://forums.fogproject.org/post/157812</link><guid isPermaLink="true">http://forums.fogproject.org/post/157812</guid><dc:creator><![CDATA[deharter]]></dc:creator><pubDate>Wed, 28 Jan 2026 17:55:19 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to Capture an image: ERROR: Could not adjust the bad sector list on Wed, 24 Dec 2025 15:49:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/49409">@bond007fink</a> <a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/48394">@jayrehme</a><br />
By “Latest Update” do you mean the December updates for Win 11 or do you mean the latest release version of 25H2 ? I haven’t tested 25H2 yet.</p>
]]></description><link>http://forums.fogproject.org/post/157652</link><guid isPermaLink="true">http://forums.fogproject.org/post/157652</guid><dc:creator><![CDATA[JJ Fullmer]]></dc:creator><pubDate>Wed, 24 Dec 2025 15:49:13 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to Capture an image: ERROR: Could not adjust the bad sector list on Fri, 19 Dec 2025 15:40:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/49409">@bond007fink</a> <a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/48394">@jayrehme</a><br />
I do a monthly update to my image (single disk resizable) with the latest updated added to the iso I use to install. So I’m using the November iso with the December updates embedded for win 11 24H2 x64 and I had no issues with resizing.</p>
<p dir="auto">So it may be a config issue on your end or it could be a more specific use case due to a windows upstream change.<br />
Can you give a little more information on the hardware you’re capturing from and what your settings are on the image definition in fog?<br />
I can try to recreate to some extent.</p>
]]></description><link>http://forums.fogproject.org/post/157639</link><guid isPermaLink="true">http://forums.fogproject.org/post/157639</guid><dc:creator><![CDATA[JJ Fullmer]]></dc:creator><pubDate>Fri, 19 Dec 2025 15:40:52 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to Capture an image: ERROR: Could not adjust the bad sector list on Fri, 19 Dec 2025 11:49:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/49409">@bond007fink</a> The <code>Could not adjust the bad sector list</code> error generally indicates that NTFS metadata (bitmap / bad cluster map) is in an inconsistent state. FOG relies on <code>ntfsresize</code> and <code>partclone</code> to safely shrink and copy NTFS volumes, and if those tools cannot reliably map the filesystem, the capture will correctly fail.</p>
<p dir="auto">This can occur even when the drive is physically healthy. A filesystem marked <em>dirty</em> will prevent offline resize operations. In that case, FOG is behaving as designed — failing here is preferable to deploying a potentially corrupt image to multiple systems.</p>
<p dir="auto">We are seeing this more frequently after recent Windows updates, which appear to be leaving or reasserting the NTFS dirty bit.</p>
<p dir="auto">Please boot the source machine into Windows and run a <strong>full</strong> filesystem and encryption check. Make sure to adjust the drive letter if your system volume is not <code>C:</code>.</p>
<pre><code class="language-bash">chkdsk /x /r /f C:
manage-bde -off C:
</code></pre>
<p dir="auto">Also ensure hibernation is disabled, as it can leave NTFS in a state that prevents offline resizing:</p>
<pre><code class="language-bash">powercfg -h off
</code></pre>
<p dir="auto">If capture succeeds when resizing is disabled, that further confirms this is a Windows filesystem state issue rather than a FOG defect.</p>
<p dir="auto">FOG cannot safely work around filesystem states imposed by other vendors. Ignoring NTFS safety checks would risk data integrity, and that is not something FOG should or will do.</p>
]]></description><link>http://forums.fogproject.org/post/157635</link><guid isPermaLink="true">http://forums.fogproject.org/post/157635</guid><dc:creator><![CDATA[Tom Elliott]]></dc:creator><pubDate>Fri, 19 Dec 2025 11:49:22 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to Capture an image: ERROR: Could not adjust the bad sector list on Thu, 18 Dec 2025 17:01:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/7217">@Tom-Elliott</a> you would need to fix FOG so that it works with the latest windows update, that is on FOG. Maybe its not a Bug But a Required Feature update to make it compatible with the latest windows 11 update.</p>
<p dir="auto">I would get a windows computer updated to the latest build and try to capture with FOG, if it works I am mistaken and I apologies for the inconvenience.</p>
]]></description><link>http://forums.fogproject.org/post/157634</link><guid isPermaLink="true">http://forums.fogproject.org/post/157634</guid><dc:creator><![CDATA[bond007fink]]></dc:creator><pubDate>Thu, 18 Dec 2025 17:01:43 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to Capture an image: ERROR: Could not adjust the bad sector list on Mon, 15 Dec 2025 11:45:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/49409">@bond007fink</a> I want to push back on the conclusion being drawn here.</p>
<p dir="auto">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.</p>
<p dir="auto">FOG does not implement NTFS.<br />
FOG does not write partclone.<br />
FOG orchestrates existing, well-established tooling to capture and deploy disk images.</p>
<p dir="auto">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.</p>
<p dir="auto">For something to be classified as a FOG bug, it needs to meet at least one of the following:</p>
<ul>
<li>A regression introduced by a FOG code change</li>
<li>Incorrect parameters being passed to the underlying tooling</li>
<li>A failure in FOG’s logic that <em>independently</em> causes the issue</li>
</ul>
<p dir="auto">None of that has been demonstrated here.</p>
<p dir="auto">If someone can provide</p>
<ul>
<li>A reproducible case across systems</li>
<li>Debug runs showing FOG invoking tooling incorrectly</li>
<li>Evidence that FOG’s behavior changed independent of OS updates.</li>
</ul>
<p dir="auto">then I’m happy to investigate it as a FOG issue.</p>
<p dir="auto">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.</p>
<p dir="auto">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.</p>
<p dir="auto">What I do mind is hand-waving the problem away with “FOG needs to fix this” without showing:</p>
<ul>
<li>how to reliably reproduce it</li>
<li>what changed that caused it</li>
<li>or where FOG itself is behaving incorrectly.</li>
</ul>
<p dir="auto">Saying <code>it works if I use an older image</code> or <code>it started after recent Windows updates</code> is useful diagnostic information - but it points <em>away</em> from FOG being the root cause, not toward it.</p>
<p dir="auto">If someone can demonstrate that:</p>
<ul>
<li>FOG is passing incorrect parameters</li>
<li>FOG logic regressed</li>
<li>or FOG can reasonably detect and mitigate a specific file-system condition.</li>
</ul>
<p dir="auto">then I’m happy to look at code or tooling changes.</p>
<p dir="auto">Until then, attributing this to “FOG needing to fix something” is a conclusion without evidence.</p>
]]></description><link>http://forums.fogproject.org/post/157625</link><guid isPermaLink="true">http://forums.fogproject.org/post/157625</guid><dc:creator><![CDATA[Tom Elliott]]></dc:creator><pubDate>Mon, 15 Dec 2025 11:45:47 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to Capture an image: ERROR: Could not adjust the bad sector list on Sat, 13 Dec 2025 14:29:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/48394">@jayrehme</a> 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.</p>
]]></description><link>http://forums.fogproject.org/post/157624</link><guid isPermaLink="true">http://forums.fogproject.org/post/157624</guid><dc:creator><![CDATA[bond007fink]]></dc:creator><pubDate>Sat, 13 Dec 2025 14:29:25 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to Capture an image: ERROR: Could not adjust the bad sector list on Fri, 12 Dec 2025 20:57:57 GMT]]></title><description><![CDATA[<p dir="auto">Yes, I’ve had the same issue since the most recent Windows 11 updates, can’t resize the image</p>
]]></description><link>http://forums.fogproject.org/post/157623</link><guid isPermaLink="true">http://forums.fogproject.org/post/157623</guid><dc:creator><![CDATA[jayrehme]]></dc:creator><pubDate>Fri, 12 Dec 2025 20:57:57 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to Capture an image: ERROR: Could not adjust the bad sector list on Fri, 12 Dec 2025 15:38:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/49409">@bond007fink</a> I also did a check disk using gparted.</p>
<p dir="auto">I am able to capture the image if I turn off compression using Multiple Partition single disk (Not Resizable)</p>
]]></description><link>http://forums.fogproject.org/post/157622</link><guid isPermaLink="true">http://forums.fogproject.org/post/157622</guid><dc:creator><![CDATA[bond007fink]]></dc:creator><pubDate>Fri, 12 Dec 2025 15:38:18 GMT</pubDate></item></channel></rss>