GRUB2 Installation Failed – Fix Dual Boot with Ubuntu and Windows 8

14.04dual-bootgrub2uefiwindows 8

I am having hp pavilion g6 2320tx with windows 8 preinstalled with the UEFI mode

I am trying to install ubuntu alongside Windows 8 but it fails every time giving me the error that grub2 was not installed.

First please download this Word File where i have all the screenshots

https://www.dropbox.com/s/y7xjnoo7dyow1ul/askUbuntu.docx?dl=0

Here Are the Steps i followed :-

  1. I disabled Secure boot and disabled legacy mode(i have tried enabling legacy mode and installing ubuntu but that also failed!). Here is Screenshot of the BOOT OPTION of my laptop before i attempt to install

    First point Image in Word File

  2. After this i restart and started ubuntu from usb flashdrive (live boot).But Before getting into ubuntu it gives the below screen for just a flash of a second

    Second Point Image in Word File

This comes every time i did this procedure(i ignored this msg btw :P)

  1. After Getting into Ubuntu i chose to install ubuntu and i created:

    • a swap area of 4096 mb.
    • a boot area of 500 mb.
    • rest of space for ubuntu.
    • This is my partition space.

    Third Point Image in Word File

  2. These are the options i was getting in bootloader installation and i selected dev/sda

    Fourth Point Image in word file

  3. Everything Goes smooth from now until installing grub2 package appears
    during the installation i managed to click this line which appeared in the logs under installation

    Fifth Point Image in word File

  4. And finally i get these golden words.

    Sixth Point Image in word File

  5. Few Things which i have tried and failed

    • Tried Boot-repair from live boot and failed
    • legacy mode disabled/enabled tried both
    • checked my usb is flashed in UEFI mode
    • Connected to Internet
    • tried with all other option available over internet

And Yes this is the 17nth Time i tried installing !

PS : Sorry for not posting the images directly. I need to have 10 reputations to do so:P

Best Answer

When you have the product key, you could try a complete fresh installation of both, Windows and than Ubuntu. Where do you install grub? /dev/sda or /dev/sdaX? You can also try to install grub from a live disk. I don't know the exact command, but it should be something like grub-install /dev/sda. You need chroot before

Related Question