You are not logged in.

#1 Yesterday 16:53:32

imnotyelan
Member
Registered: Yesterday
Posts: 3

mkfs.ext4 fails: partition is apparently in use by the system

Hello! I’m new to Arch Linux and trying to install it alongside Windows 11.

I created a new GPT partition (/dev/nvme0n1p7, 177.8 GiB), but when I tried to format it using mkfs.ext4, I got this error:

is apparently in use by the system; will not make a filesystem here

lsblk showed the partition, but it had no filesystem.

I’d like to understand why this happened and how to diagnose it safely without affecting my existing Windows partitions.

Any suggestions or explanations would be greatly appreciated. Thank you!

Offline

#2 Yesterday 17:03:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,452

Re: mkfs.ext4 fails: partition is apparently in use by the system

You partitioned it how and with which tool and which exact mkfs invocation did you use? You are certain you passed in the full path including the p7 and the like?

Offline

#3 Yesterday 17:19:07

imnotyelan
Member
Registered: Yesterday
Posts: 3

Re: mkfs.ext4 fails: partition is apparently in use by the system

I created the partition with cfdisk and ran mkfs.ext4 /dev/nvme0n1p7
I’m sure I used the correct full path, including p7. The partition was about 177.8 GiB and showed up in lsblk.

Offline

#4 Yesterday 17:34:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,452

Re: mkfs.ext4 fails: partition is apparently in use by the system

mhm, there are some tools that might automagically make an FS and potentially mount it as well, though I doubt cfdisk to be of that kind. does something show up in a plain "mount" command pertaining to this? Can you share such an lsblk -f and/or fdisk -l or so : https://wiki.archlinux.org/title/List_o … n_services

Offline

#5 Yesterday 17:56:59

imnotyelan
Member
Registered: Yesterday
Posts: 3

Re: mkfs.ext4 fails: partition is apparently in use by the system

thank you! i'll try

Offline

Board footer

Powered by FluxBB