Mailinglist Archive: opensuse-factory (914 mails)

< Previous Next >
Re: [opensuse-factory] Can't mount fat32 USB sticks anymore
  • From: Pierre de Villemereuil <flyos@xxxxxxxxxx>
  • Date: Sun, 25 Jun 2017 20:33:55 +1200
  • Message-id: <1802851.yYiIFW2r1Y@flyosflip>
As per my last e-mail, I managed to make it work by wiping the USB stick using
dd and /dev/zero as input (brutal, but efficient). On the second USB stick, dd
actually had an issue, stopped very quickly, but that somehow fixed the issue

Interestingly, fdisk was analysing the USB sticks "properly" the whole time
(i.e. it was seeing FAT32 partitions).

Let's just say this was a gigantic mess, though I'm still wondering about which
update made it apparent while the system bared with it before. I guess we'll
never know.

Thanks so much for you help, guys!


Le dimanche 25 juin 2017, 19:51:48 NZST Christian Boltz a écrit :

Am Sonntag, 25. Juni 2017, 02:55:26 CEST schrieb Pierre de Villemereuil:
If it helps, Gparted recognise the partition of the USB sticks not
working as "iso9660" (I'm positive they're in fat32 and they are
recognised as fat32 on the other laptop), while the USB stick that is
working is actually recognised as a fat32.

That might explain it.

What Gparted sees is the partition type byte as stored in the partition
table. You wrote that the sticks were used as live installers before, so
it's likely that the partition type was indeed set to iso9660 [1].

The file system inside the partition is something completely unrelated,
even if it would be nice if it matches the partition type. (Think of the
difference between file name extensions and what the file command tells
you about a file.)

I woldn't be surprised if changing the partition type with fdisk or
Gparted would be enough to solve your problem ;-)

To do this with fdisk:

fdisk /dev/sdx # obviously use the correct device of the stick
type "m" for the manual (optional if you trust me ;-)
type "p" to display the partition list
type "t" for changing a partition type
type "1" for the first partition, "2" for the second etc.
type "b" to change the partition to "W95 FAT32"
type "w" to write the changes to the stick

In theory, this shouldn't do any damage to your data - but as always,
having a backup is a good idea ;-)

To change the name of the stick, the "fatlabel" command might help


Christian Boltz

[1] AFAIK there isn't a partition type specific to iso9660. Looking at a
stick with the Leap 42.2 installer, I see

Device Boot Start End Sectors Size Id Type
/dev/sdc1 4084 11643 7560 3.7M ef EFI (FAT-12/16/32)
/dev/sdc2 * 11644 8562687 8551044 4.1G 17 Hidden HPFS/NTFS

it's possible that the K might have been inspired with Q from 'Qt'
(and was expanded to 'Kool', because all acronyms are made by letting
a cat walk on the keyboard/other random method first and then figuring
what words match to the letters :-) )
[Łukasz "Cyber Killer" Korpalski in opensuse-project]

To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups