My laptop normally shows the GRUB boot menu with options to boot to Ubuntu or with windows boot manager. I pressed escape by accident and then typed in exit in the GRUB command line. Then I pressed esc as instructed in the EFI to shut down. After restarting my laptop, it took me straight to windows 8. Now I can't get to GRUB when I start up my hardware.
I tried booting with my Ubuntu CD but there doesn't seem to be any repair option.
How do I make GRUB appear by default again?
EDIT: I was able to access GRUB through the UEFI boot options, but it still doesn't appear by default. I have to get to the UEFI through windows settings every time.
sudo efibootmgr -o 2,1
But some brands only boot Windows entry first, work around is to make grub be a fallback or hard drive entry that can be also first: Sony, HP & others: http://askubuntu.com/questions/486752/dual-boot-win-8-ubuntu-loads-only-win/486789#486789 and: https://askubuntu.com/questions/597052/can-not-boot-anymore-after-a-boot-repair – oldfred Jul 06 '16 at 15:55