LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-28-2010, 11:24 AM   #1
jagsir
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Rep: Reputation: 0
recovering a 'ntfs' partition which got ruined by mkfs.ext4 command


I just ruined my /ntfs partition. I used the mkfs command and stopped it by ^C immidiately, but it was too late.

mkfs.ext4 /dev/sdb1

Is there a way to recover NTFS partition now ?

The partition </dev/sdb1> was 'ntfs' and mkfs.ext4 did not check if it was a ext4 or give any pre-check warning, just went ahead with making the ext4 fs on a ntfs partition.
 
Old 01-28-2010, 08:59 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
I think you'll need data recovery tools as the fat will be gone
eg. GetDataBack

cheers
 
0 members found this post helpful.
Old 01-28-2010, 09:08 PM   #3
jagsir
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by kbp View Post
I think you'll need data recovery tools as the fat will be gone
eg. GetDataBack

cheers
my intention is to get back the NTFS 'ditectory table' .. whole disk structure back. Recovery tools give you piece meal specific data at a time.

I mean I would want to reverse the damage. Some how, ntfs should read back itself and create back all the directory structure (assuming its somewhere there not lost )
 
Old 01-28-2010, 11:01 PM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
You might want to id the partition as NTFS in fdisk. Then run "ntfsfix". This may mark it so that Windows runs chkdisk on it when it boots up. I don't know how much redundancy there is in the NTFS filesystem, or if too much was deleted for chkdisk to run.
 
Old 09-18-2010, 06:53 AM   #5
Mandarim
LQ Newbie
 
Registered: Jan 2010
Posts: 8

Rep: Reputation: 0
I have same problem here

Did you get any luck on recovering i-nodes?

The partition is flagged NTFS on fdisk
fix doesnt work

I'll post the output when I get home

Last edited by Mandarim; 09-18-2010 at 06:55 AM.
 
Old 09-18-2010, 07:32 AM   #6
hughetorrance
Member
 
Registered: Aug 2009
Location: London North West
Distribution: x86_64 Slack 13.37 current : +others
Posts: 459

Rep: Reputation: 59
I once managed to slice up an ntfs partition with a BSD system and I used Test disk as found on the Parted magic live CD to restore the partition table,however yours. sounds like you have overwritten data on the partition, Ohhh
If there is a way or a tool you might find what you need on either Parted magic live CD or even better the UBCD... good luck.
 
Old 09-19-2010, 07:53 AM   #7
Mandarim
LQ Newbie
 
Registered: Jan 2010
Posts: 8

Rep: Reputation: 0
SOLVED in this topic
http://www.linuxquestions.org/questi...mke2fs-832899/
 
  


Reply

Tags
ext4, mkfs, ntfs, recover


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ext4 vs ntfs partition space used jithin1987 Linux - Newbie 1 11-04-2009 07:37 PM
Ext4 partition corrupted by resized NTFS Vista C:\ partition? graviton-boson Linux - Newbie 2 03-16-2009 01:26 PM
recovering an NTFS partition under linux... assasukasse Linux - General 4 01-20-2008 11:48 AM
Recovering Data From NTFS Partition YianniM Linux - Software 2 05-06-2006 09:16 AM
Recovering a NTFS partition Khalinsar General 1 01-03-2006 08:20 PM


All times are GMT -5. The time now is 01:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration