如何格式化或分区只读 USB 驱动器?

如何格式化或分区只读 USB 驱动器?

每当我尝试格式化我的 Sandisk Cruzer Glide 16GB 时,我都会在 Gparted 上收到此错误消息。

GParted 0.11.0 --enable-libparted-dmraid

Libparted 2.3

Create Primary Partition #1 (ntfs, 14.42 GiB) on /dev/sdc  00:00:00    ( ERROR )

create empty partition  00:00:00    ( ERROR )
libparted messages    ( INFO )

Unable to open /dev/sdc read-write (Read-only file system). /dev/sdc has been opened read-only.
Unable to open /dev/sdc read-write (Read-only file system). /dev/sdc has been opened read-only.
Unable to open /dev/sdc read-write (Read-only file system). /dev/sdc has been opened read-only.
Can't write to /dev/sdc, because it is opened read-only.
Unable to open /dev/sdc read-write (Read-only file system). /dev/sdc has been opened read-only.

========================================

如何禁用/删除只读文件系统?我的 USB 是否已损坏?

答案1

我遇到了同样的问题。我的情况是,它被格式化为 Ubuntu Live CD。并且没有列出 USB 本身的挂载点/etc/mtab,而是列出了 USB 内的 Live-Folder。因此,无法卸载 USB 驱动器本身。我的解决方案是使用以下命令删除 USB 的挂载点

$ sudo rm -rf /media/<name of drive>

这与卸载 USB 具有相同的效果,并且我能够使用 gparted 执行进一步的步骤(格式化等)。

相关内容