1

I am in the midst of trying testdisk to recover a borked dual boot system, and have a specific question to testdisk .. it seems it doesn't like any combos I enter of Primary & Logical labeling.. and I do not get any option to label any of my partitions extended.. any ideas why?

TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sda - 256 GB / 238 GiB - CHS 31130 255 63
 Partition               Start        End    Size in sectors
 D HPFS - NTFS              0  32 33    63 221 30    1024000
 D HPFS - NTFS             63 221 31 21274 119 29  340748288
 D HPFS - NTFS          21274 119 30 21399 102 15    2007040
 D Linux                21399 134 48 28078 210 36  107302912
 D Linux Swap           28078 210 37 31130 223  5   49031168

I know Windows can be my Primary.. so I set the following to P, but then the only good combo after that is to set Linux to Logical and Delete my Swap

are there any combinations that can just get me back into Windows or Linux.. if I cannot crack fixing my dualboot?

 Disk /dev/sda - 256 GB / 238 GiB - CHS 31130 255 63
  Partition               Start        End    Size in sectors
  P HPFS - NTFS              0  32 33    63 221 30    1024000
  P HPFS - NTFS             63 221 31 21274 119 29  340748288
  P HPFS - NTFS          21274 119 30 21399 102 15    2007040
  L Linux                21399 134 48 28078 210 36  107302912
 >L Linux Swap           28078 210 37 31130 223  5   49031168

Structure: Bad. 

Output from command suggested

label: dos
label-id: 0x4a2fec4f
device: /dev/sda
unit: sectors

/dev/sda1 : start=        2048, size=     1024000, type=7, bootable
/dev/sda2 : start=     1026048, size=   340748126, type=7
/dev/sda3 : start=   341774336, size=     2007040, type=27
/dev/sda4 : start=   343783422, size=   156334082, type=5
/dev/sda5 : start=   451086336, size=    49031168, type=82
Erik
  • 288

0 Answers0