Is there a hard disk utility which can format(NTFS) &repair a HDD which has lots of bad sectors like Norton Disk Doctor from Linux ?
-
Try remapping damaged sectors using this script: https://techoverflow.net/blog/2015/01/07/fixing-bad-blocks-on-hdds-using-fixhdd.py/ – user191894 Jan 31 '17 at 16:34
6 Answers
A few others here have already mentioned ntfsprogs
and mkntfs
.
Also in the ntfsprogs
suite is a utility called ntfsfix
. Although the man page emphasizes that it's not a Linux version of chkdsk
, I have successfully used ntfsfix
to bring a non-bootable WinXP root disk back to life.
A convenient place to find ntfsprogs
(and many, many other diagnostic, repair, and rescue tools) is the CD- or USB-bootable System Rescue CD.
![](../../users/profiles/57024.webp)
- 13,019
- 4
- 35
- 45
-
This actually helped me recover my defect NTFS file systems. I had accidentially overwritten the first 512 bytes of it. ntfsfix recovered the file system quickly and easily! – migu Aug 06 '12 at 19:45
A modern hard disk on which you can't read/write from/to certain sectors anymore has consumed all the spare replacement sectors it had available, so it can't be "repaired" really. It's basically as good as dead. Did you check the S.M.A.R.T. status of the disk (with either udisks
or smartctl
)?
In any case, mkntfs
(mkfs.ntfs
is a symlink to that) supposedly does a check for bad sectors by default, if you don't use any of the -f, --fast, -Q or --quick options.
![](../../users/profiles/51790.webp)
- 400
- 2
- 5
The ntfsprogs
package on linux has a disk formating utility called mkfs.ntfs
. I don't know how well it handles detection and blocking of bad sectors, but it's worth trying.
![](../../users/profiles/40193.webp)
- 11,583
- 4
- 35
- 49
In Debian, there is a package called scrounge-ntfs, which claim to be a data recovery program for NTFS filesystems. I have not tried it yet because I do not have any corrupted NTFS filesystem.
Anyway, it would be safer to make a disk image of the disk with bad sectors and recover your files from that disk image instead of directly from the disk.
![](../../users/profiles/57318.webp)
- 682
- 3
- 16
If you attach the (corrupt) hard disk to a virtual windows box then you can use windows' own chkdsk.exe on it, etc. ref: http://www.howtoforge.com/ntfs-disk-recovery
![](../../users/profiles/27813.webp)
- 575
- 2
- 8
- 22