我已经格式化(使用GParted)一个外部HDD,因为它是NTFS,但是写入权限被拒绝,然后我尝试了fat32,但文件太小,没有exfat选项,我想要一个密码保护如果插入等时可能。
如果可能的话,我怎样才能让驱动器允许我写入并拥有密码?我的 ext4 进程有什么问题?主扩展 ext4 外置硬盘,全部可见,已安装且可打开但不可写?
我刚刚使用下面的命令尝试过这个,它也没有工作。
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 625141759 625139712 298.1G b W95 FAT32
$ sudo wipefs -a /dev/sdb1
wipefs: error: /dev/sdb1: probing initialisation failed: Device or resource busy
david@david-HP-15-Notebook-PC:~$ sudo wipefs -a /dev/sdb1
/dev/sdb1: 8 bytes were erased at offset 0x00000052 (vfat): 46 41 54 33 32 20 20 20
/dev/sdb1: 1 byte was erased at offset 0x00000000 (vfat): eb
/dev/sdb1: 2 bytes were erased at offset 0x000001fe (vfat): 55 aa
david@david-HP-15-Notebook-PC:~$ sudo fdisk /dev/sdb1
Welcome to fdisk (util-linux 2.31.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognised partition table.
Created a new DOS disklabel with disk identifier 0x5fd1458f.
Command (m for help): n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p):
Using default response p.
Partition number (1-4, default 1):
First sector (2048-625139711, default 2048):
Last sector, +sectors or +size{K,M,G,T,P} (2048-625139711, default 625139711):
Created a new partition 1 of type 'Linux' and of size 298.1 GiB.
Command (m for help): t
Selected partition 1
Hex code (type L to list all codes): 7
Changed type of partition 'Linux' to 'HPFS/NTFS/exFAT'.
**Command (m for help): w
The partition table has been altered.
Failed to add partition 1 to system: Invalid argument**
The kernel still uses the old partitions. The new table will be used at the next reboot.
Synching disks.
它说 w 是一个无效的参数,那么我该怎么办,这个 exfat 分区选项在 linux mint 上是否不可用?还是命令变了?
现在这个问题与之前使用的命令一起列出 =
$ sudo wipefs -a /dev/sdb1
wipefs: /dev/sdb1: ignoring nested "dos" partition table on non-whole disk device
wipefs: Use the --force option to force erase.
我现在输入的内容来自一个网站。
(exfat 显然适合在多个系统上使用,因此是首选,ntfs 已经在 gparted 上,ext4 是最后一个选项)除非我不知道 exfat 的其他问题?或者这在linux中不可行?