Reallocate available disk space from end of disk

Hi!
I have the following setup for a dual boot of Windows 11 and Linux Manjaro. I am now running out of space on the root filesystem (home folder is on different, slower drive). I would like to reallocate the 50GB that I’ve taken from Windows and add it to the root filesystem. What would be the most painless way to go?

Disk /dev/nvme0n1: 465,76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: Samsung SSD 980 PRO 500GB               
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: A6C511AC-F4D8-479D-AE10-DF1792397FAA

Device             Start       End   Sectors   Size Type
/dev/nvme0n1p1      2048    206847    204800   100M EFI System
/dev/nvme0n1p2    206848    239615     32768    16M Microsoft reserved
/dev/nvme0n1p3    239616 776747007 776507392 370,3G Microsoft basic data
-> (50 GB of free space here)
/dev/nvme0n1p4 879147008 880195583   1048576   512M EFI System
/dev/nvme0n1p5 880195584 884389887   4194304     2G Linux swap
/dev/nvme0n1p6 884389888 976773134  92383247  44,1G Linux filesystem

Thanks for any help!
Terra

(PS: I could not find a more specific support topic, hope this is alright here)

Just split off one of the bigger directories on your system, e.g. /var. Or you can create multiple partitions out of the free space and split off even more. :arrow_down:

Which filesystem are you using for your root partition?

Which filesystem are you using for your root partition?

Ext4

If I had to do it again I would probably go with @Aragorn 's solution but I messed up my Manjaro doing something else and did a reinstall. That was pretty fast and easy. Now I just got to get my programs back.

1 Like

I would put $HOME your home directory, then you could not format it on reinstall. You will have to mount home in fstab for it to work.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.