Hello,
  Sorry for delay. Reading the stack trace I see there are 3 entries within "fdisk". Are you using GNU fdisk? If yes, could you please provide informations on what have you done? 

Many thank's!

Christian Brunello.


2017-09-20 15:03 GMT+02:00 Phil Susi <psusi@ubuntu.com>:
On 9/19/2017 8:59 PM, Adam wrote:
> message:  Assertion (metadata_length > 0) at
> ../../../libparted/labels/dos.c:2313 in function
> add_logical_part_metadata() failed.

This indicates that you have a logical dos partition that immediately
follows a previous one, with no gap between for the EBR.