Okay, so I've figured everything out. After rebooting into the LiveCD again nothing had changed, the outputs from all the commands above were identical. So I decided to use the parted(8) command with its "rescue" function to have it try and find the sda6 partition, and it did. After that, the sda6 entry was fully restored and functional and "sudo parted -l" no longer printed. "Error: Invalid partition table on /dev/sda -- wrong signature 0."
After that, I opened gparted again and continued my repartitioning where I had left off. i.e., I queued up the following: - Move swap to the right. - Shrink extended to fit, creating space on the left. - Grow /dev/sda1 to fill. And it failed in exactly the same way as my original attempt. It got the same error when trying to process sda5. I've attached that log as gparted_details.htm. After that I was in the same state as before: sda6 was gone. But I used the rescue command in parted again and got it back. So then I decided to get creative. I opened gparted again and queue up another command to move sda5, but this time I left the "Round to cylinder" box checked, whereas before I had always unchecked it so as to avoid unused space. And with that checked, the move now worked correctly. I then did the last two steps in a second batch (also with round to cylinders on). Those are attached as gparted_details_success.htm and gparted_details_success2.htm. So it seems that the root problem was moving a swap partition without "round to cylinders". Somehow it caused GParted to corrupt the partition table. ** Attachment added: "gparted_details2.htm" http://launchpadlibrarian.net/32347692/gparted_details2.htm -- GParted destroyed my partition table: "Invalid partition table on /dev/sda -- wrong signature 0." https://bugs.launchpad.net/bugs/434463 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
