I use a GPT partition table for a a TB disk. The first partition scheme was AFAIR:
1 20 GiB ext4 (used as Root fs)
2 20 GiB unused
3 20 GiB unused
4 4 GiB linux-swap
5 20 GiB unused
6 Rest up to1 TiB ext4 (mounted as /home)
to create a needed Bios partition, I removed ("rm") partition 4, created a new one with size 1 MiB and then wanted to re-create a swap partition with 4 GiB - 1MiB size. The re-creation of the swap partition failed with the error message
Error: Can't have overlapping partitions.
From then on, all parted command fail with this error message and I cant recover from it:
LANG=C parted /dev/sda print unit s print unit chs print
Error: Can't have overlapping partitions.
Parted is version "parted (GNU parted) 1.8.8.1.159-1e0e", from kubuntu 9.10.