Subject: bug#32666: Assertion (metadata_length > 0) failed

From: "Brian C. Lane" <[email-masked]>
Date: Mon, 15 Oct 2018 09:11:05 -0700

On Mon, Sep 24, 2018 at 08:46:39PM -0600, Kevin Locke wrote:

[snip]

> Model: ATA Samsung SSD 860 (scsi)
> Disk /dev/sdb: 1953525168s
> Sector size (logical/physical): 512B/512B
> Partition Table: msdos
> Disk Flags: 
> 
> Number  Start       End          Size        Type      File system  Flags
>  1      2048s       526335s      524288s     primary
>  2      526336s     788479s      262144s     primary
>  3      788480s     976562174s   975773695s  primary
>  4      976562175s  1953525167s  976962993s  extended               lba
>  5      976562176s  976824318s   262143s     logical
>  6      976824320s  1945136559s  968312240s  logical
> 
> Let me know if there is any other information I can provide.

Was this disk originally created by a current version of parted? The
assertion isn't actually a bug unless it was parted creating it. It's
telling us that the logical partitions haven't been created with enough
space in front of them (2 sectors) for the extended boot record.

eg. Partition 5 there should start at 976562177

-- 
Brian C. Lane (PST8PDT)