Ubuntu 12.04 does not boot after windows 8 install

Asked by RIZA BAYOGLU

I recently installed windows 8 after Ubuntu 12.04 to dual boot. However, it boots directly into windows without asking.
Based on some search, I tried these commands;

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

but it did not work either. It gave this url:

http://paste.ubuntu.com/5617634/

Can anybody help?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Solved by:
RIZA BAYOGLU
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

chroot to the installed OS and reinstall Grub to the MBR

Revision history for this message
RIZA BAYOGLU (r-bayoglu) said :
#2

I could not understand what you meant to say.
Can you please direct me to the codes, as I don't have much experience in Ubuntu?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3
Revision history for this message
RIZA BAYOGLU (r-bayoglu) said :
#4

I could not do it, as I don't have a live usb.

I reinstalled Ubuntu, and the problem gone.

Thanks.