Share your knowledge at the LQ Wiki.
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 05-25-2009, 09:32 PM   #1
Dipanjan Das
LQ Newbie
Registered: Feb 2009
Posts: 2

Rep: Reputation: 0
Data lost while building new filesystem on NTFS drive

Hello everybody
I use RHEL 5(Red Hat Enterpise Linux 5) at my place.But NTFS drives were not being mounted.When I tried to mount NTFS drives using the command: "mount -t ntfs /dev/sda5 /mnt" ,it couldn't recognise the filesystem.Later I issued the command; "mkfs -t vfat /dev/sda5" to convert the following drive to vfat.But it didn't warned me but erased all data.It contained valuable data.Can you tell me any way out to retrieve the lost data?
Old 05-25-2009, 10:40 PM   #2
Senior Member
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 3,845

Rep: Reputation: 685Reputation: 685Reputation: 685Reputation: 685Reputation: 685Reputation: 685
When a partition is formatted, all the information that makes data into files and directories is rewritten. But it isn't wiped out. You can use an unformat utility to get the old file system back, or an ntfs recovery tool to get the data back. With a working drive it's pretty easy. However, unless you want to do file carving, there is no free way to get the data back.
Old 05-25-2009, 10:59 PM   #3
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 38
Test disk works really well for recovering files. The only issue is that the files will be renamed.
I used it to recover files on my usb drive.

Maybe give it a try?

Regarding mounting the ntfs partition you will need ntfs-3g
Here is some info regarding mounting ntfs partitions


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
Recovering Lost Picture Data From NTFS Partition Using Linux YianniM Linux - Software 1 05-06-2006 02:35 AM
All data on HD lost after convert NTFS to EXT3 vladimir4 Linux - General 8 12-19-2005 04:07 PM
DISCUSSION: Virtual Filesystem: Building a Linux Filesystem from an Ordinary File mchirico LinuxAnswers Discussion 0 10-28-2004 10:35 PM
Recovering data from repartitioned ntfs drive booyabazooka Linux - Software 2 09-20-2004 10:37 PM
Editing data on an NTFS drive? from FreeBSD? Devboy *BSD 9 08-23-2004 06:23 AM > Forums > Linux Forums > Linux - Newbie

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