You must have booted in BIOS/MBR mode, but your Windows 7 is installed in UEFI mode. So Boot-Repair installed a Windows boot loader into the MBR (not an issue), but also put a boot flag on the main Windows partition. IF BIOS that would be correct, but with UEFI and gpt partitioning the boot flag can only be on the efi partition. And you can only have one efi partition per drive.
Use gparted from liveCD, click on sda5, and right click to remove the boot flag.
From UEFI menu in UEFI mode you then should be able to boot Windows again.
Since you have a Windows 7 system, you do not have any of the secure boot issues.
Use Windows 7 Disk tools to shrink the Windows main install to make room for Ubuntu, but do not create any partitions as it may convert to dynamic which is not compatible with Linux.
Even though you do not have secure boot issues, it still is best to use newest installs that support that as they have the newest UEFI implementation.
You will need to use the 64 bit version of 12.10 or 12.04.2 and from the UEFI menu boot the flash drive in UEFI mode. That way it will install in UEFI mode.
Systems need quick boot or fast boot turned off in UEFI settings. Vital for some systems. Best to backup efi partition and Windows partition first.
Use Windows Disk Tools to shrink Windows main partition, but not to create any new partitions, if installing on same drive.
https://help.ubuntu.com/community/UEFI
https://wiki.archlinux.org/index.php/UEFI
As of 12.04.2, it is possible to install on UEFI systems with Secure Boot enabled (using signed versions of Shim, GRUB, and the Linux kernel). This is only currently set up for Ubuntu (desktop, alternate, and server) and Edubuntu images due to pressures of time; we expect to enable it across the entire Ubuntu family for 12.04.3. Details:
https://wiki.ubuntu.com/PrecisePango.../UbuntuDesktop
Bookmarks