У меня было всего 15 ГБ пространства для Linux, но я хотел иметь больше, поэтому я просто изменил размер одного из моих разделов NTFS с помощью GParted. Но после изменения размера я не могу открыть раздел ни в 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?
Это может сделать это:
sudo ntfsfix /dev/sdxy
изменить xy в приведенном выше, чтобы отразить рассматриваемый раздел, например:
sudo ntfsfix /dev/sdb1
Пример вывода: [ 115]
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.
Загрузитесь с установочного компакт-диска Windows и используйте консоль восстановления, чтобы это исправить.