You are not logged in.

#1 2012-09-24 23:17:16

sinisterz
Member
Registered: 2012-06-07
Posts: 9

Unable to mkfs.ext4 - in use by system

Hi,

I created 3 logical partitions on my laptop using cfdisk and booted the arch dual installer using a usb drive. I then try to

mkfs.ext4 /dev/sda6

which is my / partition and I get the following message

/dev/sda6 is apparently in use by the system; will not make a filesystem here!

Since I booted via USB I don't see how this could be true. Any help would be great! Also I did search but couldn't find anything. This is going to be a dual boot system with windows 7.

Update: I created partitions with both cfdisk and fdisk and it made no difference. Still unable to mkfs.ext4 and even mkswap

Thanks!

Last edited by sinisterz (2012-09-25 00:10:46)

Offline

#2 2012-09-25 00:21:42

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,058

Re: Unable to mkfs.ext4 - in use by system

Did you make sure the partition was NOT mounted before running the command? Also you could try using GParted (various Live CDs available) for creating partitions and formatting.

Last edited by anonymous_user (2012-09-25 00:22:24)

Offline

#3 2012-09-25 00:42:13

sinisterz
Member
Registered: 2012-06-07
Posts: 9

Re: Unable to mkfs.ext4 - in use by system

yes the partition was not mounted. the solution was to use

mdadm --stop /dev/md126 and then again to /dev/md127

for some reason the system thought it was in a raid

Offline

Board footer

Powered by FluxBB