Here's your problem:
Device Boot Start End Blocks Id System
/dev/sda2 206848 204812684 102302918+ 7 HPFS/NTFS/exFAT
/dev/sda8 204802048 218081343 6639648 82 Linux swap / Solaris
/dev/sda2's end point is 204,812,684, which is greater than the start point of
/dev/sda8 (204,802,048). In other words, those two partitions overlap. (
/dev/sda3, which is a placeholder for all your logical partitions, also overlaps with
/dev/sda2.) Most libparted-based programs misbehave when presented with such problems. Showing the disk as entirely empty is one common specific misbehavior.
I recommend the following:
- Download and install my FixParts program. (It's part of the
gptfdisk package in many Linux distributions, so it might already be installed.)
- Launch FixParts on the disk.
p in FixParts to view the partition table. Chances are either
/dev/sda8 will be marked as
omitted under the
- Use the
l options, as necessary, to adjust the partitions' status so that
/dev/sda8 is omitted,
/dev/sda2 is primary, and all the other partitions are included as either primary or logical. Note that anything marked as
omitted will be deleted when you save your changes; but FixParts doesn't save changes until you type
w, so you can experiment all you like and type
q to exit without saving your changes if you make a mess of things. The FixParts documentation (on the earlier link) describes how to make these changes in more detail.
- When you've adjusted your partitions as desired, type
w to save your changes. The program will ask for confirmation. Give it.
- Boot into Linux and do a disk check on
/dev/sda2 (which is probably
C: in Windows). Since your Linux swap space overlapped the end of that partition, there's a significant risk that it's been damaged.
You should then be able to proceed with Mint installation. You'll probably want to create a new swap partition, since the preceding procedure deleted your existing swap space. If you've got another current Linux installation, you can edit its
/etc/fstab file to use the new swap partition you create when you install Mint. (Two Linux distributions can share swap space, so long as you don't try to boot one after hibernating the other. If this is likely, having separate swap partitions for each distribution makes sense.)
It's possible to do this with
sfdisk, too, but you'd need to resize the surrounding extended partition (
/dev/sda3), which FixParts does automatically.
Another approach is to find the size of the filesystem within the
/dev/sda2 partition. If the filesystem is smaller than the partition, you could shrink the partition (using
sfdisk) so that it doesn't overlap with
/dev/sda8. I'm pretty sure there's a Linux tool that will give you NTFS size information, but I don't recall offhand which one it is. This approach will work only if the filesystem in
/dev/sda2 is small enough that it ends before