You are not logged in.

#1 2022-11-23 15:42:32

Luxall
Member
Registered: 2022-09-24
Posts: 10

Adding space to my root partition

Hi I need help. My root partition is runing out of space. I deleted everything that i don't needed, but still it's not enough. My question is how can i subtract for example 16Gb from my home partition (File System: ext4 | Mounted from: /dev/sda3) and add it to my root partition (File System: ext4 | Mounted From: /dev/sda2 )?

Last edited by Luxall (2022-11-23 15:42:49)

Offline

#2 2022-11-23 15:47:49

d.ALT
Member
Registered: 2019-05-10
Posts: 363

Re: Adding space to my root partition

Just boot a LiveUSB of GParted and do your stuffs with it.


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#3 2022-11-23 17:22:45

Luxall
Member
Registered: 2022-09-24
Posts: 10

Re: Adding space to my root partition

Thank You, but can you explain me a bit more cause i kinda new (Obliviously) ?

Offline

#4 2022-11-23 21:03:34

seth
Member
Registered: 2012-09-03
Posts: 33,622

Re: Adding space to my root partition

First make a backup of your /home partition
Second make sure you've a proper backup of your home partition.

The problem won't be growing the /root partition, but shrinking the /home partition, because since you need to shrink it rightwards, that involves moving the filesystem (which is gonna take a while, depending on the amount of data on that partition)
You can do this manually, but gparted can abstract this for you and is FAR more reliable if you don't know what you're doing.

https://gparted.org/ is a GUI tool, you can use either their live distro or some other live distro that ships geparted (I'd assume that grml has it)
You can NOT install gparted onto the system that you want to change (arch) and then change it from within.

Ftr (edit: "for the record" - I do NOT suggest you use a manual approach!)
https://wiki.archlinux.org/title/Fdisk# … partitions

Also make sure that you HAVE A BACKUP before you start.

Last edited by seth (2022-11-23 21:04:23)

Offline

Board footer

Powered by FluxBB