This is my first time installing Ubuntu and I could really use your help.
I had a Windows 10 (BIOS Legacy) installation on my laptop and decided to dual boot with Ubuntu 16.4 from a USB, not using EFI(UEFI), but legacy installation again as well.
After shrinking my C: partition by 50GB, I restarted Windows a couple of times, disabled quick startup and ran chkdsk on C:.
Later when opening the Ubuntu installer, I could see only "Install Ubuntu alongside FreeDOS", not "Windows 10", so the installer couldn't detect Windows, but silly me, I thought that this would fix itself when I install Ubuntu.
I decided to use the "Something else" option and gave 2GB for swap, and 48GB for root.
Now when starting my laptop, I can select Ubuntu, FreeDOS and Windows Recovery Environment (which if I choose doesn't boot Windows, but displays only "One key recovery partition has damaged, so do not launch the main application" and I think this loader is there because my laptop is Lenovo and they have these one key recovery options).
I should mention that I can access all my files from Ubuntu in the partition where Windows is installed "C:"(/sda2), so I'm guessing I should be able to boot Windows again.
This is my log after running boot-repair: http://paste.ubuntu.com/25594317/
Output of sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
NAME FSTYPE SIZE MOUNTPOINT LABEL
sr0 1024M
sda 931,5G
├─sda4 ntfs 1000M PBR_DRV
├─sda2 ntfs 150G /media/blaskowitz/F05A1F705A1F32B8
├─sda7 ext4 48,1G /
├─sda5 ntfs 729,6G Local Disk
├─sda3 1K
├─sda1 vfat 1000M
└─sda6 swap 1,9G [SWAP]
Output of fdisk -l
Disk /dev/sda: 931,5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xd9fa2484
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 2050047 2048000 1000M b W95 FAT32
/dev/sda2 2050048 316624895 314574848 150G 7 HPFS/NTFS/exFAT
/dev/sda3 316626942 1951475711 1634848770 779,6G f W95 Ext'd (LBA)
/dev/sda4 1951475712 1953523711 2048000 1000M 2 XENIX root
/dev/sda5 421484544 1951475711 1529991168 729,6G 7 HPFS/NTFS/exFAT
/dev/sda6 316626944 320624639 3997696 1,9G 82 Linux swap / Solaris
/dev/sda7 320626688 421480447 100853760 48,1G 83 Linux
Partition 3 does not start on physical sector boundary.
Partition table entries are not in disk order.