[Parted-maintainers] Bug#606168: Parted complains about MBR modified by gptsync

Andrew Buckeridge andrewb at bgc.com.au
Tue Dec 7 00:07:51 UTC 2010


Package: parted
Version: 1.8.8.git.2008.03.24-11.1

disk0label attached is the first 40 blocks (20480 B) of GPT with MBR
modified by gptsync.

$ /sbin/parted -s disk0label print
Warning: Unable to open /home/andrewb/disk0label read-write (Permission
denied).  /home/andrewb/disk0label has been opened read-only. Warning:
Unable to open /home/andrewb/disk0label read-write (Permission
denied).  /home/andrewb/disk0label has been opened read-only. Error:
Can't have the end before the start! Error: Can't have overlapping
partitions. Error: Can't have overlapping partitions. Backtrace has 9
calls on stack: 9: /lib/libparted-1.8.so.10(ped_assert+0xb0) [0xff7ca60]
  8: /lib/libparted-1.8.so.10 [0xffc07a8]
  7: /lib/libparted-1.8.so.10(ped_disk_new+0xc4) [0xff86c44]
  6: /sbin/parted [0x100077f0]
  5: /sbin/parted(command_run+0x1c) [0x1000583c]
  4: /sbin/parted(non_interactive_mode+0xb4) [0x1000d994]
  3: /sbin/parted(main+0x80) [0x1000b910]
  2: /lib/libc.so.6 [0xfd49704]
  1: /lib/libc.so.6 [0xfd498c0]


You found a bug in GNU Parted! Here's what you have to do:

Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:

Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:

	http://ftp.gnu.org/gnu/parted/

Please check this version prior to bug reporting.

If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:

	http://www.gnu.org/software/parted

for further information.

Your report should contain the version of this release (1.8.8)
along with the error message below, the output of

	parted DEVICE unit co print unit s print

and the following history of commands you entered.
Also include any additional information about your setup you
consider important.

Assertion ((PedSector) PED_LE64_TO_CPU (gpt->AlternateLBA) <=
disk->dev->length - 1) at ../../../libparted/labels/gpt.c:828 in
function gpt_read() failed.

Error: Can't have overlapping partitions.

The MBR itself.

$/sbin/sfdisk -d disk0label

WARNING: GPT (GUID Partition Table) detected on 'disk0label'! The util
sfdisk doesn't support GPT. Use GNU Parted.

# partition table of disk0label
unit: sectors

disk0label1 : start=        1, size=   409639, Id=ee
disk0label2 : start=   409640, size=456713104, Id=af
disk0label3 : start=457384888, size=453190728, Id=83, bootable
disk0label4 : start=910575616, size= 32966656, Id=83
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disk0label
Type: application/octet-stream
Size: 20480 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/parted-maintainers/attachments/20101207/930d33c5/attachment-0001.obj>


More information about the Parted-maintainers mailing list