无法安装/格式化内置硬盘

无法安装/格式化内置硬盘

我一直在尝试使用本指南来安装永久安装的硬盘驱动器来存储媒体:

https://help.ubuntu.com/community/InstallingANewHardDrive

到目前为止我几乎什么也没想出来。

BIOS 检测到硬盘。如果我输入,sudo lshw -C disk我会得到以下信息:

milo@Dante:~$ sudo lshw -C disk *-disk

   description: ATA Disk
   product: KINGSTON SV300S3
   physical id: 0.0.0
   bus info: scsi@2:0.0.0
   logical name: /dev/sda
   version: 520A
   serial: 50026B723C03ED66
   size: 111GiB (120GB)
   capabilities: gpt-1.00 partitioned partitioned:gpt
   configuration: ansiversion=5 guid=8c17e47b-ba42-4724-bc20-cc1cc2f22b83 sectorsize=512   *-cdrom
   description: DVD-RAM writer
   product: DRW-24F1ST   a
   vendor: ASUS
   physical id: 0.0.0
   bus info: scsi@3:0.0.0
   logical name: /dev/cdrom
   logical name: /dev/sr0
   logical name: /media/milo/disk
   version: 1.00
   capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
   configuration: ansiversion=5 mount.fstype=udf mount.options=ro,nosuid,nodev,relatime,uid=1000,gid=1000,umask=77,iocharset=utf8

状态=已安装状态=无磁盘*-磁盘

   description: ATA Disk
   product: WDC WD10EZRX-00L
   vendor: Western Digital
   physical id: 0.0.0
   bus info: scsi@5:0.0.0
   logical name: /dev/sdb
   version: 01.0
   serial: WD-WCC4J2417140
   size: 931GiB (1TB)
   capabilities: partitioned partitioned:dos
   configuration: ansiversion=5 sectorsize=4096 signature=2f65c4e4

因此 ubuntu 检测到驱动器(最后一个)。

我以前sudo fdisk /dev/sdb只创建了一个分区。这似乎没问题,现在重新运行它,驱动器上会显示一个分区。

但是,当我运行此行来格式化驱动器时:sudo mkfs -t fat32 /dev/sdb

我收到此错误:

milo@Dante:~$ sudo mkfs -t fat32 /dev/sdb1

mkfs.fat32:没有此文件或目录

那么现在驱动器已经找不到了吗?

sudo fdisk -l给出如下结果(不包括其他硬盘):

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 81 heads, 63
sectors/track, 382818 cylinders, total 1953525168 sectors Units =
sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512
bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x2f65c4e4

 Device Boot      Start         End      Blocks   Id  System
 /dev/sdb1            2048  1953525167   976761560   83  Linux

我迷路了,有人能帮忙吗?

答案1

sudo mkfs.vfat /dev/sdb1在这种情况下你需要跑步。

相关内容