我在格式化新硬盘时遇到了真正的麻烦,每当我尝试使用 fdisk 创建分区表时,它似乎都没有写入磁盘。例如,请参阅下面的我的命令行摘录。硬盘驱动器本身似乎工作正常,因为我已经在另一个系统中对其进行了测试。
有什么想法我哪里出错了吗?
wave@plex:~$ sudo fdisk /dev/sda
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 recognized partition table.
Created a new DOS disklabel with disk identifier 0x02c7abee.
Command (m for help): p
Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 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
Disklabel type: dos
Disk identifier: 0x73ed82ac
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
wave@plex:~$ sudo fdisk /dev/sda
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 recognized partition table.
Created a new DOS disklabel with disk identifier 0x73ed82ac.
Command (m for help):
答案1
您没有创建分区。如果你是非常确保磁盘不包含任何数据,请尝试该n
命令并回答其问题。