调整大小后无法挂载 NTFS 分区 - “无法读取最后一个扇区”

sam*_*sam 4 mount gparted ntfs

我只有 15 GB 的 Linux 空间,但我想要更多,所以我只是使用 GParted 调整了我的一个 NTFS 分区的大小。但是在调整大小后,我无法在 Ubuntu 10.10 和 Windows 7 中打开分区。

我收到此错误消息:

Error mounting: mount exited with exit code 12: Failed to read last sector (395458824): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
   or it was not setup correctly (e.g. by not using mdadm --build ...),
   or a wrong device is tried to be mounted,
   or the partition table is corrupt (partition is smaller than NTFS),
   or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/sda5': Invalid argument
The device '/dev/sda5' 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)

Rob*_*ans 5

这可能会做到:

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

更改上面的xy以反映有问题的分区,例如:

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

示例输出:

ubuntu@ubuntu:~$ sudo ntfsfix /dev/sdb1
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... FIXED
NTFS volume version is 3.1.
NTFS partition /dev/sdb1 was processed successfully.
Run Code Online (Sandbox Code Playgroud)