LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 04:39 AM   #1
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian, Archlinux
Posts: 240
Blog Entries: 2

Rep: Reputation: 48
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, 04: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: 22
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, 04: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: 22
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 04:48 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:51 PM
Windows chkdsk deletes files written by Ubuntu on an NTFS partition chekhov_neo Linux - Newbie 6 11-23-2011 10:38 PM
Is there a sort of LINUX chkdsk /f /r for the drives of ntfs-3g ? frenchn00b Linux - Software 3 05-28-2009 11:12 AM
dosfsck vs. chkdsk: any need for chkdsk in a dual boot scenario? shadowsnipes Linux - General 1 01-10-2008 02:19 AM
linux chkdsk for ntfs partition? hedpe Linux - Software 7 01-10-2007 08:19 PM


All times are GMT -5. The time now is 10:47 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration