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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-29-2009, 02:23 AM
|
#1
|
|
LQ Newbie
Registered: Feb 2008
Distribution: Fedroa 10
Posts: 19
Rep:
|
How to check NTFS file system in Linux ??
Hi,
Is there any command in Linux to check NTFS file system; like fsck.vfat?
Regards
|
|
|
|
05-29-2009, 02:41 AM
|
#2
|
|
Senior Member
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,592
Rep: 
|
Now what are you trying to do? A file system check that you perform on ext3 while you have an improper shutdown? And why do you want to do it from linux?
There is an option in fsck though that will allow you to give which FS type you want to check.
fsck -t <FS_type>
|
|
|
|
05-29-2009, 02:55 AM
|
#3
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,220
|
Not NTFS - you need to chkdsk from Windoze.
|
|
|
|
05-29-2009, 03:09 AM
|
#4
|
|
LQ Newbie
Registered: Feb 2008
Distribution: Fedroa 10
Posts: 19
Original Poster
Rep:
|
Quote:
Originally Posted by linuxlover.chaitanya
Now what are you trying to do? A file system check that you perform on ext3 while you have an improper shutdown? And why do you want to do it from linux?
There is an option in fsck though that will allow you to give which FS type you want to check.
fsck -t <FS_type>
|
Actually, I want to check and repair a NTFS file system from Linux; like we do we with fsck.ext3 in case of an improper shutdown.
Sure, I can use chkdsk in windows to do it, but I am interested in knowing a linux way for it.
So far, I have found that fsck -t doesn't deal with NTFS.
|
|
|
|
05-29-2009, 03:42 AM
|
#5
|
|
Senior Member
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,592
Rep: 
|
You can do that using fsck.ntfs. But I have never done this and can not guarantee its usage and if it will repair ntfs partition though this option is available.
|
|
|
1 members found this post helpful.
|
05-29-2009, 10:31 AM
|
#6
|
|
Member
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 280
Rep:
|
One option is a tool like Koppix. Knoppix by default has read only access to NTFS drives, but you can turn on write access using the Captive NTFS tool.
|
|
|
|
05-29-2009, 01:28 PM
|
#7
|
|
Member
Registered: Nov 2008
Posts: 48
Rep:
|
Eep! Wait a sec! Has this NTFS partition got any important data on it? Email, contacts, anything that you'd be annoyed about if it was lost?
If the answer's yes, then try to mount the partition under Linux in read-only mode and get that data off and backed up. THEN start any repairs on it.
Seriously - I've been there before and I know how much swearing is involved when a filesystem gets the sulks.
|
|
|
1 members found this post helpful.
|
08-30-2012, 03:11 AM
|
#8
|
|
LQ Newbie
Registered: Aug 2012
Posts: 1
Rep: 
|
install NTFSProgs:
sudo apt-get install ntfsprogs
Check file system:
sudo ntfsfix /dev/<device name>
|
|
|
|
08-30-2012, 04:59 PM
|
#9
|
|
Guru
Registered: Mar 2008
Posts: 8,526
|
"ntfsfix is a utility that fixes some common NTFS problems. ntfsfix is NOT a Linux version of chkdsk. It only repairs some fundamental NTFS inconsistencies, resets the NTFS journal file and schedules an NTFS consistency check for the first boot into Windows. " http://linux.die.net/man/8/ntfsfix
Windows real install or a live PE should be used to properly fix or check it.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:53 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|