I had similar, before 4Weeks, in ubuntu 16.04 beta.
Assertion (metadata_length > 0) at ../../../libparted/labels/dos.c:2313 in function add_logical_part_metadata() failed.
---- libparted : 3.2 ====================== Backtrace has 15 calls on stack: 15: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44) [0x7f23bb7fdea4] 14: /lib/x86_64-linux-gnu/libparted.so.2(+0x1e45f) [0x7f23bb81145f] 13: /lib/x86_64-linux-gnu/libparted.so.2(+0xf8ba) [0x7f23bb8028ba] 12: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x25f) [0x7f23bb8031af] 11: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dd4f) [0x7f23bb810d4f] 10: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dde0) [0x7f23bb810de0] 9: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dd89) [0x7f23bb810d89] 8: /lib/x86_64-linux-gnu/libparted.so.2(+0x1ed75) [0x7f23bb811d75] 7: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) [0x7f23bb802dd8] 6: /usr/sbin/gpartedbin() [0x466c0e] 5: /usr/sbin/gpartedbin() [0x47555e] 4: /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1(+0x4e67d) [0x7f23bcd0e67d] 3: /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x70b45) [0x7f23bbcc6b45] 2: /lib/x86_64-linux-gnu/libpthread.so.0(+0x76fa) [0x7f23bab376fa] 1: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f23ba86d2dd] Assertion (metadata_length > 0) at ../../../libparted/labels/dos.c:2313 in function add_logical_part_metadata() failed. Aborted (core dumped)
---- $ sudo fdisk -l /dev/sda Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x50632122
Device Boot Start End Sectors Size Id Type /dev/sda1 * 14336 209728574 209714239 100G 7 HPFS/NTFS/exFAT /dev/sda2 209729536 250689535 40960000 19.5G 3 XENIX usr /dev/sda3 250689536 291650473 40960938 19.5G 3 XENIX usr /dev/sda4 291651583 500100343 208448761 99.4G f W95 Ext'd (LBA) /dev/sda5 291651646 332625887 40974242 19.6G 83 Linux /dev/sda6 332625888 353108699 20482812 9.8G 7 HPFS/NTFS/exFAT /dev/sda7 353112064 500100343 146988280 70.1G 83 Linux
I had similar, before 4Weeks, in ubuntu 16.04 beta.
Assertion (metadata_length > 0) at ../../. ./libparted/ labels/ dos.c:2313 in function add_logical_ part_metadata( ) failed.
---- ======= ======= = 64-linux- gnu/libparted. so.2(ped_ assert+ 0x44) [0x7f23bb7fdea4] 64-linux- gnu/libparted. so.2(+0x1e45f) [0x7f23bb81145f] 64-linux- gnu/libparted. so.2(+0xf8ba) [0x7f23bb8028ba] 64-linux- gnu/libparted. so.2(ped_ disk_add_ partition+ 0x25f) [0x7f23bb8031af] 64-linux- gnu/libparted. so.2(+0x1dd4f) [0x7f23bb810d4f] 64-linux- gnu/libparted. so.2(+0x1dde0) [0x7f23bb810de0] 64-linux- gnu/libparted. so.2(+0x1dd89) [0x7f23bb810d89] 64-linux- gnu/libparted. so.2(+0x1ed75) [0x7f23bb811d75] 64-linux- gnu/libparted. so.2(ped_ disk_new+ 0x48) [0x7f23bb802dd8] gpartedbin( ) [0x466c0e] gpartedbin( ) [0x47555e] x86_64- linux-gnu/ libglibmm- 2.4.so. 1(+0x4e67d) [0x7f23bcd0e67d] 64-linux- gnu/libglib- 2.0.so. 0(+0x70b45) [0x7f23bbcc6b45] 64-linux- gnu/libpthread. so.0(+0x76fa) [0x7f23bab376fa] 64-linux- gnu/libc. so.6(clone+ 0x6d) [0x7f23ba86d2dd] ./libparted/ labels/ dos.c:2313 in function add_logical_ part_metadata( ) failed.
libparted : 3.2
=======
Backtrace has 15 calls on stack:
15: /lib/x86_
14: /lib/x86_
13: /lib/x86_
12: /lib/x86_
11: /lib/x86_
10: /lib/x86_
9: /lib/x86_
8: /lib/x86_
7: /lib/x86_
6: /usr/sbin/
5: /usr/sbin/
4: /usr/lib/
3: /lib/x86_
2: /lib/x86_
1: /lib/x86_
Assertion (metadata_length > 0) at ../../.
Aborted (core dumped)
----
$ sudo fdisk -l /dev/sda
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x50632122
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 14336 209728574 209714239 100G 7 HPFS/NTFS/exFAT
/dev/sda2 209729536 250689535 40960000 19.5G 3 XENIX usr
/dev/sda3 250689536 291650473 40960938 19.5G 3 XENIX usr
/dev/sda4 291651583 500100343 208448761 99.4G f W95 Ext'd (LBA)
/dev/sda5 291651646 332625887 40974242 19.6G 83 Linux
/dev/sda6 332625888 353108699 20482812 9.8G 7 HPFS/NTFS/exFAT
/dev/sda7 353112064 500100343 146988280 70.1G 83 Linux