Tuesday, May 7, 2024
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 657  / 2 Years ago, mon, october 24, 2022, 12:36:40

So as you can see the unallocated space is right next to my /home partition, my question is, can I just merge them by resizing sd3 (/home partition) with GParted right away? Or do I have to use a Live CD? I got a warning message saying that something might go wrong.



enter image description here


More From » partitioning

 Answers
0

Using a LiveCD is safer. I agree with C.S.Cameron that you should have a backup, because working with filesystems and partitions can destroy data.



Changing the size of a partition is only part of what you need to do in order to make this space usable.



Once you expand the partition to use the unallocated space, you need to resize the filesystem (the ext4 aspect of this) to also include the new space. Fortunately, ext4 can be resized online.



After you've expanded the partition, close gparted and open a terminal.



sudo resize2fs /dev/sda3


This should tell your ext4 partition that it's bigger now, and allow it to use the new space.



For good measure, I'd reboot.


[#25845] Monday, October 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
gerrin

Total Points: 347
Total Questions: 109
Total Answers: 121

Location: Tanzania
Member since Fri, Oct 29, 2021
3 Years ago
;