Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » All Things Unix » "Volume is corrupt, run chkdsk" What's the command?!
Uniqs:
17028
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
need to setup new slurpd »
« Make a file system mount stick after reboot?  

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

Re: "Volume is corrupt, run chkdsk" What's the command?!

Try "fsck"

pulp39
Premium
join:2003-01-28
Ottawa, ON

Re: "Volume is corrupt, run chkdsk" What's the command?!

said by nwrickert See Profile :

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:

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

Re: "Volume is corrupt, run chkdsk" What's the command?!

said by jdong See Profile :

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:

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

Re: "Volume is corrupt, run chkdsk" What's the command?!

said by jdong See Profile :

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

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?

pulp39
Premium
join:2003-01-28
Ottawa, ON


3 edits
said by jdong See Profile :

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".

jdong
Eat A Beaver, Save A Tree.
Premium
join:2002-07-09
Rochester, MI
clubs:


1 edit
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

Re: "Volume is corrupt, run chkdsk" What's the command?!

Thanks jdong! Okay, I will wait for more replies before going ahead....

pulp39
Premium
join:2003-01-28
Ottawa, ON

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:

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

Re: "Volume is corrupt, run chkdsk" What's the command?!

said by jdong See Profile :

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:

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

jdong
Eat A Beaver, Save A Tree.
Premium
join:2002-07-09
Rochester, MI
clubs:

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

Re: "Volume is corrupt, run chkdsk" What's the command?!

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:

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

Re: "Volume is corrupt, run chkdsk" What's the command?!

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

Re: "Volume is corrupt, run chkdsk" What's the command?!


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!"

pulp39
Premium
join:2003-01-28
Ottawa, ON


4 edits

Re: "Volume is corrupt, run chkdsk" What's the command?!

said by antiserious See Profile :


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.
I'm a doh_nut:

1. It was actually chkdsk /R that did the trick. chkdsk did nothing I could notice...

2. I don't get it, how do I put a command prompt onto a blank CD? Are you really talking about the 3.5 inch floppy drive? Haven't seen a floppy diskette in a decade. LOL

3. "Dual booting", what do you mean? Because I went to boot from CD ROM with XP Home to fix my issue or because you think I have 2 hard drives? I only have one hard drive, I think, and Dell takes part of it for Dell stuff. Maybe it is 2 hard drives because of the Linux hda1 and hda2 showing up. HDA1 was the Dell part, less than a Gig I think, hda2 is 190 GIG.

pulp "clueless in Carp but I can get cookin' wit fire!" 42

antiserious
The Future ain't what it used to be
Premium
join:2001-12-12
Scranton, PA

Re: "Volume is corrupt, run chkdsk" What's the command?!

Didn't intend to add to your confusion.

said by pulp39 See Profile :

1. It was actually chkdsk /R that did the trick. chkdsk did nothing I could notice...

What program did you think ran when you executed 'chkdsk /R' ?

said by pulp39 See Profile :

2. I don't get it, how do I put a command prompt onto a blank CD? Are you really talking about the 3.5 inch floppy drive? Haven't seen a floppy diskette in a decade. LOL

Yes, I was talking about an actual, bootable floppy.
"When you choose to make a floppy bootable in the format process, only the essential core DOS system files (io.sys, msdos.sys, command.com) are copied to the floppy. Because chkdsk is a separate, "external" program, you have to copy chkdsk.exe to the floppy after you format it."

I believe you can also make a boot cd with chkdsk, you may want to google some pages to learn more, or wait until someone else explains it better

said by pulp39 See Profile :

3. "Dual booting", what do you mean? Because I went to boot from CD ROM with XP Home to fix my issue or because you think I have 2 hard drives? I only have one hard drive, I think, and Dell takes part of it for Dell stuff. Maybe it is 2 hard drives because of the Linux hda1 and hda2 showing up. HDA1 was the Dell part, less than a Gig I think, hda2 is 190 GIG.


When I said 'dual-booting' I thought you also had Linux installed somewhere. If your only exposure to Linux is the Knoppix disk, sorry for the confusion.

There's also:

»www.nu2.nu/pebuilder/
»pcworld.about.com/magazine/2111p···2479.htm
--
Bart - "This is the worst day of my life!"
Homer - "The worst day of your life so far!"

pulp39
Premium
join:2003-01-28
Ottawa, ON


4 edits

Re: "Volume is corrupt, run chkdsk" What's the command?!

Thanks antiserious! I have some reading to do...

Hmmmmm.... type in chkdsk /R and save to floppy for future boot up use.... high weirdness but sweet indeed!

Yes, I used a secondary PC to dl Knoppix and changed the BIOS in my screwed up PC to boot via CD ROM. It was extreme coolness seeing a full OS and instant internet connectivity from a CD, Linux rocks!

pulp "hittin' the books" 42

nwrickert
sand groper
Premium,MVM
join:2004-09-04
Geneva, IL
·AT&T U-Verse
·AT&T Midwest

When you choose to make a floppy bootable in the format process, only the essential core DOS system files (io.sys, msdos.sys, command.com) are copied to the floppy.
If he is using NTFS, then how is a DOS boot disk going to help? Or is that a DOS version around that groks NTFS?

antiserious
The Future ain't what it used to be
Premium
join:2001-12-12
Scranton, PA

Re: "Volume is corrupt, run chkdsk" What's the command?!



If he is using NTFS, and formats a bootable floppy from his XP install, then adds chkdsk, are you saying it will not work? I'm not in Windows now to check precise file names, I just copied from a guide I found. If they're incorrect I apologize.

--
Bart - "This is the worst day of my life!"
Homer - "The worst day of your life so far!"

pulp39
Premium
join:2003-01-28
Ottawa, ON


4 edits

Re: "Volume is corrupt, run chkdsk" What's the command?!

said by antiserious See Profile :

If he is using NTFS, and formats a bootable floppy from his XP install,
Yes to NTFS.

Could the bootable floppy be on CD, not the 3.5 diskette drive? I have PC's with NO 3.5 drives, just CD/DVD. I thought 3.5's were ole skool!

antiserious
The Future ain't what it used to be
Premium
join:2001-12-12
Scranton, PA

Re: "Volume is corrupt, run chkdsk" What's the command?!

said by pulp39 See Profile :

Could the bootable floppy be on CD, not the 3.5 diskette drive?

After a fashion, yes. Once again, THIS is the best option I'm aware of. I would suggest trying this while you still have the XP disk you borrowed, in case all the files needed aren't already copied to your hard drive.

You might get more replies if you posted this as a separate question in the MS forum.

--
Bart - "This is the worst day of my life!"
Homer - "The worst day of your life so far!"

Maxo
Your tax dollars at work.
Premium,VIP
join:2002-11-04
Tallahassee, FL
clubs:

There is a thing called Windows MXPE that is a bootable version of Windows XP. It has some problems, first of all it's illegal and second it's damn hard to find a copy. I do have a copy and it is as much a life saver in fixing Windows problems of this nature as a Linux live CD is for fixing Linux problems. It's too damn bad that Microsoft doesn't offer it so one can legally purchase it.

jdong
Eat A Beaver, Save A Tree.
Premium
join:2002-07-09
Rochester, MI
clubs:

I think BartPE is also okay for that purpose. But it is a chicken-or-egg problem.

MS's recovery toolset is a bit limited in my opinion, too. From a sysadmin's standpoint, Microsoft has a superb set of tools for every administration task except recovery. It's a shame.
--
UbuntuForums Administrator: try Ubuntu Linux
salahx

join:2001-12-03
Saint Louis, MO

One day, there will be an fsck.ntfs. NTFS development is very much alive but proceeding very, very slowly, due to lack of manpower (1 person does this, part-time) and extreme caution be the author (the last version of Linux NTFS ate filesystems).
Forums » Tech and Talk » OS and Software » All Things Unixneed to setup new slurpd »
« Make a file system mount stick after reboot?  


Saturday, 28-Nov 09:17:24 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [121] Time Warner Cable Fires Broadside At Broadcasters
· [112] New AT&T Ad Campaign Hits Back At Verizon
· [96] Apple Joins AT&T Verizon Snark Fest
· [87] New Bill Takes Aim At Higher Verizon ETFs
· [71] TiVo Sees Record Customer Losses
· [69] In-Flight Internet Headed For Bumpy Landing?
· [68] Verizon CEO: Hulu Will Be Dead Soon
· [62] Thanksgiving Open Thread
· [52] Weekend Open Thread
· [40] EFF Wages War On Fine Print
Most people now reading
· Windows 7 boot manager editing questions [Microsoft Help]
· Why does it take so long? Mail question [General Questions]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· [Future9] Future9 status [VOIP Tech Chat]
· 'The antivirus industry sucks' [Security]
· [Newsgroups] Newzleech down? [Filesharing Software]
· tx AM FM SSB CW - stupid radio technical question - beware - [Wireless Service Providers]
· Is Gear Score now the new requirement to get pug invite? [World of Warcraft]
· IPComms Free DIDs now with sip registration maybe?? [VOIP Tech Chat]
· Nvidia Forceware for Windows XP\2000\03 195.62 [Software]