<?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=4794&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] USB Memory stick issue]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4794</link>
		<description><![CDATA[The most recent posts in [SOLVED] USB Memory stick issue.]]></description>
		<lastBuildDate>Wed, 12 Jan 2022 16:24:33 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] USB Memory stick issue]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33891#p33891</link>
			<description><![CDATA[<p>This will clear USB sticks quicker than <span class="bbc">dd</span> (install the gdisk package first):</p><div class="codebox"><pre><code>sudo sgdisk --zap-all /dev/sdX
sudo wipefs -a /dev/sdX</code></pre></div><p>As with <span class="bbc">dd</span> be very careful with the device letter because those commands can nuke your system if you get it wrong.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Wed, 12 Jan 2022 16:24:33 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33891#p33891</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] USB Memory stick issue]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33887#p33887</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>Mike-thinky wrote:</cite><blockquote><div><p>... interesting, GParted declares it to be FAT16, but fdisk says FAT32?<br />... reminds me of some cheap memory sticks ...</p></div></blockquote></div><p>I think there&#039;s still some problem with your memory stick.<br />Can&#039;t really say what but it may well bring you problems when you least expect/need one.<br />Murphy and all that.</p><p>Like I mentioned before, you may want to back up whatever files are in the stick and nuke it.</p><p>In my experience, the best way to do it is with the command line to clear it completely and then format it.</p><p>Do <span class="bbc">sudo dd if=/dev/zero of=/dev/sd<strong>x</strong> bs=4096 </span>.<br />It takes a while depending of drive size, just wait for it till the printout shows up.</p><p>--&gt; <span class="bbu">Make sure you do this with the proper drive letter</span> &lt;--<br />There&#039;s no turning back from <span class="bbc">dd</span>.&#160; </p><p>To check the drive letter you can use <span class="bbc">lsblk</span>, <span class="bbc">dmesg</span>, <span class="bbc">gparted</span> or all three, just in case.<br />You don&#039;t want to nuke your laptop drive.</p><p>Once this is done and unless there&#039;s a hardware issue such as a fake USB drive, it should be clear of whatever is going on and you can use <span class="bbc">gparted</span> or the command line to format it again.</p><p>I&#039;d use FAT32 as there&#039;s no advantage in using FAT16 unless you have a use case which requires filling it with +50% very small files.</p><p>FAT32 is understood by practically every modern device using USB and there&#039;s no 8.3 filename restriction.<br />ie: <span class="bbc">kingstonusb.txt</span> ends up being <span class="bbc">kingst~1.txt</span>. </p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Wed, 12 Jan 2022 10:43:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33887#p33887</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] USB Memory stick issue]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33886#p33886</link>
			<description><![CDATA[<p>Sometimes this does happen, but if you use fdisk, &amp; give it a new mbr, then partition it, &amp; put&#160; a new filesystem on it, it becomes what it really is, sizewise - but it could just be a fake.</p>]]></description>
			<author><![CDATA[dummy@example.com (Camtaf)]]></author>
			<pubDate>Wed, 12 Jan 2022 10:02:00 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33886#p33886</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] USB Memory stick issue]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33885#p33885</link>
			<description><![CDATA[<p>Hi,</p><p>That is interesting, GParted declares it to be FAT16, but fdisk says FAT32?</p><div class="codebox"><pre><code>sudo fdisk /dev/sdc -l                                                                                                                              
[sudo] password for mike:                                                                                                                                           
Disk /dev/sdc: 497.75 MiB, 521928192 bytes, 1019391 sectors
Disk model: DT Elite HS 2.0 
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: 0x0408df67

Device     Boot Start     End Sectors  Size Id Type
/dev/sdc1          63 1017855 1017793  497M  b W95 FAT32</code></pre></div><p>This scenarion reminds me of some cheap memory sticks I bought online a while ago, One said it was 1Tb, but GParted could only find 8Mb!</p>]]></description>
			<author><![CDATA[dummy@example.com (Mike-thinky)]]></author>
			<pubDate>Wed, 12 Jan 2022 09:38:28 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33885#p33885</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] USB Memory stick issue]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33882#p33882</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>Mike-thinky wrote:</cite><blockquote><div><p>Thanks ...</p></div></blockquote></div><p>You&#039;re welcome.</p><div class="quotebox"><cite>Mike-thinky wrote:</cite><blockquote><div><p>... use Gparted to shrink the partition by 2Mb ...</p></div></blockquote></div><p>Hmm ...<br />Would you please run <span class="bbc">fdisk /dev/sdc -l</span> (as root or sudo) and post the printout?</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Tue, 11 Jan 2022 22:36:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33882#p33882</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] USB Memory stick issue]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33880#p33880</link>
			<description><![CDATA[<p>Thanks guys, just had to use Gparted to shrink the partition by 2Mb and it now reports properly. as a drive in the unmount applet. It does not yet automount? not sure why. will try and google that.</p>]]></description>
			<author><![CDATA[dummy@example.com (Mike-thinky)]]></author>
			<pubDate>Tue, 11 Jan 2022 21:38:22 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33880#p33880</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] USB Memory stick issue]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33877#p33877</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>Mike-thinky wrote:</cite><blockquote><div><p>... not show up in the file manager ...<br />... do not understand, is that I have quite a few other USB memory sticks ...</p></div></blockquote></div><p>I think it is an issue with this specific USB stick, <em>not</em> with your installation.<br />Maybe a geometry issue?<br />Invalid cluster numbers?</p><p>My on-board memory is a bit foggy ...&#160; 8^|</p><p>You may want to try running <span class="bbc">fsck.vfat -n /dev/sdc1</span> for a read-only check and post the result.<br />or <br /><span class="bbc">fsck.vfat -a /dev/sdc1</span> to check the file system and directly fix it.</p><p>Another possibility would be to just do a full reformat with <span class="bbc">gparted</span> or <span class="bbc">disks</span> to FAT16 or whatever you need.</p><p>Best,</p><p>A.</p><p>* Edit: Rolfie beat me to it and explained it much better than me.&#160; 8^D</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Tue, 11 Jan 2022 21:07:17 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33877#p33877</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] USB Memory stick issue]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33876#p33876</link>
			<description><![CDATA[<p>I own two old USB2 memory sticks with 512 MByte, formatted as FAT16. They work fine with Cinnamon/Mate Desktop being automounted etc. </p><p>Your stick has an issue with the entries in the partition table: <br />1.) sdc: detected capacity change from 0 to 521928192<br />2.) sdc: p1 size 1019340 extends beyond EOD, enabling native capacity<br />3.) sdc: p1 size 1019340 extends beyond EOD, truncated</p><p>Unmount and run a file system check on that device. </p><p>rolfie</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Tue, 11 Jan 2022 20:58:51 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33876#p33876</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] USB Memory stick issue]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33875#p33875</link>
			<description><![CDATA[<p>Yes,<br />It does not show up in the file manager, or in the demount applet at bottom right.<br />The part I do not understand, is that I have quite a few other USB memory sticks that are correctly automounted!</p><p>There is a whole lot of info when I run sudo dmesg, but the tail end of it with the latest insertion of the disk gives this:</p><div class="codebox"><pre><code>[26546.252910] usb 2-1: new high-speed USB device number 8 using xhci_hcd
[26546.407795] usb 2-1: New USB device found, idVendor=08ec, idProduct=0015, bcdDevice= 2.00
[26546.407806] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[26546.407811] usb 2-1: Product: DT Elite HS 2.0
[26546.407814] usb 2-1: Manufacturer: Kingston
[26546.407817] usb 2-1: SerialNumber: 06F0444082903C42
[26546.410090] usb-storage 2-1:1.0: USB Mass Storage device detected
[26546.410739] scsi host6: usb-storage 2-1:1.0
[26547.429869] scsi 6:0:0:0: Direct-Access     Kingston DT Elite HS 2.0  5.02 PQ: 0 ANSI: 0 CCS
[26547.430424] sd 6:0:0:0: Attached scsi generic sg3 type 0
[26547.485593] sd 6:0:0:0: [sdc] Attached SCSI removable disk
[26548.712696] sd 6:0:0:0: [sdc] 1019391 512-byte logical blocks: (522 MB/498 MiB)
[26548.713155] sdc: detected capacity change from 0 to 521928192
[26548.714934]  sdc: sdc1
[26548.714961] sdc: p1 size 1019340 extends beyond EOD, enabling native capacity
[26548.716060]  sdc: sdc1
[26548.716101] sdc: p1 size 1019340 extends beyond EOD, truncated</code></pre></div><p>But it is seen properly by other PC&#039;s, so what could be wrong? it is formatted as FAT 16 and seen as 512Mb by gparted.<br />Any ideas? Is it due to being FAT16?</p>]]></description>
			<author><![CDATA[dummy@example.com (Mike-thinky)]]></author>
			<pubDate>Tue, 11 Jan 2022 20:38:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33875#p33875</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] USB Memory stick issue]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33873#p33873</link>
			<description><![CDATA[<p>What &quot;refuses to show its files&quot;? Is it the file manager?</p><p>Can you mount the stick manually:</p><div class="codebox"><pre><code>sudo mount /dev/sdXY /mnt
ls /mnt
sudo umount /mnt # wait until this command returns the prompt before removing the stick</code></pre></div><p>Replace <span class="bbc">X</span> &amp; <span class="bbc">Y</span> with the drive letter and partition number for the USB stick (<em>eg</em>, /dev/sdb1). GParted should show this, I think. If not then check <span class="bbc">dmesg</span> just after plugging the stick in.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Tue, 11 Jan 2022 20:08:19 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33873#p33873</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] USB Memory stick issue]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=33871#p33871</link>
			<description><![CDATA[<p>I have Chimera an LXQT installed on a Lenovo W520, and one memory stick refuses to show its files.</p><p>That USB stick has FAT16 filesystem that I can see with GParted, and on other PC&#039;s in the house I can see it does have files on it.</p><p>How would I make it able to see FAT16 partitions?? its an old stick with not a lot of room so FAT16 is ample, would like to make the laptop more capable rather than reformatting. There may be others in the house with FAT16 on.</p>]]></description>
			<author><![CDATA[dummy@example.com (Mike-thinky)]]></author>
			<pubDate>Tue, 11 Jan 2022 18:44:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=33871#p33871</guid>
		</item>
	</channel>
</rss>
