<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=8230&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / SD Card problem]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=8230</link>
		<description><![CDATA[The most recent posts in SD Card problem.]]></description>
		<lastBuildDate>Tue, 06 Oct 2026 19:24:29 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: SD Card problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=65906#p65906</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>This is the old GB vs GiB problem.</p></div></blockquote></div><p>Yep.</p><p>The GB (Gigabyte) is decimal system and equals 1,000,000,000 bytes. The GiB (Gibibyte) is binary system and equals 1,073,741,824 bytes.</p><p>Look close Altoid : 7.8 <strong>GB</strong>, 7.2 <strong>GiB</strong></p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Tue, 06 Oct 2026 19:24:29 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=65906#p65906</guid>
		</item>
		<item>
			<title><![CDATA[Re: SD Card problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=65905#p65905</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>I wrote:</cite><blockquote><div><p>Will post with results.</p></div></blockquote></div><p>Unfortunately, I am getting the same results I posted previously.</p><p>This is the [dd] process:</p><div class="codebox"><pre><code># dd if=/media/storage/isos/chimaera/rpi_chimaera.img of=/dev/sdg1 bs=4M status=progress
7755268096 bytes (7.8 GB, 7.2 GiB) copied, 668 s, 11.6 MB/s^[[B
1849+1 records in
1849+1 records out
7757398016 bytes (7.8 GB, 7.2 GiB) copied, 787.312 s, 9.9 MB/s
# </code></pre></div><p>ie: all records written but only 7.2 GB of 7.8 GB copied. &lt;-- what did not get copied? </p><div class="codebox"><pre><code># mount /dev/sdg1 /mnt/SD
mount: /mnt/SD: wrong fs type, bad option, bad superblock on /dev/sdg1, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.
# </code></pre></div><p>As I was able to install an old Devuan Beowulf and boot without issues it would seem that the SD Card is working properly, <br />I will try to burn and [*iso] file to see what happens.</p><p>Will post with results.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Tue, 06 Oct 2026 18:56:57 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=65905#p65905</guid>
		</item>
		<item>
			<title><![CDATA[Re: SD Card problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=65904#p65904</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>Mercury wrote:</cite><blockquote><div><p>... took a dd image of this device.<br />... trying to write that image using dd back to the same device ...<br />... getting the error that there is insufficient space. Correct?</p></div></blockquote></div><p>Yes to all.</p><p>There&#039;s still <em>more</em>:<br />While [dd] prints that all records have been written [1849+1 records in / 1849+1 records out], at the same time it prints that of the 7.8 GB that had to be copied, only 7.2 GB had been written [(7.8 GB, 7.2 GiB) copied].</p><div class="codebox"><pre><code># dd if=/media/storage/isos/chimaera/rpi_chimaera.img of=/dev/sdh1 bs=4M status=progress
7757398016 bytes (7.8 GB, 7.2 GiB) copied, 577 s, 13.4 MB/s
1849+1 records in
1849+1 records out
7757398016 bytes (7.8 GB, 7.2 GiB) copied, 703.66 s, 11.0 MB/s
#</code></pre></div><p>Also, if I try to mount the card, I get this:</p><div class="codebox"><pre><code># mount /dev/sdh1 /mnt/SD
mount: /mnt/SD: wrong fs type, bad option, bad superblock on /dev/sdh1, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.
# </code></pre></div><p>[dmesg] prints the same data.</p><p>Curiously enough I was able to install an old [Beowulf] netinstall but stopped short of installing [LiLO] because GRUB was not offered as an option.</p><p>So what&#039;s up with my not being to install [*.img] files? <br />I insisted with the Beowulf installation this time in automatic mode and (lo and behold) I was able to install it, booting just fine.</p><p>Here is what [fdisk -l] and [df -h] print:</p><div class="codebox"><pre><code>Disk /dev/sdg: 29.72 GiB, 31914983424 bytes, 62333952 sectors
Disk model: Storage Device  
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xb403ed78

Device     Boot Start      End  Sectors  Size Id Type
/dev/sdg1  *     2048 62332927 62330880 29.7G 83 Linux</code></pre></div><div class="codebox"><pre><code># df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdg1        30G  607M   27G   3% /mnt/SD
# </code></pre></div><p>I can also mount it manually with no issues:</p><div class="codebox"><pre><code># mount /dev/sdg1 /mnt/SD
# cd /mnt/SD
# ls
bin   dev  home        initrd.img.old  lib64	   media  opt	root  sbin  sys  usr  vmlinuz
boot  etc  initrd.img  lib	       lost+found  mnt	  proc	run   srv   tmp  var  vmlinuz.old
# </code></pre></div><p>So the next test would be to see if installing [GRUB] to the card has cleared out whatever was causing the problem.<br />ie: any one (or more) of these: wrong fs type, bad option, bad superblock on /dev/sdh1, missing codepage or helper program, or other error.</p><p>Will post with results.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Tue, 06 Oct 2026 18:11:44 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=65904#p65904</guid>
		</item>
		<item>
			<title><![CDATA[Re: SD Card problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=65899#p65899</link>
			<description><![CDATA[<p>To recap:</p><p>You took a <span class="bbc">dd</span> image of <em>this device</em>. Now your are trying to write that image using <span class="bbc">dd</span> back to <em>the same device</em> but you are getting the error that there is insufficient space. Correct?</p><p>It&#039;s natural to blame the device since cards like this are known for failing, and that&#039;s if they&#039;re even legitimate. However, I&#039;m wondering if something about <em>the image you took</em> is the problem. Maybe it somehow got &quot;padded out&quot;.</p><p>Exactly how large (in bytes or sectors) is the card, and exactly how large is the image?</p><p>Look at the image itself. Is the end filled with zeroes or does it contain data? (I use wxHexEditor for such things but other tools exist)</p>]]></description>
			<author><![CDATA[dummy@example.com (Mercury)]]></author>
			<pubDate>Tue, 06 Oct 2026 15:28:57 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=65899#p65899</guid>
		</item>
		<item>
			<title><![CDATA[Re: SD Card problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=65898#p65898</link>
			<description><![CDATA[<p>I found &quot;testdisk&quot; <span class="bbc">apt show testdisk</span> useful to reset the correct partition size, after I have botched a partition when resizing it.</p>]]></description>
			<author><![CDATA[dummy@example.com (KindlyDoRight)]]></author>
			<pubDate>Tue, 06 Oct 2026 14:58:09 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=65898#p65898</guid>
		</item>
		<item>
			<title><![CDATA[Re: SD Card problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=65897#p65897</link>
			<description><![CDATA[<p>That download link is perfecty ok. </p><p>This is the old GB vs GiB problem.</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Tue, 06 Oct 2026 14:56:41 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=65897#p65897</guid>
		</item>
		<item>
			<title><![CDATA[Re: SD Card problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=65896#p65896</link>
			<description><![CDATA[<p>&quot;64GB&quot; Sandisk Ultra here:</p><div class="codebox"><pre><code># fdisk -l /dev/sdc
Disk /dev/sdc: 57.3 GiB, 61530439680 bytes, 120176640 sectors
Disk model:  SanDisk 3.2Gen1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x8776131b

Device     Boot Start       End   Sectors  Size Id Type
/dev/sdc1  *     2048 120176639 120174592 57.3G  c W95 FAT32 (LBA)</code></pre></div><p>Gparted also reports 57.3G. Never mind, it works.</p><p>! That link is a M$ platform executable..</p>]]></description>
			<author><![CDATA[dummy@example.com (dzz)]]></author>
			<pubDate>Tue, 06 Oct 2026 14:43:17 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=65896#p65896</guid>
		</item>
		<item>
			<title><![CDATA[Re: SD Card problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=65893#p65893</link>
			<description><![CDATA[<p>Hello:</p><p>Thanks for the link, but [uBlock] gives me a warning, probably false. </p><p>That said, the card is an original/store purchased Sandisk Ultra which worked perfectly well until I screwed it up.<br />If there was some issue with respect to its real capacity or provenance it would have shown up once I used it for the first time.</p><p>Methinks there is something <em>else</em> afoot here ...</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Tue, 06 Oct 2026 13:46:59 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=65893#p65893</guid>
		</item>
		<item>
			<title><![CDATA[Re: SD Card problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=65892#p65892</link>
			<description><![CDATA[<p>I&#039;m thinking a &#039;32GB&#039; card is about 29GiB in actual fact, so it looks reasonable to me...</p><p>(I think you should be able to check the SD card with an online checker.)</p><p>Or, maybe this - <a href="https://h2testw.org/" rel="nofollow">https://h2testw.org/</a></p>]]></description>
			<author><![CDATA[dummy@example.com (Camtaf)]]></author>
			<pubDate>Tue, 06 Oct 2026 13:24:23 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=65892#p65892</guid>
		</item>
		<item>
			<title><![CDATA[SD Card problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=65886#p65886</link>
			<description><![CDATA[<p>Hello:</p><p>I think I <em>sort-of-ish</em> screwed up the 32Gb SD Card I use in my RPi3B+ by attempting to resize the first 128Mb partition.<br />The result was that while [df -h] reported a size of 128Mb, [fdisk -l] reported a size of 256Mb.</p><p>The RPi booted/worked properly but thinking the discrepancy (ie: filesystem smaller than the partition it occupied) would eventually become a problem, I messed it up.</p><p>Have to rewind a bit and see if I can remember exactly what I did last night.</p><p>No problem (said I feeling smug ...) I had previously made an image albeit with the discrepancy included.<br />But as it was an image of a working system, I was confident I could recover it and just live with it.</p><p>Not so.<br />An attempt to write the image with the [Disks) utility gave me an error: the image was 1.6Mb larger than the available space.</p><p>No problem, (said I, still feeling smug) I&#039;ll just [dd if=/dev/zero] the saylights out of it and problen solved.<br />Not so.</p><p>Here is the printout of the process:</p><div class="codebox"><pre><code># dd if=/dev/zero of=/dev/sdg bs=4M status=progress
31910264832 bytes (32 GB, 30 GiB) copied, 2818 s, 11.3 MB/s
dd: error writing &#039;/dev/sdg&#039;: No space left on device
7610+0 records in
7609+0 records out
31914983424 bytes (32 GB, 30 GiB) copied, 2928.4 s, 10.9 MB/s
# </code></pre></div><p>Unless I am mistaken, it would seem that the size discrepancy has been baked into some part of the sd card I have not been able to access with [dd] and as a result it reads the card and computes that it can write 32Gb worth of zeroes to it but something in the card says that its size is 30Gb and throws an error. ie: No space left on device</p><p><span class="bbu">Edit:</span></p><p>Attempting to [dd] the [2026-09-15-raspios-trixie-arm64-lite.img] downloaded fron the Raspberry website gets me this:</p><div class="codebox"><pre><code># dd if=/media/storage/isos/RPi/2026-09-15-raspios-trixie-arm64-lite.img of=/dev/sdg1 bs=4M status=progress
3057647616 bytes (3.1 GB, 2.8 GiB) copied, 261 s, 11.7 MB/s
730+0 records in
730+0 records out
3061841920 bytes (3.1 GB, 2.9 GiB) copied, 386.086 s, 7.9 MB/s
# </code></pre></div><p>In this case, [dd] does not copy <span class="bbu">all</span> the data but 2.0Gb less, just like before.<br />ie: 30Gb of 32Gb copied.</p><p>Maybe it is not being able to write to the partition table space?</p><p>Any idea as to how to solve this?</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Tue, 06 Oct 2026 12:09:28 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=65886#p65886</guid>
		</item>
	</channel>
</rss>
