Page 1 of 1

PXE Boot installed blank OS over existing

Posted: 28 Nov 2015, 17:07
by sysadm4now
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?

Re: PXE Boot installed blank OS over existing

Posted: 28 Nov 2015, 18:06
by Fiona
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.
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

Re: PXE Boot installed blank OS over existing

Posted: 28 Nov 2015, 18:19
by sysadm4now
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.