don't know how to proceed with testdisk

Asked by Andrew Tuccillo on 2011-04-06

Hello,

I accidentally wiped out My Windows XP installation and files when I unintentionally installed Ubuntu 10.10 onto the entire 160 gb hard drive. Right now I am running a live USB of Ubuntu and am using testdisk to try to recover my files. After doing a "deeper search," it seems to have found all or most of files. However, I'm not sure what to do now:
-I am not sure if the partition it found was what I used to boot from or not, so I don't know if I should label it P or *.
 (I don't even know if I care about restoring my OS or boot partition; I just want my files back, and I can re-install windows if I want)
-Here is the output from testdisk at this point:

TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <email address hidden>
http://www.cgsecurity.org

Disk /dev/sda - 160 GB / 149 GiB - CHS 19458 255 63
     Partition Start End Size in sectors
D FAT16 >32M 0 1 1 22 254 63 369432 [DellUtility]
D Linux 0 32 33 18692 81 13 300290048
P HPFS - NTFS 23 0 1 19455 254 63 312191145
D HPFS - NTFS 23 0 1 19456 254 63 312207210
D Linux Swap 18692 113 46 19457 53 36 12285936

Structure: Ok. Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
*=Primary bootable P=Primary L=Logical E=Extended D=Deleted
Keys A: add partition, L: load backup, T: change type, P: list files,
     Enter: to continue
NTFS found using backup sector!, 159 GB / 148 GiB

-After I hit "enter," the desired NTFS partition is the only one displayed, but the guide I am using (http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step) says "If all partitions are listed and only in this case, confirm at Write with Enter, y and OK." So should I proceed? Not all partitions are listed, but the one I want to recover is. I don't really know what I am doing and I don't want to screw anything up. Can anyone suggest a next step for me? Below is that next screen:

Disk /dev/sda - 160 GB / 149 GiB - CHS 19458 255 63

     Partition Start End Size in sectors

 1 P HPFS - NTFS 23 0 1 19455 254 63 3121911

[ Quit ] [ Write ]
                              Return to main menu

Thanks much for any help,

Andrew

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu testdisk Edit question
Assignee:
No assignee Edit question
Last query:
2011-04-06
Last reply:
2011-04-06
David Jones (dj) said : #1

  It appears that P is your windows partition? But your guess is as good as mine sorry not windoze guy.:(

Todor Velichkov (tosho) said : #2

SAME SH*T HERE!
Just installed the 11.04 few hours ago and after that realized that I made the Install on the whole drive instead of the previous ubuntu partition!

Ubuntu Installation process sucks!

please write back down your solution for recovering ....if there is any.

Can you help with this problem?

Provide an answer of your own, or ask Andrew Tuccillo for more information if necessary.

To post a message you must log in.