GNU bug report logs - #25251
Bug in GNU Parted - mistakes MBR for a FAT32 partition

Previous Next

Package: parted;

Reported by: Sebastian Audet <smaudet2 <at> gmail.com>

Date: Fri, 23 Dec 2016 00:19:02 UTC

Severity: normal

To reply to this bug, email your comments to 25251 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-parted <at> gnu.org:
bug#25251; Package parted. (Fri, 23 Dec 2016 00:19:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sebastian Audet <smaudet2 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-parted <at> gnu.org. (Fri, 23 Dec 2016 00:19:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sebastian Audet <smaudet2 <at> gmail.com>
To: bug-parted <at> gnu.org
Subject: Bug in GNU Parted - mistakes MBR for a FAT32 partition
Date: Thu, 22 Dec 2016 17:08:13 -0500
[Message part 1 (text/plain, inline)]
I have a FAT32 partition on an MSDOS style disk (its actually an mSata
drive connected through USB for ultimate installation in another hardware
device that must read FAT32 - long story and tertiary to what I've found),
and through much debugging of software, I believe I have found a rather bad
bug in the Parted software.

Using the latest parted 3.2, when opening a device and creating a disk from
said device, the msdos partition table detector will fail if the fat32
partition detector fails to fail. I'm not sure why, but parted thinks my
boot sector (my MBR, the first sector on the disk) looks like a fat32
partition.

I'm fairly sure this is in fact an MSDOS disk, not a fat32 disk, as both my
operating system, and the native operating system intended to read it
believe it is in fact not one giant fat32 disk, but a free space partition,
and a fat32 partition. I was able to resize my partition by commenting out
the fat32 probe checks in the partition table detector. Is there any way we
can get a flag to be able to turn off this extra detection if we're fairly
sure parted is getting things wrong?

Regards,
Sebastian
[Message part 2 (text/html, inline)]

Information forwarded to bug-parted <at> gnu.org:
bug#25251; Package parted. (Tue, 18 Apr 2017 15:26:02 GMT) Full text and rfc822 format available.

Message #8 received at 25251 <at> debbugs.gnu.org (full text, mbox):

From: Phil Susi <psusi <at> ubuntu.com>
To: Sebastian Audet <smaudet2 <at> gmail.com>, 25251 <at> debbugs.gnu.org
Subject: Re: bug#25251: Bug in GNU Parted - mistakes MBR for a FAT32 partition
Date: Tue, 18 Apr 2017 11:27:09 -0400
On 12/22/2016 5:08 PM, Sebastian Audet wrote:
> I have a FAT32 partition on an MSDOS style disk (its actually an mSata
> drive connected through USB for ultimate installation in another hardware
> device that must read FAT32 - long story and tertiary to what I've found),
> and through much debugging of software, I believe I have found a rather bad
> bug in the Parted software.
> 
> Using the latest parted 3.2, when opening a device and creating a disk from
> said device, the msdos partition table detector will fail if the fat32
> partition detector fails to fail. I'm not sure why, but parted thinks my
> boot sector (my MBR, the first sector on the disk) looks like a fat32
> partition.

Can you hd ( hex dump ) the MBR so I can take a look at it?





This bug report was last modified 8 years and 60 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.