PXE Boot installed blank OS over existing

How to use TestDisk to recover lost partition
Post Reply
Message
Author
sysadm4now
Posts: 2
Joined: 28 Nov 2015, 17:04

PXE Boot installed blank OS over existing

#1 Post by sysadm4now » 28 Nov 2015, 17:07

Looking for some advice. One of my servers was rebooted. Turns out it was configured to boot from the network first. The PXE Boot installer was completely automated and did its job. Do I have any hope for recovery of the files on this machine?

Sponsored links

User avatar
Fiona
Posts: 2836
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: PXE Boot installed blank OS over existing

#2 Post by Fiona » 28 Nov 2015, 18:06

Can you use the latest version of Ubuntu?
It contains a newer version of TestDisk too.
Do you use a Live-CD.
That depends on, how much data you've already written over your underlying previous OS.
When you've written a new OS over an existing one, you'd need datarecovery software.
In most cases it's possible to recover important underlying data.
Please don't write anything to your disk anymore.
When you were writing only a small amount of data to your disk, I'd consider to run a TestDisk diagnose.
When you were overriding a lot of data, you can try to recover underlying data.
You can use PhotoRec.
Info:
http://www.cgsecurity.org/wiki/PhotoRec
http://www.cgsecurity.org/wiki/PhotoRec_Step_By_Step
Tips:
You can run FileOpt and pressing "s" will deselct all file types.Please select only these file types which you'd like to recover.
You should only scan empty space.
It avoids to recover existing files.
Target is the PhotoRec folder.
If you'd like to choose another target/destination you can check these two dots in the upper area of the display and press enter.
Eacht time you'll get 1 directory up, until you get to your disk selection.

PhotoRec doesn't recover directories, and original file names.
If you'dlike to keep file names you should have a look for commercial datarecovery software.

Fion a

sysadm4now
Posts: 2
Joined: 28 Nov 2015, 17:04

Re: PXE Boot installed blank OS over existing

#3 Post by sysadm4now » 28 Nov 2015, 18:19

Thank you for your reply. I am currently running a deep analysis with test disk. Should I stop running that? I was going to initiate a photorec scan but it asked me where to save the files and I could not figure out how to choose a different filesystem than the one I am trying to recover.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests