  pulp39 Premium join:2003-01-28 Ottawa, ON
2 edits | "Volume is corrupt, run chkdsk" What's the command?!
I'm trying to run a checkdisk in Knoppix on my PC but I do not know the command. Can anyone provide it please?
knoppix@Knoppix:~$ ntfsfix /dev/hda1 Mounting volume... Error opening partition device: Permission denied Failed to startup volume: Permission denied FAILED Attempting to correct errors... Error opening partition device: Permission denied FAILED Failed to startup volume: Permission denied Volume is corrupt. You should run chkdsk. knoppix@Knoppix:~$ chkdsk bash: chkdsk: command not found knoppix@Knoppix:~$
Thanks for any help!  |
|
  nwrickert sand groper Premium,MVM join:2004-09-04 Geneva, IL | Try "fsck" |
|
  pulp39 Premium join:2003-01-28 Ottawa, ON
| said by nwrickert :Try "fsck" Groovy, thanks for replying! It's doing it's thing... could hear the HD spinning then it stopped. I presume it's doing it. I have a hda1 and a hda2. Will it do both?
This is what I have so far after typing "fsck":
bash: chkdsk: command not found knoppix@Knoppix:~$ fsck fsck 1.40-WIP (14-Nov-2006) knoppix@Knoppix:~$ |
|
  jdong Eat A Beaver, Save A Tree. Premium join:2002-07-09 Rochester, MI clubs:  
| reply to pulp39 There are no Linux tools for checking NTFS disks ntfsfix's only repairative action is to zero the journal, which should only be attempted in emergencies.
Don't use anything other than Windows to check NTFS.
The errors you are getting are because you are running the command as a regular user rather than root (or sudo) -- UbuntuForums Administrator: try Ubuntu Linux |
|
  pulp39 Premium join:2003-01-28 Ottawa, ON
| said by jdong :The errors you are getting are because you are running the command as a regular user rather than root (or sudo) Damn, I did the "su" enter command to make me root. I followed these instructions:
1. Boot Knoppix 2. Open Shell 3. Type "su" and press enter. (this makes you root) 4. Type "cfdisk" and press enter. 5. You will see all your partitions on your hard disk. They are e.g. hda1 (probably your C:), hda5 (D:) ... Check those where filesystem is NTFS. 6. Write these down! You should then have a list like: hda1, hda5, hda6 7. Exit cfdisk. 8. Now type: "ntfsfix /dev/hda1" and press enter. 9. Do this and replace hda1 with all occurences on your list. 10. Close Knoppix and reboot. Windows will boot up and it might take quite a long time while the screen is black. As long as the bluescreen does not come up, everything is okay. If Windows finally starts okay, you should be done.
»www.retosphere.de/tipsandtrntfsfix /dev/hda1icks/ntfserror.php?menu_id=24& |
|
  jdong Eat A Beaver, Save A Tree. Premium join:2002-07-09 Rochester, MI clubs:  
| reply to pulp39 Why are you trying to use ntfsfix to repair a NTFS drive? It is not desiged for that purpose, despite its name. The only thing it can do is zero the journal, which is just as likely to cause serious data corruption of nonreverted journaling transactions. -- UbuntuForums Administrator: try Ubuntu Linux |
|
  pulp39 Premium join:2003-01-28 Ottawa, ON
| said by jdong :Why are you trying to use ntfsfix to repair a NTFS drive? It is not desiged for that purpose, despite its name. The only thing it can do is zero the journal, which is just as likely to cause serious data corruption of nonreverted journaling transactions. Well, I've talked to people online who have done this very thing, and it worked beautifully....
fsck seems to have stopped, it must take a while eh? I hear nothing and no more enties:
knoppix@Knoppix:~$ chkdsk bash: chkdsk: command not found knoppix@Knoppix:~$ fsck fsck 1.40-WIP (14-Nov-2006) knoppix@Knoppix:~$ |
|
  pulp39 Premium join:2003-01-28 Ottawa, ON
| reply to jdong I did an fsck for each hd:
knoppix@Knoppix:~$ fsck /dev/hda1 fsck 1.40-WIP (14-Nov-2006) dosfsck 2.11, 12 Mar 2005, FAT32, LFN open /dev/hda1:Permission denied knoppix@Knoppix:~$ fsck /dev/hda2 fsck 1.40-WIP (14-Nov-2006) fsck: fsck.ntfs: not found fsck: Error 2 while executing fsck.ntfs for /dev/hda2 knoppix@Knoppix:~$
NOT GOOD! Any other ideas? |
|
  jdong Eat A Beaver, Save A Tree. Premium join:2002-07-09 Rochester, MI clubs:  
