无法在Arch Linux安装中格式化根分区,因为已经标记了

我在以前的Windows机器上安装Arch Linux。 我已经创build了分区,在sda1上的根,现在我正在尝试使用mkfs.ext4 /dev/sda1格式化它,但它不喜欢。 显然这个分区已经有一个标签“RECOVERY”,并且该命令不会执行错误: /dev/sda1 is apparently in use by the system; will not make a filesystem here! /dev/sda1 is apparently in use by the system; will not make a filesystem here! 。 发生了什么事情,我该怎么办才能解决这个问题?

它几乎可以肯定地安装,可能由FUSE作为你正在使用的graphics文件pipe理器(如nautilus )的一部分。

您可以通过mount命令查看mount 。 不需要参数。 您可能会在该列表中findsda1以及其挂载点。 使用umount /path/to/mount/point释放它,然后随意使用mkfs.ext4 /dev/sda1命令将其粉碎。

您也可能看到包含Arch安装程序的块设备。 确保在查看mount命令时不会这样做。 如果将/dev/sda1挂载到//boot类的东西,那不是你正在寻找的磁盘。