GNU bug report logs - #24930
Parted fails after reordering of partitions with fdisk

Previous Next

Package: parted;

Reported by: "Hans Peter Würmli" <h.p.wuermli <at> gmail.com>

Date: Sat, 12 Nov 2016 18:03:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Phil Susi <psusi <at> ubuntu.com>
To: Hans Peter Würmli <h.p.wuermli <at> gmail.com>, 24930 <at> debbugs.gnu.org
Subject: bug#24930: Parted fails after reordering of partitions with fdisk
Date: Wed, 19 Apr 2017 09:29:08 -0400
On 11/12/2016 4:55 AM, Hans Peter Würmli wrote:
> 
> My system is Debian testing and kernel version "Linux version 4.7.0-1-
> amd64 (debian-kernel <at> lists.debian.org) (gcc version 5.4.1 20160904
> (Debian 5.4.1-2) ) #1 SMP Debian 4.7.8-1 (2016-10-19)". 
> 
> GNU Parted has version 3.2.
> 
> I reordered partitions to their natural order using fdisk. After
> rebooting and using gparted (or parted) I get an error with
> message "Assertion (metadata_length > 0) at
> ../../../libparted/labels/dos.c:2313 in function
> add_logical_part_metadata() failed".

Finally, a clue as to how people are having this happen.  I have no idea
why fdisk has that option or why anyone would ever use it, but it seems
like that is the culprit for ending up with these goofy partition
tables.  Please provide the output of fdisk -l, as well as dd
if=/dev/sda count=1 | hd.






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

Previous Next


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