LinuxQuestions.org
Review your favorite Linux distribution.
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 11-11-2003, 12:11 PM   #1
lackluster
Member
 
Registered: Apr 2002
Location: D.C - USA
Distribution: slackware-current
Posts: 488

Rep: Reputation: 30
A hard one - linux and (corrupt) NTFS


The partitions:

Code:
   Device Boot      Start         End      Blocks   Id  System
/dev/hdd1               1           9       36704   12  Compaq diagnostics
/dev/hdd2   *          10        3080    12529680    7  HPFS/NTFS
The problem:

Code:
 sudo mount -t ntfs /dev/hdd2 /mnt/test
mount: wrong fs type, bad option, bad superblock on /dev/hdd2,
       or too many mounted file systems
Already did:

Code:
 sudo ntfsfix /dev/hdd2

Mounting volume... FAILED
Attempting to correct errors.
FAILED
Failed to startup volume: Invalid argument
Volume is corrupt. You should run chkdsk.
I can grep through /dev/hdd2 for some info that I know is there, but I have no way, since I can't mount the drive, to extract the files.

There's $20 involved if anybody can get this one before Friday.

 
Old 11-11-2003, 12:28 PM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
linux CANNOT write to ntfs !!!
have you downloaded the ntfs module for reading ntfs ???

ftp://194.199.20.114/linux/Mandrake-...-3mdk.i586.rpm

whats it say when you
rpm -qa | grep ntfs

if nothing, try installing the above rpm
 
Old 11-11-2003, 12:31 PM   #3
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
slackware can read ntfs out of the box. no module is needed.
 
Old 11-11-2003, 12:38 PM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Quote:
linux CANNOT write to ntfs !!!
have you downloaded the ntfs module for reading ntfs ???
Errr...Linux has been able to write to NTFS for ages now (almost). It is labeled as "experimental" though, and has been so ever since the module was introduced in the kernel.

Håkan
 
Old 11-11-2003, 12:50 PM   #5
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
ohh okay, i stand corrected.
ive read posts where people had found ntfs write modules (i knew they existed)
and i knew linux could do it..

but they said it was constantly corrupting the fs....
have the modules becom more stable since they were first relased ?
 
Old 11-11-2003, 01:50 PM   #6
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
I try not to put myself in a situation where I have to write to NTFS partitions from Linux, but I have done it on several occasions. I have never had any problems, but as I said, my experience with writing to NTFS is limited. I usually keep a spare FAT32 partition on dual boot systems so I can share files between Linux and Windows without much effort.

Regarding NTFS stability - in the kernel documentation for Linux 2.6.0-test9 it is still labeled "experimental", but they also state that they (the NTFS-Linux project I suppose) have not received one single error report on this new version. So things look good for the future.

Håkan
 
Old 11-11-2003, 02:38 PM   #7
lackluster
Member
 
Registered: Apr 2002
Location: D.C - USA
Distribution: slackware-current
Posts: 488

Original Poster
Rep: Reputation: 30
I'm not trying to write to NTFS, anyhow. I just want to copy a few files from the corrupted partition onto my local system. Yes, I have the ntfstools and libs and all that jazz. The problem is that the NTFS fs is corrupted and won't mount and I don't know how to fix that (or if it's possible).

Maybe someone who understands the NTFS documentation and layout would know this?
 
Old 11-11-2003, 03:59 PM   #8
fyoder
Member
 
Registered: Nov 2003
Posts: 111

Rep: Reputation: 15
http://www.namesys.com/support.html

"Your questions are answered by experienced Linux kernel programmers, so if you think the average experienced Linux kernel programmer can figure out your problem, whatever the problem is, ask us. We'll happily tell you how to compile a kernel, figure out what modules you have loaded, run fsck for you, whatever your business need is that a second person can help you spot a solution for, we'll help."

$25, specializing in reiserfs, but they do say "whatever the problem is" and an "experienced Linux kernel programmer" specializing in a file system (albeit a different one) might be able to provide some insight into your problem. Note, this is not an endorsement, I haven't used it, but have bookmarked it for next time I run into something particularly thorny. The expertise/price ratio looks pretty good.
 
  


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
Viewing NTFS hard drives in RH 9.0 partyk1d24 Linux - Newbie 2 09-09-2005 07:36 PM
corrupt NTFS partition kermitthefrog91 Linux - Software 3 08-14-2005 09:59 PM
Deleted ntfs partition - added linux partition in its place - corrupt! eklhad Linux From Scratch 2 06-28-2005 02:31 AM
Looking for file system that won't corrupt files on hard reboot haimeltjnfg Linux - Software 13 05-30-2004 08:19 PM
Corrupt Hard Drive?? Memzback Linux - Newbie 2 04-12-2004 06:59 PM

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

All times are GMT -5. The time now is 06:22 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