Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1247  / 1 Year ago, thu, may 4, 2023, 10:52:59

My cryptswap is now 4gb. I upgraded my RAM and I'd like to increase the swap accordingly to approx 8GB.



So far, I've reduced the size of my main sda1 partition with GParted by 4gb and I'm left with 4gb of unallocated space.



enter image description here



Next, I wanted to increase the swapsize of sda2 but GParted returns this error:




GParted 0.12.1 --enable-libparted-dmraid



Libparted 2.3



Move /dev/sda2 to the left and grow it from 3.88 GiB to 7.79 GiB 00:00:01 ( ERROR )



calibrate /dev/sda2 00:00:00 ( SUCCESS )



path: /dev/sda2
start: 616,994,814
end: 625,141,759
size 8,146,946 (3.88 GiB)
move partition to the left and grow it from 3.88 GiB to 7.79 GiB 00:00:00 ( ERROR )



old start: 616,994,814
old end:
old size: 8,146,946 (3.88 GiB)
requested start: 608,800,768
requested end: 625,139,711
requested size: 16,338,944 (7.79 GiB)
libparted messages ( INFO )



Unable to satisfy all constraints on the partition.
Can't have overlapping partitions.




I don't understand the statement




Can't have overlapping partitions.




The partitions do not overlap.



The output of swapon -s returns



/dev/mapper/cryptswap1                  partition   4073468 0   -1


I guess the issue I encountered with GParted is related to cryptswap?


More From » gparted

 Answers
2

I believe that you have encountered the following problem:



Bug 678831 - Partition End Overlap when Resizing Extended Partition



This bug was fixed in GParted 0.13.0.



Since many problems have been fixed since the 0.12.1 release of GParted, would you be able to try the latest release (currently 0.16.1)?



An easy way to do this is by booting from media containing GParted Live.



Curtis


[#29574] Thursday, May 4, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
leadprogres

Total Points: 298
Total Questions: 114
Total Answers: 139

Location: Samoa
Member since Mon, Nov 8, 2021
3 Years ago
leadprogres questions
Thu, Oct 27, 22, 14:52, 2 Years ago
Thu, Nov 25, 21, 11:01, 3 Years ago
;