无法挂载 sda1:“设备‘/dev/sda1’似乎没有有效的 NTFS。”

Not*_*ied 7 linux dual-boot mount ntfs

我已经在 Windows 7 旁边安装了 Ubuntu。当我尝试挂载 Windows 部分的 /mnt/sda1 时,我出错了;“设备‘/dev/sda1’似乎没有有效的 NTFS。”

NTFS signature is missing.
Failed to mount '/dev/sda1': Invalid argument

The device '/dev/sda1' doesn't seem to have a valid NTFS.

Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Run Code Online (Sandbox Code Playgroud)

这是我命令 fdisk -l 时的结果;

Disk /dev/sda: 298,1 GiB, 320072933376 bytes, 625142448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x29af3b15
Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1            2048 546911727 546909680 260,8G  7 HPFS/NTFS/exFAT
/dev/sda2       546912254 625141759  78229506  37,3G  5 Extended
/dev/sda5  *    546912256 625141759  78229504  37,3G 83 Linux
Run Code Online (Sandbox Code Playgroud)

GAD*_*D3R 8

要在执行之前获取有关可引导 Windows 分区的确切信息 ntfsfix:

sudo file -s /dev/sda1
Run Code Online (Sandbox Code Playgroud)

然后使用ntfsfix来解决这个问题:

sudo ntfsfix /dev/sda1
Run Code Online (Sandbox Code Playgroud)

最后挂载你的分区。

  • 我认为在没有首先验证它实际上是正确的分区并且它实际上是应该在那里的 NTFS 的情况下推荐“运行这个会干扰你的文件系统的实用程序”是一个坏主意......如果它实际上是一个 FAT 文件系统怎么办( EFI 常见,尤其是作为第一个分区)或 ext4?它很容易让人们无法启动系统或丢失数据。 (16认同)