After allowing Windows 10 to upgrade my dual boot PC which uses an SSD it is not booting. I ran boot-repair and now I get a bootmgr missing. So I ran testdisk from the live CD and all partitions show as deleted.
TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
Disk /dev/sdf - 120 GB / 111 GiB - CHS 14593 255 63
Partition Start End Size in sectors
>D HPFS - NTFS 0 32 33 63 221 30 1024000
D HPFS - NTFS 63 221 31 8111 174 63 129288192
D HPFS - NTFS 8111 175 1 8218 229 11 1722368
D Linux 8219 39 13 13616 190 14 86712320
D Linux Swap 13616 190 15 14593 66 1 15687680
A similar (but not the same) question and response asked for a parted listing of the disks (and I have backed up the partition data to a txt file). Although I have included /dev/sda it is used as data, I do see it does have a boot record, probably a left over from a prior life.
ubuntu@ubuntu:~$ sudo parted /dev/sda unit s print
Model: ATA WDC WD15EARS-00Z (scsi)
Disk /dev/sda: 2930275055s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 206848s 976814079s 976607232s primary ntfs
2 976814080s 2766430207s 1789616128s primary ntfs boot
ubuntu@ubuntu:~$ sudo parted /dev/sdf unit s print
Model: ATA SanDisk SDSSDA12 (scsi)
Disk /dev/sdf: 234441648s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 2048s 1026047s 1024000s primary ntfs boot
2 1026048s 130313813s 129287766s primary ntfs
3 130314240s 132036607s 1722368s primary ntfs diag
4 132040702s 234440703s 102400002s extended
5 218753024s 234440703s 15687680s logical linux-swap(v1)
The partitions seem to be correct in parted so why does testdisk show them as deleted? Incorrect software? What do I need to do to get my machine to boot from the SSD (/dev/sdf)? I suspect that Windows 10 is not done upgrading, so I need to let that run it's course perhaps before getting grub back into control. I don't want to make the situation worse by choosing the wrong settings in testdisk.
Although I have used Linux for many years, I am not intimate with the internals.
I am also confused with too much and sometimes what appears to be conflicting information. I wish that there is a definitive, simple to execute procedure to recover from this recurring dual boot/upgrade error, which appears to not be going away as long as Microsoft refuses to "support" dual boot and frustrates the upgrade process by wiping out the boot record.