Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a hard drive with the folowing partition table

12Gb Primary Partition (ntfs) 140Gb Extended Partition (ntfs)

I want to install Windows 7 and I need more space for the Primary Partition.

The problem is that when I resize partitons I obtain:

12Gb Primary Partition (ntfs) 110Gb Extended Partition (ntfs) 30Gb Free Space

So I can't allocate the free space to primary partition because the free space is at the end of the disk.

Is there a solution to extend the primary partition as: 42Gb Primary Partition (ntfs) 110Gb Extended Partition (ntfs) without repartitioning the entire disk?

I used partition magic, gparted-live-0.4.6-4 and others with no success. With the Disk Management from Vista I manage to extend primary partition, but made my partitions dinamic.

share|improve this question
1  
Is there a problem if the partitions are dynamic? –  alex Oct 8 '09 at 14:28
    
I don't know :) –  telebog Oct 8 '09 at 14:34
2  
I think* you need to reduce the logical partition inside the extended partition, then use Partition Magic or gparted to move the free space to the beginning of the logical partition. Only then can you use the same tools to make the drive smaller to increase the physical partition. (* disclaimer ... I've done this, but a long time ago) –  user3463 Oct 8 '09 at 14:38
    
I don't know how to move the free space at the beginning of the logical partition. –  telebog Oct 9 '09 at 10:01
add comment

4 Answers 4

up vote 1 down vote accepted

You can be able to resize your ntfs primary partition through Ubuntu live disk or gparted live disk.

  1. Boot from gparted live disk or Ubuntu live disk.If you boot from Ubuntu live disk, then click on Try Ubuntu option on startup.By default, gparted utility would be installed on Ubuntu live disk.Open gparted partition Editor from dash(An alternative to Windows Start Button on Ubuntu).

  2. Let us assume, your partitions would be look like this.

    enter image description here

    Linux disk naming system was completely different from Windows disk naming system.In the above screenshot /dev/sda refers to your first disk.And /dev/sda1,/dev/sda2,.., refers to the partitions present in your first disk.

  3. Assume /dev/sda2 is your ntfs primary partition(Where you're going to install Windows ).IMO you are willing to add 2.73 unallocated space to your /dev/sda2 ntfs partition.I'm going to explain how to add that unallocated space to your /dev/sda2 primary partition with the above screenshot as an example.

  4. To resize your ntfs primary partition, you have to get out of the unallocated space from the extended partition and move that unallocated space just below to your ntfs primary partition.The unallocated space is not present below the extended partition, it's inside the extended partition(take a look at the screenshot clearly).

  5. Right-click on the /dev/sda5 and select Resize/Move option.Now, move the /dev/sda5 partition by click and move the dragger to the extreme right, so that the unallocated space will comes above to the /dev/sda5 partition.

    enter image description here

    Now your partitions will looks like this,

    enter image description here

  6. Now, right-click on that /dev/sda3 extended partition and select Resize/Move option.Shrink it's space, so that the unallocated space present inside the extended partition will comes out of that(just above to the /dev/sda3 extended partition).

    enter image description here

  7. Oh, it comes out of the extended partition.Now you can be able to increase the size of your ntfs primary partition(/dev/sda2)

Note: Make sure that all the partitions are unmounted, before doing the above operations.It takes some time according to the size of your extended partition while moving between the partitions, so be patient.Finally don't forget to take backup of all your important datas.

share|improve this answer
add comment

You need to move the extended partition to the end of the disk so that the the empty space is just after the primary partition.

When you demand the partition manager to extend the primary, it can't automatically move the extended partition. You need to do this manually using your favorite partition manager. This is a very slow operation, so wait patiently.

In addition to the other partition managers that you've tried, you might also look at Paragon Drive Backup 9.0 Free Edition. I haven't actually had the occasion to use it, but its interface looks nice.

share|improve this answer
    
I can't move the extended partition to the end of the disk, i have only resize/move operation (this only resize the partition), i can't find an option that move the extended partition to the end –  telebog Oct 9 '09 at 9:24
    
Then use another partition manager. I think Paragon has a real and easy to use move operation. With other partition managers it might be called "copy". Just try to find an operation that changes the starting sector, and be careful not to overwrite the primary with the extended. –  harrymc Oct 9 '09 at 17:01
add comment

Disclaimer: Like with all partition-altering methods, you should have a backup. I've worked with gparted for over 5 years now and never had a problem. But the possibility to lose everything is omnipresent when altering partitions.

With the gparted Live-CD you should be able to move the second NTFS partition to the end of the harddisk. Let me draw you some art:

: --> First Partition
| --> Second Partition
= --> Free Space

::::::||||||||||||||||||======== --> Now move the last partition to the end
::::::========|||||||||||||||||| --> Now you can allocate the additional space/resize
::::::::::::::||||||||||||||||||
share|improve this answer
    
I can't find an option that move the extended partition to the end, only the resize/move operation is permitted(this only resize the partition). I have 90GB of data on Extended part(140Gb). –  telebog Oct 9 '09 at 9:36
1  
You should be able to Drag the partition inside the Resize/Move dialog. –  Bobby Oct 9 '09 at 10:33
    
Are you trying to move the extended partition or one of the logical partitions inside it? Once you've made the extended (and logical inside) smaller you'll need to move the extended partition, not the logical one. –  PriceChild Apr 14 '11 at 8:42
add comment

But as the original extended partition is quite likely 'the rest of the space on the disk', you will quite likely have to shrinnk that partition before expanding the primary one.

share|improve this answer
add comment

protected by Community Nov 8 '11 at 3:02

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.