1 (edited by thrylosg1 2011-09-06 11:24:43)

Topic: [SOLVED]Resize extended partition

Hello,

I want to increase my ntfs (sda2)partition so i shrank sda3 and now there is unallocated space between them. But i cannot increase the size of sda2

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      206847      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2          206848   104871935    52332544    7  HPFS/NTFS
/dev/sda3       104872381  1465144064   680135842    5  Extended
/dev/sda5       135458816  1379211263   621876224   83  Linux
/dev/sda6      1379212443  1459296255    40041906+  83  Linux
/dev/sda7      1459296468  1465144064     2923798+  82  Linux swap / Solaris

This is how my partitions look now. I used the live cd to do any changes (gparted-live-0.9.0-7.iso) Any ideas? It seems to me i have to remove the unallocated space from sda3 somehow.
Thanks

http://my.primehome.com/ntia/partition.png

2

Re: [SOLVED]Resize extended partition

Since sda2 is a primary partition, the unallocated space must be outside of the extended partition (sda3) in order to be available to sda2. 

Hence all you need to do is resize sda3 so that the unallocated space is right beside sda2.

3

Re: [SOLVED]Resize extended partition

Thanks for the reply. How do i move the unallocated space outside sda3? I didnt find any options in gparted when i tried resizing it.

4

Re: [SOLVED]Resize extended partition

Click on sda3, choose "Resize/Move", click on the left hand side of the partition and drag it towards the right, and then apply the operation.

5

Re: [SOLVED]Resize extended partition

Thanks for the help. The problem was that i was trying to resize sda5 not sda3.

Problem solved.

6

Re: [SOLVED]Resize extended partition

thrylosg, how long did that operation take?