Allocate space to a partition

Hello, good morning, sorry for the inconvenience, but can someone help me?
I am trying to assign free space to my linux partition, but it does not allow me, for some reason it only allows me to do it with my windows partition, do you know what the problem is?



I also tried with the disk manager, and nothing.

image
image
(By the way, I am doing this from the bootable drive)

In order to resize a partion (Expand or reduce from free space), the partition that has the free space must be adjacent to the partition you are resizing. They must be touching - side by side.
If there is another partition between them, sda3, then it blocks access to the free space you are trying to expand into.

1 Like

and how can I make these these partitions are together?

Usually - by reinstalling and setting up the partitions in the preferred sizes and manner.

Sometimes, a user can shuffle partitions around by, for example in your case, expanding sda3 into that free space, then shrinking it to create free space on the adjacent side of sda2. That can be tricky though and can risk file corruption -especially if one of the partitions contains Windows in desperate need of a defrag.

1 Like

Ok, thanks : )

If you have not reinstalled already, you can move partitions to get the free space where you want. This has the potential to cause corrupt or deleted data, but is more than possible as I've done it multiple times over the years.

If you open gparted and highlight (select) sda3, you will see a number in the following box. Copy it, or use the arrow buttons in the space before box and place the number there, make sure following is at 0.

Then you can expand sda2 without issue.

This process shouldn't take too long being the partition is only 100+gb.

Depending on your needs and what you want to save from the current installation, this is a feasible alternative to reinstallation.

I did not know this. Thanks for helping clarify that .

1 Like

This is dependant on where the free space is located and how many partitions are between the one you want to modify and the free space. The more partitions you have to move increases the chance there may be corruption.

With only one partition, it is worth taking the chance. It gets more difficult with incontiguous free space and more partitions. More operations means more time... and it is recommended to move one at a time with reboots between moves. Though it isn't necessarily required, this gives the certainty that the partition tables are updated and saved.

In gparted, each operation will be performed in the order you initiate it, like a macro creator/editor, only applied once you click the check mark. So multiple operations can be chained. When moving a partition, the amount of RAM is paramount, since that is where the data will reside during the move (especially when moving the start of the partition to a new address that is further into the drive (higher in number), occupying a position that already contains data). This is why it is also recommended that no other application be in use while gparted is performing operations. Less chance of restricted RAM or not enough available.

1 Like