After installing elementary OS at the end I got an error.
My laptop originally had dual-boot with windows 8 and Ubuntu 14.04. I decided to replace Ubuntu 14.04 with elementary OS Freya, so I cleared the partition where ubuntu was installed using gparted and upon installing I chose the option which allows to install alongside windows.
After installation was completed I got a prompt:
the grub-pc package failed to install into /target
Then it allowed me to select different partitions, but still failed to install. So continued without installing grub. After rebooting, I get a prompt:
Using super grub2 disk when in my cdrom and choosing the partition confirms that I elementary OS was installed and can be run.
The problem I am having with is with grub.
After trying boot-repair, here is the bootinfo summary: http://paste.ubuntu.com/12365516/
grub prompt if I enter
set root=(hd0,gpt11) set proxy=(hd0,gpt11)/boot/grub insmod normal normal
it takes me to the grub menu where I can select elementary OS or windows and selecting elementary OS boots the operating system.
I followed the post on the question here https://askubuntu.com/questions/192621/grub-rescue-prompt-repair-grub
Tried following most of the solutions except the one involving boot-repair. But none worked for me.