Page 1 of 1

GParted merge unallocated space to other partition

Posted: Mon May 20, 2019 6:48 am
by AlaNi
I tried to do resize/move but it is not let me :?

Re: GParted merge unallocated space to other partition

Posted: Mon May 20, 2019 6:50 am
by Moem
You can't make changes to a partition while it's mounted, and sda6 is mounted. So you should use GParted from a live medium (DVD or USB stick), not from the installed system.

Re: GParted merge unallocated space to other partition

Posted: Mon May 20, 2019 7:00 am
by deepakdeshp
Backup your data before you attempt it.
https://www.fosslinux.com/4456/how-to-s ... parted.htm

Re: GParted merge unallocated space to other partition

Posted: Mon May 20, 2019 7:12 am
by gm10
Moem wrote:
Mon May 20, 2019 6:50 am
You can't make changes to a partition while it's mounted, and sda6 is mounted.
Sure you can as long as it's only extending the partition, i.e. moving the right boundary. You can also do it via the pre-installed Disks tool (not a fan of GParted myself).

Re: GParted merge unallocated space to other partition

Posted: Mon May 20, 2019 7:34 am
by Moem
gm10 wrote:
Mon May 20, 2019 7:12 am
Sure you can as long as it's only extending the partition, i.e. moving the right boundary.
Then do you have any theories about why it would not work in this case?

Re: GParted merge unallocated space to other partition

Posted: Mon May 20, 2019 7:41 am
by gm10
Dunno, in the screenshot OP has got the wrong partition selected, so might be as simple as that.

Re: GParted merge unallocated space to other partition

Posted: Mon May 20, 2019 9:20 am
by AlaNi
Thnks guys ,
So the only solution is that i should use GParted from a live medium (DVD or USB stick) :idea: ?

Re: GParted merge unallocated space to other partition

Posted: Mon May 20, 2019 9:36 am
by Moem
That's what I would do, but apparently that is not always necessary.
It could be that you simply selected the wrong partition: not the one you wanted to enlarge, but the empty (unallocated) space next to it. Can you check and see whether that is the case?

Re: GParted merge unallocated space to other partition

Posted: Mon May 20, 2019 9:47 am
by AlaNi
I see that
-/dev/sda6 let me only do ,unmount And resize/move but when i click then 1 operation run but not work
-unallocated let me only "new"

Created this problem because i didn do very well the format..as a result have 135 giga without i can use it :(

Re: GParted merge unallocated space to other partition

Posted: Wed May 22, 2019 8:45 am
by MissileCop
Edit: Oops, just noticed that you have ntfs on a primary partition, and / in the extended partition. As mentioned before you'll need to use gparted from a live dvd/usb, since your Linux build lives within the the extended partition and things need to be unmounted in order to make the change.

------
It's been awhile since I ran into the same/similar problem, so my memory may be foggy on how to solve this.

Because sda6 is inside the extended partition, you would need to make sure to unmount sda6, sda5, and THEN unmount sda2 (your extended partition), if they're not already unmounted. You should then be able to resize sda6 to include the unallocated space.