<?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[147456 bytes writtenWrite error after 147456 bytes (8192)]]></title><description><![CDATA[<p dir="auto">Hi Guys, after some time tackling with this problems I think found the root cause and solution. (at least in my case)</p>
<p dir="auto">Problem seems to appear when CF disk is formatted in windows operating system, to fix this you can use diskpart util.</p>
<p dir="auto">To do that start "Command prompt" as "Administrator" and do following. <strong>Note in my case CF card was disk 3.</strong></p>
<p dir="auto"><strong>WARNING MAKE SURE YOU SELECT RIGHT DISK AS EVERYTHING IS GOING TO BE WIPED OFF..</strong></p>
<p dir="auto">Microsoft Windows [Version 6.1.7601]<br />
Copyright <img src="https://forum.netgate.com/assets/plugins/nodebb-plugin-emoji/emoji/android/00a9.png?v=717669fab53" class="not-responsive emoji emoji-android emoji--copyright" style="height:23px;width:auto;vertical-align:middle" title="©" alt="©" /> 2009 Microsoft Corporation.  All rights reserved.</p>
<p dir="auto"><strong>C:\Windows\system32&gt;diskpart</strong></p>
<p dir="auto">Microsoft DiskPart version 6.1.7601<br />
Copyright (C) 1999-2008 Microsoft Corporation.<br />
On computer: PC</p>
<p dir="auto"><strong>DISKPART&gt; list disk</strong></p>
<p dir="auto">Disk ###  Status         Size     Free     Dyn  Gpt<br />
 –------  -------------  -------  -------  ---  ---<br />
 Disk 0    Online          119 GB      0 B<br />
 Disk 1    Online          931 GB      0 B        *<br />
 Disk 2    Online          931 GB      0 B<br />
 Disk 3    Online         3815 MB      0 B</p>
<p dir="auto"><strong>DISKPART&gt; select disk 3</strong></p>
<p dir="auto">Disk 3 is now the selected disk.</p>
<p dir="auto"><strong>DISKPART&gt; clean</strong></p>
<p dir="auto">DiskPart succeeded in cleaning the disk.</p>
<p dir="auto"><strong>DISKPART&gt;</strong></p>
<p dir="auto">and now you should be able to write to the CF card</p>
<p dir="auto"><strong>c:\write&gt;physdiskwrite -u pfSense-2.0.2-RELEASE-2g-i386-nanobsd.img.gz</strong></p>
<p dir="auto">physdiskwrite v0.5.2 by Manuel Kasper <a href="mailto:mk@neon1.net" target="_blank" rel="noopener noreferrer nofollow ugc">mk@neon1.net</a>Searching for physical drives…</p>
<p dir="auto">Information for \.\PhysicalDrive0:<br />
  Windows:      cyl: 58756<br />
                  tpc: 224<br />
                  spt: 19<br />
  C/H/S:        16383/16/63<br />
  Model:        SAMSUNG SSD 830 Series<br />
  Serial number: S0Z3NEAC845095<br />
  Firmware rev.: CXM03B1Q</p>
<p dir="auto">Information for \.\PhysicalDrive1:<br />
  Windows:      cyl: 121601<br />
                  tpc: 255<br />
                  spt: 63<br />
  C/H/S:        16383/16/63<br />
  Model:        ST31000528AS<br />
  Serial number:            9VP55BRK<br />
  Firmware rev.: CC38</p>
<p dir="auto">Information for \.\PhysicalDrive2:<br />
  Windows:      cyl: 121601<br />
                  tpc: 255<br />
                  spt: 63<br />
  C/H/S:        16383/16/63<br />
  Model:        WDC WD10EARS-00Y5B1<br />
  Serial number:      WD-WCAV5H808061<br />
  Firmware rev.: 80.00A80</p>
<p dir="auto">Information for \.\PhysicalDrive3:<br />
  Windows:      cyl: 486<br />
                  tpc: 255<br />
                  spt: 63</p>
<p dir="auto">Which disk do you want to write? (0..3) 3<br />
WARNING: that disk is larger than 2 GB! Make sure you're not accidentally<br />
overwriting your primary hard disk! Proceeding on your own risk...<br />
About to overwrite the contents of disk 3 with new data. Proceed? (y/n) y<br />
Found compressed image file<br />
1989969408/1989969408 bytes written in total</p>
<p dir="auto">c:\write&gt;</p>
<p dir="auto">Cheers<br />
Jouko<a href="mailto:/mk@neon1.net" target="_blank" rel="noopener noreferrer nofollow ugc">/mk@neon1.net</a></p>
]]></description><link>https://forum.netgate.com/topic/52605/147456-bytes-writtenwrite-error-after-147456-bytes-8192</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 07:48:14 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/52605.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 02 Feb 2013 07:06:35 GMT</pubDate><ttl>60</ttl></channel></rss>