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: Mon, 26 Jun 2017 22:42:41 +1200
  • Message-id: <23787275.uPAt5U2Gci@flyosflip>
Hi,

No problem for opening a bug for this, but what do you mean by "creating a dump
with a hex editor"? Could you provide me some guidelines to do that or point to
a resource where it is explained?

Thanks!
Pierre

Le lundi 26 juin 2017, 22:06:53 NZST Carlos E. R. a écrit :
On 2017-06-26 05:28, Pierre de Villemereuil wrote:
Hi,

Just to let you know that I could reproduce using the following protocol.

1- Download the Leap ISO, I used the NET install image from:
https://software.opensuse.org/distributions/leap
2- Plug a USB key and copy the ISO on the USB key using:
sudo dd if=/home/pierre/Downloads/openSUSE-Leap-42.2-NET-x86_64.iso
of=/dev/sdc bs=4M status=progress && sync
3- Unplug & Replug (probably not necessary...)
4- Open Gparted, remove partitions on the USB key (don't touch the
partition table!), create a new one in FAT32, put a label of your liking
(say "MYLABEL"). This was a bit brutal and not cautious, but it creates
roughly what you need, a formatted USB stick.

This result in the following different behaviour in Leap and Tumbleweed:
- In Leap, when you plug the USB stick, Plasma reads a USB device named
"MYLABEL" and mount it without problem. Gparted sees it as a FAT32
partitioned device, as does fdisk.
- In Tumbleweed, when you plug the USB stick, Plasma reads a USB device
named "openSUSE-Leap..." and can't mount it. Gparted sees it as a ISO9660
partitioned device, but fdisk sees it as a FAT32 partitioned one.

Perfect! You could write a Bugzilla with that precise information, it is
enough. :-)

If you look at a dump of that USB stick with a hex editor you will see
the ISO label somewhere near the start. Some of the structures of the
ISO were not overwritten by gparted when formatting as FAT. I don't know
if that data is in the first sector (the partition table) or further on.
My guess is further on.


That's all I could think about. I'm keeping the USB stick as is if you want
me to run some more tests (Leap I can do only at work during the day).

Maybe extract a 1 MB dump, verify the above, and attach to the bugzilla.

I see two bugs or problems:

- not clearing of the ISO structures by gparted
- incorrect identification by TW.

--
Cheers / Saludos,

Carlos E. R.
(from 42.2 x86_64 "Malachite" at Telcontar)


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

< Previous Next >
Follow Ups