My problem is extremely similar to the one found here: Just installed ubuntu 14.04 but after restart it wont boot. However, the solution there did not work for me.
I am using a Toshiba satellite laptop that came preinstalled with Windows 8.1. When I tried to install Ubuntu on it, it didn't detect my Windows 8.1 partition. That's fine with me - I wanted to replace it anyway - but after the installation was complete (I checked for defects in the DVD and found none) my computer won't boot. It just says
Reboot and select a proper boot device or insert boot media in selected boot device and press any key.
I found that question here (Just installed ubuntu 14.04 but after restart it wont boot), so I tried what it said. Unlike the user in that problem I am using a DVD to install Ubuntu. So I started a live session, opened gparted, and found a few drives. To my memory, they were:
sda1: about 1GB of space, ~500MB used and ~500 MB unused. This had a "boot" flag. I figured it was the live CD I was using.
sda2: about ~450GB of space, most unused. I figured this was my hard drive. It did not have a boot flag.
sda3: some puny drive I didn't pay attention to. It said "Linux-swap".
Unallocated space.
I added a boot flag to sda2, as the user question I referred to instructed me to, exited the live session and tried to boot, but that did not work. I restarted a live session and ran a boot repair.
http://paste.ubuntu.com/9632311/
Then I figured I'd ask here, since what worked for him didn't work for me. So I reopened gparted, removed the boot flag from sda2, and did another boot repair to try to go back to where I was.
http://paste.ubuntu.com/9636163/
I have gone into my BIOS settings, and my HD is the first thing my computer tries to boot. It is still not working. I should note that I am afraid to remove the "boot" flag from the sda1 drive since I'm afraid I may not be able to boot from the liveCD again.
Thank you for any input you have.