1 edit | reply to pulp39 You are not running as root your prompt indicates you're still the Knoppix user.
Don't run fsck on NTFS partitions. It's an undefined action -- fsck will skip over NTFS partitions because there is no fsck tool implemented for NTFS..
chkdsk is a Windows tool. There is no Linux chkdsk command.
Run sudo ntfsfix /dev/hda1 to get your command to work, but as someone who was a Windows veteran long before he used Linux, I'd have to warn you that you can seriously screw up your Windows filesystem doing this, and it should only be attempted if every other possible solution fails.
EDIT: Which is your NTFS drive? Replace hda1 with hda2, as it seems from fsck output that hda2 is NTFS.
-- UbuntuForums Administrator: try Ubuntu Linux |
|
  pulp39 Premium join:2003-01-28 Ottawa, ON
3 edits | reply to jdong said by jdong :Why are you trying to use ntfsfix to repair a NTFS drive? Home XP won't boot. Trying to backdoor repair corrupted drive. I don't have an XP Home copy to do a proper "repair". |
|
  pulp39 Premium join:2003-01-28 Ottawa, ON | reply to jdong Thanks jdong! Okay, I will wait for more replies before going ahead....  |
|
  jdong Eat A Beaver, Save A Tree. Premium join:2002-07-09 Rochester, MI clubs:  
| reply to pulp39 ok, no no no, this is NOT how you fix a won't boot problem. If you would like to elaborate a bit on the issue, I might be able to help you out more. Are you getting error messages of some sort during boot? -- UbuntuForums Administrator: try Ubuntu Linux |
|
  pulp39 Premium join:2003-01-28 Ottawa, ON
| reply to jdong On second thought.... this is driving me nutz. I'm going to give the Forum 10 minutes, then I will do a:
sudo ntfsfix /dev/hda2
Wish me luck!!!! 
|
|
  jdong Eat A Beaver, Save A Tree. Premium join:2002-07-09 Rochester, MI clubs:  
| reply to pulp39 Well, I do wish you luck, but I'm more than willing to be this won't solve 90% of bootup issues. If it works it's mere coincidence and you'll spend a day figuring out what ntfsfix deleted by clearing the log. -- UbuntuForums Administrator: try Ubuntu Linux |
|
  pulp39 Premium join:2003-01-28 Ottawa, ON
| reply to jdong said by jdong :ok, no no no, this is NOT how you fix a won't boot problem. If you would like to elaborate a bit on the issue, I might be able to help you out more. Are you getting error messages of some sort during boot? Blue Screen of Death: "..... Run CHKDSK /F to check for hard drive corruption, and then restart your computer.
**STOP: 0x00000024(0x00190203,0x82FE51C8,0xC0000102,0x00000000)" |
|
  jdong Eat A Beaver, Save A Tree. Premium join:2002-07-09 Rochester, MI clubs:  
| reply to pulp39 No, this will not work. You need a Windows CD's recovery console or another person's Windows machine to put the hard drive into and run chkdsk to fix.
Zeroing the log almost certainly won't help here. That's for when chkdsk sees a corrupted log and refuses to continue checking the disk. Currently it doesn't even look like Windows can even access chkdsk on the drive. -- UbuntuForums Administrator: try Ubuntu Linux |
|
  pulp39 Premium join:2003-01-28 Ottawa, ON | Okay jdong, thanks! I will ask around for a copy of XP Home. That's what I really wanted to do but few people have them. Damn companies don't want to give them when you buy a PC. |
|
  jdong Eat A Beaver, Save A Tree. Premium join:2002-07-09 Rochester, MI clubs:  
| reply to pulp39 Yeah, it's really bad copy that they don't give you any kidn of recovery tools, apart from one that just totally wipes and restores the computer. -- UbuntuForums Administrator: try Ubuntu Linux |
|
  pulp39 Premium join:2003-01-28 Ottawa, ON
1 edit | Just want to say that my issue has been resolved. Thank you jdong for possibly saving my data if I had gone through with the Linux work around....
I got a hold of a copy of XP Home, clicked on R and when it stopped doing it's thing it went to a command prompt. So I typed in chkdsk /r (because /F was not recognized even though instructions I found on the web stated to do a chkdsk /F) and it scanned my HD and fixed whatever it was... took about 2 hours. Everything's just the way it was!  |
|
  antiserious The Future ain't what it used to be Premium join:2001-12-12 Scranton, PA
| Since you don't have your own XP cd, you might want to put chkdsk on a floppy while your system is working, to be prepared if/when this happens again. You can copy it from your install, or from the cd if you still have it, or even download one. I bet it will come in handy again, long as you're dual-booting.
-- Bart - "This is the worst day of my life!" Homer - "The worst day of your life so far!" |
|