Linux - NewbieThis 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.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.