1 (edited by Generic1 2010-10-05 14:04:07)

Topic: Gparted expand partition

Hello,

I have the following partitions at my pc. Because the first partition (sda1) is full, I would like to extend it.
What I have done until now (with a live- cd) is, I have reduced sda6, than I have moved the linux-swap partition to the right side.

At this point I have the partitions:

sda1 - a non- partitioned area - linux-swap - sda6.

My question now would be, how can I expand the sda1 partition to the size "sda1 + non- partitioned" area?
So how can I merge the sda1 partition and the non- partitioned together?
If I have selected the sda1- partition and I click "resize/move" than it is not possible to resize "sda1".


Thanks a lot for answers,
All the best,
Generic

partitions

2

Re: Gparted expand partition

You forget to mention any extended partition. /dev/sda6 is a logical partition (numbers 5, 6, ... are logical, in Linux numbering). So, I guess that linux-swap is /dev/sda5, and there is another partition, perhaps something like /dev/sda2 extended, that contains logical partitions.
If the empty space is part of that extended partition, you must resize that extended partition first, to leave the empty space just after the partition you want to grow.

If my guess is wrong, then you could provide the output of the command
fdisk -l -u
(-l is lowercase L) from the command line in the terminal window, and a screenshot of the GParted screen, if possible.

(Moved to the Live Media section)

*** It is highly recommended to backup any important files before doing resize/move operations. ***

3 (edited by Allnsmth 2011-03-01 12:44:52)

Re: Gparted expand partition

First and foremost, backup all the data from the hard drive partitions that you want to expand. Altering the partitions can be risky, be careful and know what you are doing there is no Windows safety option when using this.

4 (edited by Allnsmth 2011-02-22 08:45:17)

Re: Gparted expand partition

Be sure your all data copy when you expand.