我检查了lshw
sudo lshw -C disk
*-namespace
description: NVMe namespace
physical id: 1
logical name: /dev/nvme0n1
size: 476GiB (512GB)
capabilities: gpt-1.00 partitioned partitioned:gpt
configuration: guid=1365106e-6114-4a62-8424-b8aeb90e20cb logicalsectorsize=512 sectorsize=512
*-disk
description: SCSI Disk
product: DataTraveler 3.0
vendor: Kingston
physical id: 0.0.0
bus info: scsi@2:0.0.0
logical name: /dev/sda
serial: 0
size: 57GiB (61GB)
capabilities: removable
configuration: ansiversion=6 logicalsectorsize=512 sectorsize=512
*-medium
physical id: 0
logical name: /dev/sda
size: 57GiB (61GB)
lsblk 仅显示
sda 8:0 1 57.6G 0 disk
我尝试安装
sudo mount /dev/sda /mnt/mydrive
mount: /mnt/mydrive: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other error.
如何检查坏选项或坏超级块?
sudo file -sk /dev/sda
/dev/sda: data
Disk /dev/sda: 57.64 GiB, 61872793600 bytes, 120845300 sectors
Disk model: DataTraveler 3.0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
答案1
sda
代表整个磁盘,而我确定您想挂载单个分区。sudo fdisk -l
将显示所有这些。
Linux 完美地允许使用整个磁盘作为分区,但包括 Microsoft Windows 在内的其他操作系统将无法使用它们。