Things You'll Need:
- A second, working computer with a CD burner and Internet access
- A blank CD-RW disc
-
Step 1
CDDownload the latest KNOPPIX LiveCD image and burn it to CD: Browse to http://www.knoppix.org/ and download the latest image file. The file you'll download is an archive image of a CD and will have a .iso file extension. Use a CD/DVD burning application such as Roxio CD Creator or Nero Burning ROM to burn the .iso image to a blank CD. In Nero, simply insert a blank CD-RW disc, select File > Open, browse to the .iso file, and click the "Burn" button. Refer to the Resources section for help with downloading KNOPPIX and burning the CD.
-
Step 2
Setup (pcsupport.about.com)Configure the failed computer to boot from CD/DVD: Your system normally boots from a hard drive, but if Windows won't load, you'll need to boot from the CD to make this fix. Turn the failed system off, then on again. When the prompt for entering the Setup utility appears, press the key specified. Depending on your computer's manufacturer, this might be the F1, F2, DEL, ESC, F10, or F12 key. Once in the Setup utility, navigate to the boot device section and select the CD/DVD drive as the first boot device. Navigation directions are usually provided on each screen. When you're done, save the settings and exit. Some systems will allow you to select a boot device without having to go into the Setup utility and making a permanent change. This is preferred as it eliminates having to go back into Setup to change the boot device back to the hard disk after you've made the fix. Refer to the Resources section for help with booting from a CD.
-
Step 3
KNOPPIX desktopBoot to KNOPPIX: Insert the KNOPPIX CD in the failed computer and reboot. This may require turning the computer off and then on again. The computer should boot from the CD into the KNOPPIX operating system. The screenshot for this step shows the KNOPPIX desktop. A Web browser opens by default. You can minimize or close it to get it out of the way.
-
Step 4
KNOPPIX Terminal Program iconOpen a terminal window: A KNOPPIX shell window is launched by clicking the Terminal Program icon at the bottom of the screen (see screenshot).
-
Step 5
Shell window, switching to rootBecome the root user: To switch users to root, type "su" (with no quotes) in the shell window and press the Enter key (see screenshot).
-
Step 6
cfdisk utilityUse the cfdisk utility to display partitions: In the shell window, type "cfdisk" (with no quotes) and press the Enter key. cfdisk is the Linux partition editor, but you'll use it to only display partitions on the failed computer. The screenshot here shows one partition, hda1. If you have more than one hda listed, write down all the ones listed with NTFS file systems. You'll need this information in the next step. When you've finished making your list, quit the cfdisk utility by pressing the "Q" key.
-
Step 7
ntfsfix utilityUse the ntfsfix utility to fix ntfs.sys: In the shell window, type the command "ntfsfix /dev/hda#" (with no quotes, and where hda# represents each hda on the list you made in the previous step). Repeat this step for each hda/NTFS partition on your list. As depicted in the screenshot, the ntfsfix utility will respond each time with "OK" and "NTFS Partition /dev/hda# was processed successfully" if everything goes well.
-
Step 8
Exit KNOPPIX and remove the CD: Exit the KNOPPIX operating system by right-clicking on the desktop and selecting the "Log Out" option from the menu. When KNOPPIX has shut down, remove the CD and turn the computer off.
-
Step 9
Configure the failed computer to boot from hard disk: As you did in Step 2, enter the Setup utility, but this time configure the system to boot from the hard disk instead of CD/DVD. If you used the temporary boot device provision to boot from a CD only once, this won't be necessary. Although it may take a long time, Windows should boot if the ntfsfix utility was successful. Be patient. As long as a blue screen does not reappear, you've likely made the fix.













Comments
skyking said
on 7/9/2009 Step 6's "cfdisk" command didn't work for me, as I'm using Knoppix version 6. What I typed was "fdisk -l" and that worked (but instead of showing me hda#, it was sda# for me). All of the other steps worked for me, and my computer is working again! Thank you so much!
akipta said
on 5/31/2009 Thank you readers, for pointing out that Knoppix version 6.x doesn't seem to be working with the instructions in this eHow article. I tested 6.x last night and indeed, "the latest version" does not want to play nice. Using 5.x is the key to ensuring all the steps for recovering from ntfs.sys errors with the LiveCD work without a hitch. Fortunately, there are many places to download the older versions. My apologies for the frustration and confusion. I'll look into editing the article to specify a version number. I think I used 5.1.x.
lgwhitlock said
on 5/24/2009 For some reason step 6 list using "cfdisk", but I am getting an error with that. However "fdisk -l" worked fine for me and the rest of the tip worked flawlessly.
lgwhitlock said
on 5/24/2009 I do not know all the technical reasons why 6.0.1 won't allow writing to hard drive partitions but suffice to say you must use 5.x.x in order for this article to work. I got excited when I found this and tried the newer version only to run into problems. Hopefully this will help others having the same issue.
something28 said
on 3/16/2009 I've tried running this as above but am running into a problem. The only drive that is recognized is hda, which is the Knoppix cd. It seems that the other drives (the ones I need to fix) are mounted as directories (e.g. /media/sda1), and as such ntfsfix won't work (it gives an error that the target is a directory). Any suggestions? I'm using version 6.0.1 of Knoppix, is it possible that this is a version change from the Knoppix you were able to get to work?