You are not logged in.

#1 2022-12-06 22:19:27

Aleksss
Member
Registered: 2022-12-06
Posts: 7

How do I expand my Arch Linux directory, without reinstalling Arch

So basically, I ran into this problem, where I installed Arch trough archinstall and it for some reason gave me only 20 GB of storage on my 120 GB Hard Drive, and I want to know if there is any way to expand that directory, without just completely reintalling Arch.

Edit: I also already tried resizing it trough the "disks" app, but it's stuck at 20 GB

Last edited by Aleksss (2022-12-06 22:22:35)

Offline

#2 2022-12-06 22:23:08

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: How do I expand my Arch Linux directory, without reinstalling Arch

Which 'directory'?
Are you talking about / or /home?
Your question doesn't make any sense.

Moving to 'Arch Linux Guided Installer'.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2022-12-06 22:24:35

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

Re: How do I expand my Arch Linux directory, without reinstalling Arch

MAKE BACKUP FIRST!!

Use GParted Live

MAKE BACKUP FIRST!!


<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

#4 2022-12-06 22:32:01

Aleksss
Member
Registered: 2022-12-06
Posts: 7

Re: How do I expand my Arch Linux directory, without reinstalling Arch

So, GParted is shpwing me that my / directory is 20 GB (19.50 to be exact. but i dont really think it matters) and my /home directory has 99 GB but whenever I install or update something it just fills up my / firectory and i somehow cant use that 99 GB in my /home. Also, resizing with GParted also doesn't work, it's just kinda capped at 20 GB

Offline

#5 2022-12-06 22:37:22

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

Re: How do I expand my Arch Linux directory, without reinstalling Arch

Aleksss wrote:

Also, resizing with GParted also doesn't work, it's just kinda capped at 20 GB

Firstly reduce the size of /home Partition to free up some space, the reclaim that space into / (Root Partition).


<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

#6 2022-12-06 22:41:11

Aleksss
Member
Registered: 2022-12-06
Posts: 7

Re: How do I expand my Arch Linux directory, without reinstalling Arch

It says "Minimum size: 101624 MiB" and i can't resize it, or change the minimum size for some reason

Offline

#7 2022-12-06 22:44:20

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

Re: How do I expand my Arch Linux directory, without reinstalling Arch

What filesystem did you chose when formatting the partition(s)?


<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

#8 2022-12-06 22:46:21

Aleksss
Member
Registered: 2022-12-06
Posts: 7

Re: How do I expand my Arch Linux directory, without reinstalling Arch

ext4

Offline

#9 2022-12-06 23:03:21

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 27,833
Website

Re: How do I expand my Arch Linux directory, without reinstalling Arch

Aleksss wrote:

... whenever I install or update something it just fills up my / firectory and i somehow cant use that 99 GB in my /home

Yes, because packages are installed systemwide.  A package manager should never touch anything in /home.

Note that 20GB is sufficient for a majority of regular desktop users (which is likely why it might be a default in archinstall).  You may want to look into what's taking up all that space.  If you recently installed and that's filling up, that's most likely indicative of a problem you'll want to solve rather than just buy more time by giving it more space to fill.

There are some use cases that would / should need more than 20GB, but these would be due to specific huge packages (e.g., tensorflow and 0ad are some of the bigger beasts that come to mind).  If you are not aware of any particularly huge optional software that you have installed, then there's like a problem to be found / fixed.

For one data point, while I definitely run a pretty slim system, all of my arch machines only use around 3GB of the root partition.

Last edited by Trilby (2022-12-08 16:40:27)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#10 2022-12-06 23:08:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 18,288

Re: How do I expand my Arch Linux directory, without reinstalling Arch

You need to resize the partitions outside of the running system so you need to start a gparted live disk from USB or so. You cannot do resize operations while the drives/partitions are mounted.

Online

Board footer

Powered by FluxBB