testdisk - recover partition table
- by Evaggelos Balaskas
I destroyed my partition table of my laptop.
Testdisk reports the below
Disk laptop.img - 250 GB / 232 GiB - CHS 30402 255 63 (RO)
Partition Start End Size in sectors
>P MS Data 435868 456606 20739 [NO NAME]
P MS Data 19232600 19235479 2880 [NO NAME]
D MS Data 41945087 83890143 41945057
D MS Data 57151486 168579069 111427584
D MS Data 67637246 141037565 73400320
D MS Data 151523326 193466365 41943040
D MS Data 170617328 170618223 896
D MS Data 170631168 170634047 2880
D MS Data 171338232 171344405 6174 [Boot]
D MS Data 172008235 172231918 223684 [NO NAME]
P MS Data 193466368 214437887 20971520
D MS Data 217321375 225321678 8000304 [root]
D MS Data 224923646 308809725 83886080 [media]
D MS Data 308809728 420237311 111427584
D MS Data 418910206 481824765 62914560 [vmimages]
my partition table had 3 Primary Partitions.
1. WinXP Home
2. /boot
3. LVM
inside LVM i had 9 or 10 LVM partitions
One of them was my home (encrypted with luks)
testdisk cant recover my partition table or any other partition.
Partitions with [P] doesnt have any useful data.
I want to use dd to extract the partitions and try to recover as many files i can.
Any ideas of how i can extract eg. the [root] lvm partition from the above testdisk report ?
I am afraid that my disk was also corrupted.