LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-08-2008, 06:17 PM   #1
thebluetrain
LQ Newbie
 
Registered: Apr 2008
Posts: 3

Rep: Reputation: 0
Question recover windows NTFS partition


I know this may sound silly or even idiotic, but please bear in mind I am really new to linux world.
So here is my problem:
I have decided to start exploring linux and install it as a second OS on the same PC.
Due to hardware changes I had to reinstall linux and I have installed it to a WRONG partition where all my files and windows applications were stored. One can only imagine my shock and panic reaction when I realized what have I done.
Is there any way to recover the partition or the files? Any suggestion?

thank you in advance
 
Old 04-08-2008, 06:28 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

I hope you had a backup!
 
Old 04-08-2008, 06:44 PM   #3
thebluetrain
LQ Newbie
 
Registered: Apr 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Unhappy

Quote:
Originally Posted by onebuck View Post
Hi,

I hope you had a backup!
I was afraid you would say that
 
Old 04-08-2008, 07:10 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Please try TestDisk or RIPLinuX.
 
Old 04-08-2008, 07:50 PM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by onebuck View Post
I hope you had a backup!
At LQ, being funny at the expense of those who are in clear trouble and not offering help isn't cool in my book.


Quote:
Originally Posted by thebluetrain View Post
I know this may sound silly or even idiotic, but please bear in mind I am really new to linux world.
No, not silly, just sad. In addition to what Bruce Hill said here's two more elaborate replies: one on a possible approach to recovery and using Photorec (the testdisk companion app) and one about Foremost (for use if you doubt Photorec results or want a second opinion). If unsure ask before doing stuff but first make sure the partitions aren't used (being written to).
 
Old 04-08-2008, 08:49 PM   #6
thebluetrain
LQ Newbie
 
Registered: Apr 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by unSpawn View Post
At LQ, being funny at the expense of those who are in clear trouble and not offering help isn't cool in my book.



No, not silly, just sad. In addition to what Bruce Hill said here's two more elaborate replies: one on a possible approach to recovery and using Photorec (the testdisk companion app) and one about Foremost (for use if you doubt Photorec results or want a second opinion). If unsure ask before doing stuff but first make sure the partitions aren't used (being written to).
Thank you friends for the extraordinary support.
I will try the recommended software and keep you posted.
Thank you.
 
Old 04-08-2008, 09:23 PM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,
Quote:
Originally Posted by unSpawn View Post
At LQ, being funny at the expense of those who are in clear trouble and not offering help isn't cool in my book.

No, not silly, just sad. <snip>
The reply was not meant to be funny. So judge as you be judged!
If you think that was the intent then that is sad.
 
Old 04-09-2008, 05:30 AM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by onebuck View Post
The reply was not meant to be funny.
So then how does your reply help the OP recover his data?
 
Old 04-09-2008, 07:15 AM   #9
dopefish
Member
 
Registered: Nov 2003
Location: Northcliffe, WA
Distribution: Slackware 12.0
Posts: 481

Rep: Reputation: 30
Quote:
Originally Posted by unSpawn View Post
So then how does your reply help the OP recover his data?
It doesnt. It helps because now the OP doesnt have to look for an answer. The data is overwritten and unrecoverable and the threads you posted were for different partitions.

Unless of course he has some hardware based "rubbish bin". But I know of no such thing.
 
Old 04-09-2008, 09:10 AM   #10
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by dopefish View Post
It doesnt. It helps because now the OP doesnt have to look for an answer.
So what if there is an answer? Then the OP gets pointed in the wrong direction.


Quote:
Originally Posted by dopefish View Post
The data is overwritten and unrecoverable
Asserting data recovery is impossible w/o even trying is the ultimate defaitist attitude.
Of course that doesn't hurt you since it ain't your data we're talking about.
(BTW, I don't think it's wise for you to answer for other people.)
Maybe you should read up on what data recovery can do before posting.
Here's one way you can test recovery yourself w/o damaging your setup:
- dd /dev/zero to a file, say 10MB, then losetup it.
- mkfs.ntfs -Q the loop device, mount, copy files onto it until full.
- sha256deep -p (half the blocksize) the mounts contents, then umount.
- say mkfs.ext2 the loop device, mount, copy some files onto it, umount.
- run photorec on the loop device, select recovery properties (paranoia, expert, partials, keep all).
- sha256deep -p (half the blocksize) -M the recovered files and presto,
clear and undisputable evidence of (OK, partial) recovery.


Quote:
Originally Posted by dopefish View Post
and the threads you posted were for different partitions.
So what? The basic procedure stays the same.
 
Old 04-09-2008, 12:59 PM   #11
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,
Quote:
Originally Posted by unSpawn View Post
So then how does your reply help the OP recover his data?
Act like a moderator. Not a dictator as you seem to force your opinion on others and tend to cause the thread to drift. Maybe my response could be read as something smart. But it wasn't intended as such. Now yours is another matter.

You are not going to recover the partition with the reformatting and copying of a OS filesystem into that partition. To many variables, with filesystem partition creation, block allocation and partition alignments then formatting the partition with another filesystem type. You may get fragments but not much more if any. It all depends on how the original OS being contiguous with little or no fragmentation.

Which we all know that NTFS is notorious for fragmentation. If the OP has a scheduled maintenance on his/her system then the chances are a bit better to possibly recover parts of the original install. But I won't bet on it!

If you would want to use a disk editor and spend a lot of time to recover a few pieces of the OPs' HDD then maybe he/she should contract you. The OP could spend a lot of money to recover what? That is why most people do a backup for the data on their system. For instances as this.

I do agree with your statement that the OP should ask or research before doing anything that he/she doesn't understand. That's common sense.

Quote:
Originally Posted by unSpawn View Post
Asserting data recovery is impossible w/o even trying is the ultimate defaitist attitude.
Of course that doesn't hurt you since it ain't your data we're talking about.
(BTW, I don't think it's wise for you to answer for other people.)
Maybe you should read up on what data recovery can do before posting.
Here's one way you can test recovery yourself w/o damaging your setup:
Maybe you should be the one reading up on data recovery. No it doesn't hurt to attempt to recover. But how much time and effort should be spent to recover parts of something? If anything at all. The physical differences between filesystems will be the limiting or controlling factor.

BTW, I am speaking for myself. I read 'dopefish's' threads and it seems to me he was replying for himself. Another assumption on your part. Other people do have opinions and sometimes they align with others.

It is defeatist not defaitist. I was not presenting a defeatist nor do I think 'dopefish' was presenting one. But we are presenting a helpful position whether you believe that or not.
Just by replying with helpful information should provide some indication to others. Maybe this should be brought to a close.
 
Old 04-09-2008, 02:20 PM   #12
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by onebuck View Post
Act like a moderator. Not a dictator
Counting towards seven TODs, I sure do, and so I'm above retaliating like you do.
I only hope one percent of why I said what I needed to say got through.
 
Old 05-05-2009, 06:12 AM   #13
garrythomson
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
Re:

I hope you can get help from here Stellar Phoenix Linux Data Recovery Software which can recover corrupted, deleted or formatted Linux partitions/Volumes and recover deleted files & folders from ext2, ext3 and ReiserFS file systems.Give a try gud luck
 
  


Reply

Tags
lost, ntfs, partition, recover



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
Need to recover corrupt NTFS partition SlowCoder Linux - General 15 10-11-2007 09:18 AM
How to recover XP after formatting Linux partition from windows me4linux Linux - General 10 02-27-2007 07:26 AM
need help for recover NTFS partition! taiwf Linux - Hardware 20 11-25-2006 06:22 PM
Recover NTFS partition jshellman Linux - Desktop 2 11-15-2006 07:44 AM
Accidentally Formatted NTFS Partition... Looking to Recover Data Adam A Flynn Linux - Software 5 08-13-2006 11:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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