LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2012, 03:39 AM   #1
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian, Archlinux
Posts: 262
Blog Entries: 2

Rep: Reputation: 49
ntfs corruption: chkdsk or not?


Linux froze while doing a disk intensive operation on a ntfs partition. Things were messed up. (Tried all the sysrq combo's.)
Normally I'd run Windows' chkdsk, but there are some Linux partitions on the disk as well. What should I do?
I did run chkdsk -f, but not yet a second time, as it reported "unallocated space" on my drive. I have tried searching the forums without results. ddg.gg turned up ntfsfix. I guess that is safer, because it is Linux aware. Should I still run Windows chkdsk?
 
Old 09-29-2012, 03:44 AM   #2
suttiwit
Member
 
Registered: Aug 2012
Location: Chiang Mai, Thailand
Distribution: Kubuntu 12.10 x86_64
Posts: 192
Blog Entries: 2

Rep: Reputation: 23
Have you tried "fsck"? It is chkdsk but for Linux. Also, you should *NEVER* run fsck when the disc is mounted, instead, you should get a live-cd and run it,

So, for example, your linux partition is /dev/sdb1, type this on the command-line:
Code:
fsck /dev/sdb1
It must not be mounted and you have to run fsck as root.
 
Old 09-29-2012, 03:45 AM   #3
suttiwit
Member
 
Registered: Aug 2012
Location: Chiang Mai, Thailand
Distribution: Kubuntu 12.10 x86_64
Posts: 192
Blog Entries: 2

Rep: Reputation: 23
Or if you really have no choice about getting another live-cd just for that, you might want to add the file "forcefsck" to / on your linux OS with:
Code:
touch /forcefsck
on your command-line as root.
After that, reboot.

Last edited by suttiwit; 09-29-2012 at 03:48 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NTFS corruption when backing up dilettante9 Linux - General 5 06-23-2012 10:51 PM
Windows chkdsk deletes files written by Ubuntu on an NTFS partition chekhov_neo Linux - Newbie 6 11-23-2011 09:38 PM
Is there a sort of LINUX chkdsk /f /r for the drives of ntfs-3g ? frenchn00b Linux - Software 3 05-28-2009 10:12 AM
dosfsck vs. chkdsk: any need for chkdsk in a dual boot scenario? shadowsnipes Linux - General 1 01-10-2008 01:19 AM
linux chkdsk for ntfs partition? hedpe Linux - Software 7 01-10-2007 07:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration