You are not logged in.

#1 2025-03-24 15:18:06

mrhooman
Member
Registered: 2024-06-25
Posts: 16
Website

merge root partition with home / make root partition bigger.

I am having this issue with my laptop where the root partition keep filling up forcing me to empty my pacman cache.
I want to merge the root partition with my home partition because I want to install more apps.
They both use ext4.
here is lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
zram0       254:0    0   2.8G  0 disk [SWAP]
nvme0n1     259:0    0 476.9G  0 disk
├─nvme0n1p1 259:1    0     1G  0 part /boot
├─nvme0n1p2 259:2    0    47G  0 part /
└─nvme0n1p3 259:3    0 428.9G  0 part /home


In Soviet Russia, the arch wiki reads you!

Offline

#2 2025-03-24 18:04:13

jonno2002
Member
Registered: 2016-11-21
Posts: 855

Re: merge root partition with home / make root partition bigger.

theres no easy way to merge them, one has to be deleted so the other can be resized, you can either use rsync to backup the whole system to another drive then repartition the drive and copy the system back, or move everything in /home to /home/home and rsync the / to /home then delete / and resize /home, id personally just use the 1st option since you need to backup everything anyway if you value your data, never mess around with partitions without backing up EVER.

Offline

Board footer

Powered by FluxBB