0

I have been trying to install Ubuntu 16.04.2 alongside Windows 10 creator update, but every time I run the installer I get a grub error saying

failed install-grub/dev/sda- this is a fatal error

I tried the Install alongside Windows option and the manual "something else" option but both give the same error.

I tried running the boot-repair but it failed to fix the issue and generated this script.

Laptop Details:

  • Dell Inspiron 5559
  • i7 processor -6th gen
  • 16 GB ram
  • 2 TB HDD

1 Answer 1

0

I have found on some systems, that the error isn't actually the install but grub update that fails. the file /etc/grub.d/30_uefi-firmware errors breaking the creation of grubs config file.

edit it to read:

set -e

gettext_printf "Adding boot menu entry for EFI firmware configuration\n" >&2

cat << EOF

menuentry 'uefi-firmware' {

fwsetup

}

EOF

and the grub install should complete.

2
  • I'm not getting the file specified by you. Should I insert usb, click try ubuntu and search in ubuntu or in the files of bootable usb?
    – Aman
    Jun 20, 2017 at 14:17
  • it is in the files of the install. It is easiest if you can edit it during the install. the last line of the installer menu should be a command prompt. nano is the file editor, and exit leaves the command shell. if not finish the install with out a boot loader then use the live CD to fix it
    – ravery
    Jun 20, 2017 at 14:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .