LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-15-2016, 02:05 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 11
Post How can I fix NTFS partition?


Hello.
I want to fix an External HDD with NTFS file format. I did below commands :
Code:
sudo ntfsfix /dev/sdc
Mounting volume... NTFS signature is missing.
FAILED
Attempting to correct errors... NTFS signature is missing.
FAILED
Failed to startup volume: Invalid argument
NTFS signature is missing.
Trying the alternate boot sector
Unrecoverable error
Volume is corrupt. You should run chkdsk.
Code:
sudo ntfs-3g /dev/sdc1 /mnt/usb/
ntfs_mst_post_read_fixup_warn: magic: 0x00000000  size: 4096   usa_ofs: 0  usa_count: 65535: Invalid argument
Index buffer (VCN 0x0) of directory inode 0x5 has a size (24) differing from the directory specified size (4096).
ntfs_mst_post_read_fixup_warn: magic: 0x00000000  size: 4096   usa_ofs: 0  usa_count: 65535: Invalid argument
Index buffer (VCN 0x0) of directory inode 0x5 has a size (24) differing from the directory specified size (4096).
ntfs_mst_post_read_fixup_warn: magic: 0x00000000  size: 4096   usa_ofs: 0  usa_count: 65535: Invalid argument
Index buffer (VCN 0x0) of directory inode 0x5 has a size (24) differing from the directory specified size (4096).
Any idea to solve it?
 
Old 08-15-2016, 02:16 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,970

Rep: Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633
Quote:
Originally Posted by hack3rcon View Post
Volume is corrupt. You should run chkdsk.
Which part of that don't you understand ?.

Is this related to your other thread ?
 
Old 08-15-2016, 02:30 AM   #3
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by syg00 View Post
Which part of that don't you understand ?.

Is this related to your other thread ?
No, It is not.
How can I fix my HDD?
 
Old 08-15-2016, 03:11 AM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,760

Rep: Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278
NTFS is a proprietary file system developed by Microsoft for the Windows operating system. There are no available standard specifications. (All Linux support for NTFS is based on reverse engineering.) This means that it is impossible to write a definitive NTFS file system checker for Linux. You _must_ use the Microsoft CHKDSK program to perform this function.
 
2 members found this post helpful.
Old 08-15-2016, 03:17 AM   #5
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by allend View Post
NTFS is a proprietary file system developed by Microsoft for the Windows operating system. There are no available standard specifications. (All Linux support for NTFS is based on reverse engineering.) This means that it is impossible to write a definitive NTFS file system checker for Linux. You _must_ use the Microsoft CHKDSK program to perform this function.
Thus, Not any hope?
 
Old 08-15-2016, 08:07 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,509

Rep: Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114
Boot your windows system and run chkdsk, read up on the parameters.
If you don't have windows installed, boot your windows install media and run chkdsk.
Borrow a windows CD/DVD and run chkdsk.
 
Old 08-15-2016, 02:46 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,176

Rep: Reputation: 3436Reputation: 3436Reputation: 3436Reputation: 3436Reputation: 3436Reputation: 3436Reputation: 3436Reputation: 3436Reputation: 3436Reputation: 3436Reputation: 3436
You need to have a BartsPE or UBCD4Win cd/dvd/usb for these tasks if you don't have a modern Windows dvd. Even a higher version windows dvd can be used to repair.
 
Old 08-15-2016, 03:33 PM   #8
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 1,888

Rep: Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725
[QUOTE=hack3rcon;5590946]Hello.
I want to fix an External HDD with NTFS file format. I did below commands :
Code:
sudo ntfsfix /dev/sdc
The command you ran was on the device (/dev/sdc), not the filesystem partition.
You might want to retry it as "sudo ntfsfix /dev/sdcX" where X is the partition number for the ntfs partition where you are having problems.
 
Old 08-15-2016, 06:52 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,531

Rep: Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622
from this
Quote:
sudo ntfs-3g /dev/sdc1 /mnt/usb/
is this a usb flash thumb drive ?
 
Old 08-16-2016, 03:57 AM   #10
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
[QUOTE=computersavvy;5591274]
Quote:
Originally Posted by hack3rcon View Post
Hello.
I want to fix an External HDD with NTFS file format. I did below commands :
Code:
sudo ntfsfix /dev/sdc
The command you ran was on the device (/dev/sdc), not the filesystem partition.
You might want to retry it as "sudo ntfsfix /dev/sdcX" where X is the partition number for the ntfs partition where you are having problems.
I did it too but got same error.
 
Old 08-16-2016, 03:58 AM   #11
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by John VV View Post
from this

is this a usb flash thumb drive ?
No, I created a directory with the name "USB".
 
Old 08-16-2016, 07:23 PM   #12
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,509

Rep: Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114
Did you try the suggestions in post 7, if you don't have a windows disk?

The ntfsfix command is very limited and might solve very minor problems but no more.
 
Old 08-17-2016, 03:01 PM   #13
beroal
Member
 
Registered: Feb 2016
Location: Ukraine
Distribution: ArchLinux
Posts: 48

Rep: Reputation: Disabled
Quote:
Originally Posted by hack3rcon View Post
I did it too but got same error.
Anyway, post output of
Code:
sudo fdisk --list
with your HDD connected.
 
Old 08-20-2016, 01:55 AM   #14
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Problem Solved via a Windows OS and did "chkdsk" command.
 
  


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
How to fix error mount ntfs partition to Oracle Linux samba030 Linux - Software 7 02-27-2013 10:28 PM
[SOLVED] How to fix damaged NTFS partition usr345 Linux - Software 1 10-27-2012 07:24 AM
ran mkfs.vfat over top ntfs partition... any way to restore ntfs partition info? oryan_dunn Linux - Hardware 8 10-14-2010 06:08 PM
How do I fix a deleted partition table with NTFS and ext3 partitions? Draxx Linux - Newbie 6 05-22-2008 11:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:40 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
Open Source Consulting | Domain Registration