5

I used to have Vista installed, but wanted to upgrade to 7. I partitioned my drive, installed 7 on the new partition then copied all my data over from the Vista partition. Then, I went to remove the Vista partition, but now my system won't boot. I used Gparted but it seems like I somehow have a partition inside a partition. I see I have /dev/sda2, then I can flip the triangle open and inside is my Windows 7 partition /dev/sda5. How can I get my Windows 7 partition out of there?

Thanks in advance!

1 Answer 1

9

I think you have a logical partition inside an extended partition.
That is indicated by 'sda5` (a number greater than 4; max primary partitions).

Some references,

  1. What is the difference between “extended” partition and “logical” partition
    at unix.StackExchange.com
  2. Partition / Extended: Logical Drives at SevenForums
  3. Disk Partitioning at Wikipedia

Update on your comment,

Making your Win7 in logical partition move to a primary is not that straight forward :-)
However, if you are fine to delete all logical partitions (seen inside the flipped triangle, as you call it), you can then remove the extended partition itself (note that you will loose your Win7 and any other logical partitions along with their data when you do this). After you do this, you can create a new primary partition of the same size 'sda5' shows now and then install Win7 freshly into that.

This would give you a Win7 primary partition (probably seen as 'sda2' in GParted).

Some other basic facts: You can have at most 4 primary partitions. That is why, your extended partition shows logical partitions starting from 'sda5'. Given your description, I see that you have one primary partition (sda1) with Vista and wish to have another primary partition (sda2) with Win7. If you have further disk-space after these two partitions, you can make another couple (at most) primary partitions or just make an extended partition for many more logical partitions for your data.

1
  • Yes, that is indeed what I have. How can I make the logical partition primary and get rid of the extended partition?
    – Brian515
    Apr 19, 2011 at 15:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .