Use apt-get from the terminal to install the ntfsprogs package - sudo apt-get install ntfsprogs
Then you can use the tool ntfsfix from the terminal to attempt to repair a ntfs partition.
Example:
* unmount the drive if it's mounted already
sudo umount /dev/sda1 - read below for device naming info
then type: sudo ntfsfix /dev/sda1
Note:
A typical home pc or laptop has 2 or 4 IDE channels as follows:
- ide0 = primary
- ide1 = secondary
- ide2 = tertiary
- ide3 = quaternary
For example:
- ide0 = primary master = hda
- ide1 = primary slave = hdb
- ide2 = secondary master = hdc
- ide3 = secondary slave = hdd
- sata0 = 1st sata device = sda
- sata1 = 2nd sata device = sdb
and so on...
SCSI & SATA devices are listed as devices sda, sdb, sdc, sdd, sde, sdf, etc. in the /dev directory. Similarly, partitions on these disks can
range from 1 to 16 and are also in the /dev directory.
Now each hard drive has 4 primary partitions (limit of PC x86
architecture). First partition is denoted by number 1. For example:
- First partition : /dev/hda1
- Second partition : /dev/hda2
- Third partition : /dev/hda3
- Fourth partition : /dev/hda4
- sata0 device, 1st partition: /dev/sda1
- sata1 device, 1st partition: /dev/sdb1
And so on.
You can run command
fdisk -l (lowercase L) to display a list of partitions:
WARNING! These examples may result in data loss. Use fdisk command with
caution as it can manipulate / overwrite your partition table.
×