I recently updated my windows 7 to 10, and destroyed grub in the process. I ran Boot-Repair on a live CD and managed to get the Windows Partition back. However grub still doesn't come up for me.
The boot-repair url I received was http://paste.ubuntu.com/12189762/.
Edit:
Oldfred helped me figure out the problem. I didn't really understand how the partition worked. The extended partition wraps around both the linux and swap partition, but for some reason the linux partition was not showing up. I booted to a live disk and ran parted rescue:
sudo parted /dev/sda unit s print //this printed the current partition table
sudo parted
unit s
rescue
Start? //Here I entered in 1 sector after the extended partition
End? //Here I entered in 1 sector before the swap parition
After that I ran boot-repair again and was able to restore grub back in place! Everything is working great now. Hopefully this post can help someone else!
Is parted rescue easier to use? What range would I put into it then?
I am running TestDisk again right now and taking screen shots. I found nothing on the QuickSearch but I'm doing the deeper search just in case. I'll upload the screens in the morning if that will help?
– kvangent Aug 26 '15 at 03:01sudo sfdisk -d /dev/sda > PTsda.txt
& copy to another device. Some very advanced users may know how to manually edit the text file to add your partition, but better to use testdisk or parted rescue. – oldfred Aug 26 '15 at 20:37