Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-12-2004, 02:52 PM   #1
LQ Newbie
Registered: Nov 2003
Posts: 26

Rep: Reputation: 15
how to mount and recover files off NTF partition

I've got a second harddrive that has on it a single NTFS partition (that may or may not have corruption on it). How can I mount this under Linux and attempt to save some documents that are on it?

I've tried connecting the drive as the slave on the IDE cable, but couldn't figure out how to see it/mount it. Any help is appreciated.
Old 06-12-2004, 04:19 PM   #2
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334

Rep: Reputation: 34
With kernel 2.6.6 with ntfs support, if you conneded it run cfdisk and look up the devicenode it uses .. hd*# (* will be a letter and the # will be a number) I'm guessing hdc1 or 2 maybe even hdd1 or hdd2

now that you have that information, edit the fstab ( as root: pico /etc/fstab) and insert this line:

/dev/hd*#       /mnt/windows       ntfs     noauto,user,owner,ro  0   0

Close and save that, then as root still make a directory called "windows" in /mnt/... so

mkdir /mnt/windows
Now set the permissions for that directory:

chmod 666 /mnt/windows
then mount it:
mount /dev/hd*# /mnt/windows
And bingo.. you now have a mounted ntfs filesystem
Old 06-13-2004, 10:22 AM   #3
LQ Newbie
Registered: Nov 2003
Posts: 26

Original Poster
Rep: Reputation: 15
I got it to mount, but can't read anything off of the drive (it's corrupted). Are there any tools (I'm running under Mandrake 10) that will allow me to recover any files off of this NTFS drive?


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
Recover Partition??? HELP!!!! villusion Linux - Hardware 7 10-11-2005 05:34 PM
Recover deleted files from a Win partition in Linux? PenguinPwrdBox Linux - General 3 08-03-2004 05:05 AM
Cant copy files to a fat partition i mount as RW? FocusedWolf Linux - Hardware 6 03-18-2004 05:43 PM
Recover a lost partition!!!!! Caveman Linux - Newbie 4 09-26-2003 02:10 PM
how do I mount files on NTFS OR FAT32 Partition skhurram77 Linux - Newbie 3 02-20-2002 06:23 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration