This question is an exact duplicate of:
- problem in dual boot [duplicate] 1 answer
This is a bit long, but please read through.
I have dual boot with windows 10 and Ubuntu 16.04(LTS). Originally, I had 2 partitions for my HD, one where windows is installed, and the other for my files. I took the second one, and shrank it, so I could allocate another partition for linux, so I can dual boot. I did it using manuals on line, and made sure I follow them exactly. Everything was successful for about 2 months.
Last night, I used Windows OS, and turned off the computer with no problems (don't know if there were any updates). Today, I turn up my computer, grub menu appears, and I select 'windows 10' - but windows won't go up, instead it goes into 'manufacturer recovery mode', and offers me some options (recover one partition, both or other).
So I chose to recover one partition on which I know windows is installed, and it recovered to Windows 7 (The manufacturer version I have on my PC), and basically the Windows OS is reinstalled, with everything that I had installed there deleted.
Does anyone has an idea why this is happening? I suspect this has something to do with an update done for Windows, but I don't know. Anyway, I didn't do anything that should lead to that (computer didn't crash or something like that).
Further more, this isn't the first time this has happened to me. 2 months ago, I also had dual boot like decribed above, and I got the same problem (windows went into recovery) - but that time I chose not to recover, and then grub stopped recognizing both my OS's and I had to do grub-rescue (like described here: grub rescue with dual boot 14.04) That time, I lost both my Os's, and ended up with formatting my entire HD to fix the problem. This time I 'chose smart' to recover only my windows partition, so while Windows is back to man-settings, the ubuntu is still working.
I have no idea why this is happening, I could really use your help. These are my system specs:
PC: Asus (about 5 years old)
CPU: Intel® Core™ i7-2670QM CPU @ 2.20GHz × 8
OS-type: 64-bit (both Windows and Linux)
HD: ~650G where ~200GB for windows OS (NTFS), ~300GB Files(NTFS), ~100GB Linux(ext2).
I have genuine windows 7 on my pc, which I upgraded legally via microsoft services.
Ubuntu is 16.04 LTS.
The first time it happened to me I had Windows 7 and Ubuntu 16.04 LTS, this time, Windows 10 and Ubuntu. At both times it happened from one day to the next, without me doing anything.
I've searched for an answer but I couldn't find one. Most questions relate to the case that on OS was intentionally deleted and the partition table got mixed - but this is not the case for me.
Would appreciate your help guys - I tried VM's and stuff and it didn't do the trick, and I like to make sure this won't happen again.
Edit: added the requested output:
Partition 4 does not start on physical sector boundary.
/dev/sda2 * 52430848 456257535 403826688 192.6G 7 HPFS/NTFS/exFAT