Yes, you can use a Linux boot CD to repair a Windows NTFS disk fault. Linux ships with a utility called badblocks. Badblocks is a Linux command in its own right that has several different modes to be able to detect bad sectors on our hard disk. Once found, it saves the references to these bad sectors in a text file so we can tell the operating system to avoid storing data on them.
For the explanation below though, I'll be using the fsck command. Why's that? Well fsck is a really powerful command that actually runs those relatively complicated badblocks commands for you, checking or repairing errors in your filesystem and doing all the leg work for you.
Geek fact - fsck stands for "File System Consistency checK" which you can amaze your friends down the pub with. Or not...
Let's open a terminal window and fire up this bad boy then. You'll need superuser/root permission to run each of these commands so I'll add 'sudo' into them all. I like to start by running the parted command to list my drives:
This should output the installed drives to the screen so you can note down which one you want to work with.
Now let's run fsck on the disk. Please note that this can take several hours depending on the speed of your system, the size and speed of your disk. If no filesystems are specified on the command line, and the -A option is not specified, fsck will default to checking filesystems in /etc/fstab serially.
IMPORTANT - We must unmount the disk first or data corruption may happen. To do this, open a terminal window and type:
Replace "sda1" with the disk you need to repair. Now we can run the fsck command safely against the drive:
This fsck command forces automatic bad block checking and it automatically marks all known bad sectors as bad too.
The switch options I often use are:
-m I use this for safety because if the drive is mounted you won't be able to scan (and corrupt) it this way.
-c Displays completion/progress bars
-f Force a check even if it is clean
-v Verbose, because I like to see words!
If you're booting back into Linux, make sure that smartmontools is installed and enabled:
Enable "SMART" in your BIOS if it isn't already and run an extended offline test with:
To see a nice overall view of system health, type:
Have a look at the relevant manpages for more info:
In my repair shop I only use HDD Regenerator these days. It's a bootable software that can fix errors on all types of disk, formatted in all manner of filesystems as used by Linux, Mac, Windows and more. We have this loaded on our drive test rig and repair hard drives daily with it.
If you want to make it easy and have a USB/CD/DVD bootable tool that will work safely on all the drives it comes up against I'd suggest you look at my hdd regenerator review here or buy it direct from their website here