GNU bug report logs - #46539
Assertion (start >= 0) at cs/geom.c:157 in function ped_geometry_set() failed.

Previous Next

Package: parted;

Reported by: Samuel Phan <samuel <at> quoonel.com>

Date: Mon, 15 Feb 2021 19:00:02 UTC

Severity: normal

Full log


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

From: Samuel Phan <samuel <at> quoonel.com>
To: 46539 <at> debbugs.gnu.org
Subject: Assertion (start >= 0) at cs/geom.c:157 in function
 ped_geometry_set() failed.
Date: Mon, 15 Feb 2021 21:35:25 +0100
[Message part 1 (text/plain, inline)]
I managed to fix the issue by using "fdisk" and delete all corrupted
partitions from number 20 to 64.

After that, Parted and GParted worked again:

$ sudo parted /dev/sdb
GNU Parted 3.3
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: ATA KINGSTON SA400S3 (scsi)
Disk /dev/sdb: 240GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name
 Flags
 1      1049kB  17,8MB  16,8MB               Microsoft reserved partition
 msftres
 2      17,8MB  240GB   240GB   ntfs         Basic data partition
 msftdata
 3      240GB   240GB   533MB   ntfs
hidden, diag
-----

And so does "gdisk":

$ sudo gdisk /dev/sdb
GPT fdisk (gdisk) version 1.0.5

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help):
-----

Thanks,
Samuel Phan
[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 122 days ago.

Previous Next


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