You are not logged in.

#1 2023-05-01 17:02:48

UntoldTitan
Member
Registered: 2023-04-24
Posts: 10

[SOLVED] Arch not detecting full size of root partition.

I initially installed Arch onto a 40GB partition, that I intended to dual boot, with windows, but I then decided to give Arch the entire 128GB hard drive, so I resized the main partition using parted, but arch doesn't pick up on the increased disk space. Parted shows that the root partition is 120GB, but df -h says that the / partition is only 40GB still...

How can I make arch resize it's filesystem to take advantage of the increased space?

Last edited by UntoldTitan (2023-05-01 17:26:27)


how did we get here?

Offline

#2 2023-05-01 17:12:08

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,647
Website

Re: [SOLVED] Arch not detecting full size of root partition.

Did you just expand the partition without also expanding the filesystem?


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#3 2023-05-01 17:18:10

UntoldTitan
Member
Registered: 2023-04-24
Posts: 10

Re: [SOLVED] Arch not detecting full size of root partition.

Probably, how do I expand the file system? I just used parted to add more space to the partition.


how did we get here?

Offline

#4 2023-05-01 17:26:13

UntoldTitan
Member
Registered: 2023-04-24
Posts: 10

Re: [SOLVED] Arch not detecting full size of root partition.

Solved it. Theres a tool called resize2fs, all i had to do was run sudo resize2fs /dev/<rootpartition> and then it just fixed it. Cool.


how did we get here?

Offline

Board footer

Powered by FluxBB