You are not logged in.

#1 2021-04-04 02:00:22

Skuzz
Member
Registered: 2021-04-04
Posts: 4

Can't resize my root partition

OK, I'm trying to do a dual boot with windows 10 and since all my HDD memory is used by the root partition i have to resize it to get some free space so i can dual boot. So i did that, but when i booted back to arch, it gave me this "filesystem check error" and says i have to run fsck and repair it manually. I have no idea what to do, i tried searching for topics on this subject but i couldnt find anything about this. Any help would be appreciated

Offline

#2 2021-04-04 02:10:16

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,506
Website

Re: Can't resize my root partition

First, describe exactly how you resized (what commands).  But if you really just need to run fsck manually, well, you just run `fsck` manually:
https://wiki.archlinux.org/index.php/Fs … eractively


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2021-04-04 02:14:25

Skuzz
Member
Registered: 2021-04-04
Posts: 4

Re: Can't resize my root partition

Trilby wrote:

First, describe exactly how you resized (what commands).  But if you really just need to run fsck manually, well, you just run `fsck` manually:
https://wiki.archlinux.org/index.php/Fs … eractively

Hi, I used cfdisk to resize it.

Offline

#4 2021-04-04 06:03:52

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,538

Re: Can't resize my root partition

Did you shrink the FS first?
https://wiki.archlinux.org/index.php/Pa … partitions

You hopefully didn't already grow some other partition into that space and if you did, you hopefully didn't do anything with it, like installing windows.
Cause in that case you probably nuked some data.

Offline

#5 2021-04-04 17:07:28

Skuzz
Member
Registered: 2021-04-04
Posts: 4

Re: Can't resize my root partition

seth wrote:

Did you shrink the FS first?
https://wiki.archlinux.org/index.php/Pa … partitions

You hopefully didn't already grow some other partition into that space and if you did, you hopefully didn't do anything with it, like installing windows.
Cause in that case you probably nuked some data.

Ok, I used resize2fs to shrink my root partition and it worked, but it didnt create any free space that can be used for new partitions. How do I do that?

Offline

#6 2021-04-04 17:24:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,538

Re: Can't resize my root partition

You first shrink the FS, then you shrink the partition.

Offline

#7 2021-04-04 19:19:11

Skuzz
Member
Registered: 2021-04-04
Posts: 4

Re: Can't resize my root partition

seth wrote:

You first shrink the FS, then you shrink the partition.

Oh, I see. Thanks!

Offline

Board footer

Powered by FluxBB