This is the sanity check in cfdisk that's being tripped:

    for (i = 0; i < num_parts && p_info[i].last_sector < first; i++);

    if (i < num_parts && p_info[i].id != FREE_SPACE) {
         if (last < p_info[i].first_sector)
              *errmsg = _("logical partitions not in disk order");
         else if (first + offset <= p_info[i].last_sector &&
                  p_info[i].first_sector + p_info[i].offset <= last)
              *errmsg = _("logical partitions overlap");
         else
              /* the enlarged logical partition starts at the
                 partition table sector that defines it */
              *errmsg = _("enlarged logical partitions overlap");
         return -1;
    }

I must admit that I'm finding this a bit inscrutable. It's either a bug
in libparted or in cfdisk, but I have no idea which. Opening two bug
tasks for that.

** Changed in: parted (Ubuntu)
Sourcepackagename: partman-auto => parted

** Also affects: util-linux (Ubuntu)
   Importance: Undecided
       Status: Unconfirmed

-- 
cfdisk complains about auto-resize generated setup
https://bugs.launchpad.net/bugs/107023
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to