Public bug reported:

After resizing a FAT partition with any tool that uses libparted
(parted, gparted) in Bionic, the file system is no longer recognizable
by Microsoft Windows.

This fix has been applied in Cosmic+.
The Debian bug report is:
The patch applied upstream is:

[Test case]
 * Use e.g. gparted to format a USB stick with MBR and a fat32 partition.
 * Verify that it's readable by Windows.
 * Check for correct output similar to this:
# file -s /dev/sdf1
/dev/sdf1: DOS/MBR boot sector, code offset 0x58+2, OEM-ID "mkfs.fat", 
sectors/cluster 16,
Media descriptor 0xf8, sectors/track 32, heads 64, hidden sectors 2048, sectors 
(volumes > 32 MB), FAT (32 bit), sectors/FAT 14864, serial number 0x7a03dea6, 
label: "ASDF       "
 * Resize it to e.g. 1 MB less.
 * Verify that it's no longer readable by Windows.
 * Check for wrong output similar to this:
# file -s /dev/sdf1
/dev/sdf1: DOS/MBR boot sector

[Regression Potential]
Minimal, the patch is an upstream one and already tested in Debian, in the 
Gparted live CD, and in newer Ubuntu releases.

** Affects: parted (Ubuntu)
     Importance: Undecided
         Status: New

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  SRU: fix FAT recognition after resizing

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to