Peppermint OS Community Forum

Support => Installation => Topic started by: Karthikeyan on June 12, 2015, 11:52:27 am

Title: GRUB fails to install
Post by: Karthikeyan on June 12, 2015, 11:52:27 am
I was installing the latest Peppermint OS 6 side by side of Windows 8. At the end when the GRUB was about to be installed, a failure message was saying "grub-efi-amd64-signed failed to install into /target/". Without GRUB I couldn't boot into POS6.

I enabled secure boot and entered peppermint and ended up in this screen!

(http://i.imgur.com/NzbVioG.jpg)


Ask for any missing details, I will provide. Please help to resolve this issue.

PS:My problem is very similar to http://forum.peppermintos.com/index.php/topic,1904.0.html, but the user didnt mention GRUB installation failure nor could I understand the solution provided. Please help.
Title: Re: GRUB fails to install
Post by: PCNetSpec on June 12, 2015, 12:43:28 pm
Can you boot to the LiveCD/LiveUSB, open a terminal (Ctrl+Alt+T)  and post the output from running this command:
Code: [Select]
sudo fdisk -l
Title: Re: GRUB fails to install
Post by: Karthikeyan on June 12, 2015, 01:20:10 pm
Code: [Select]
peppermint@peppermint ~ $ sudo fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xccdc05c2

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1   976773167   488386583+  ee  GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/sdb: 16.0 GB, 16008609792 bytes
255 heads, 63 sectors/track, 1946 cylinders, total 31266816 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        2048    31266815    15632384    c  W95 FAT32 (LBA)
peppermint@peppermint ~ $
Title: Re: GRUB fails to install
Post by: PCNetSpec on June 12, 2015, 01:34:16 pm
Is there anything on the 500GB HDD that you need to keep .. or can it be completely formatted ?
Title: Re: GRUB fails to install
Post by: Karthikeyan on June 12, 2015, 01:53:47 pm
Oh I forgot the most important...I am installing along side Windows 8.
Title: Re: GRUB fails to install
Post by: PCNetSpec on June 12, 2015, 02:29:42 pm
I take it Windows is preinstalled and you don't have the installation media ?
Title: Re: GRUB fails to install
Post by: Karthikeyan on June 12, 2015, 02:48:52 pm
Installation media of what? I dont know what an installation media is in the first place... ;)
Title: Re: GRUB fails to install
Post by: PCNetSpec on June 12, 2015, 02:52:17 pm
media = disk or whatever media the installation came on

usually a DVD, but could be a USB stick

So do you have the installation media for reinstalling Win 8 ?
Title: Re: GRUB fails to install
Post by: Karthikeyan on June 12, 2015, 03:03:52 pm
No not a media for reinstalling Windows 8. Does a recovery drive count as a installation media? Because I have one. And are you hinting at erasing Windows and reinstalling it?!  :o
Title: Re: GRUB fails to install
Post by: PCNetSpec on June 12, 2015, 04:08:35 pm
Formatting the drive away from a GPT partition table and reinstalling Windows 8 in legacy BIOS mode would certainly have been the easiest option if it were possible.

let's have a look at your GPT disks structure

can you boot to the LiveCD/LiveUSB .. connect to the internet, and install gdisk:
Code: [Select]
sudo apt-get install gdisk
then post back here the output from:
Code: [Select]
sudo gdisk -l /dev/sda
and
Code: [Select]
uname -a
Title: Re: GRUB fails to install
Post by: Karthikeyan on June 15, 2015, 02:06:55 am
Code: [Select]
peppermint@peppermint ~ $ sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.8

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 821999CF-D919-48BE-882E-CBC745DD0107
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 3106 sectors (1.5 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          821247   400.0 MiB   2700  Basic data partition
   2          821248         1435647   300.0 MiB   EF00  EFI system partition
   3         1435648         1697791   128.0 MiB   0C01  Microsoft reserved part
   4         1697792       579235029   275.4 GiB   0700  Basic data partition
   5       740642816       937623284   93.9 GiB    0700  Basic data partition
   6       945442816       946364415   450.0 MiB   2700 
   7       946364416       976773119   14.5 GiB    2700  Basic data partition
   8       937623552       945442815   3.7 GiB     8200 
   9       579235840       740642815   77.0 GiB    0700
 
Code: [Select]
peppermint@peppermint ~ $ uname -a
Linux peppermint 3.16.0-37-generic #51~14.04.1-Ubuntu SMP Wed May 6 15:23:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Title: Re: GRUB fails to install
Post by: AndyInMokum on June 15, 2015, 02:30:40 am
Hi Karthikeyan, how's it going?  For future reference could you please encapsulate terminal outputs with the # code function.  It preserves the original format.  This function is located above the :-[ Embarrassed emoticon in the forum editor.  I've done this for you this time  - many thanks  ;)!
Title: Re: GRUB fails to install
Post by: PCNetSpec on June 15, 2015, 11:29:13 am
I don't think there's any SAFE way to do this (but I'm still reading).

If the machine won't install Peppermint 6 64bit in EUFI mode, then to install GRUB on a drive with a GPT partition table requires an EF02 bios_boot partition to be present on the drive.

I'm unsure how to achieve this without destroying Windows or Windows EFI booting .. or if the bios_boot partition can go anywhere as long as it's flagged correctly.

I'm trying to figure it out.



Did you try installing the 64bit version in UEFI mode ?
(ie. NOT in legacy BIOS mode, but with secureboot disabled)

Are you able to boot a Peppermint 6 64bit LiveCD/LiveUSB in UEFI mode (with secure boot disable) ?

If so, have you tried running boot-repair:
https://help.ubuntu.com/community/Boot-Repair
whilst in UEFI mode (with secure boot disabled) ?
Title: Re: GRUB fails to install
Post by: Karthikeyan on June 15, 2015, 12:13:30 pm
Yes installed the 64 bit Perppermint OS 6 in UEFI mode.
Yes can boot a LiveUSB without secure boot.

Currently running codes from the Boot Repair link you gave. Will update some time
Title: Re: GRUB fails to install
Post by: PCNetSpec on June 15, 2015, 12:18:00 pm
Please do let us know if Boot-Repair helps.
Title: Re: GRUB fails to install
Post by: Karthikeyan on June 15, 2015, 12:33:01 pm
What should i do?
(http://i.imgur.com/QMNVrOa.png)
Title: Re: GRUB fails to install
Post by: PCNetSpec on June 15, 2015, 01:40:44 pm
This has to be YOUR decision .. we don't generally give out advice when there's even a risk to your PC

If that's ALL it's going to do I'd say you were safe .. /boot/grub aint working anyway (and that's not as far as I can tell planning on changing anything to do with Windows) and I have a feeling it's going to replace it with grub-efi wich is what's needed.

If you do decide to continue .. please post screenshots of the next steps .. I'm particularly interested it the commands that are highlighted in that screenshot
Title: Re: GRUB fails to install
Post by: zebedeeboss on June 15, 2015, 02:03:15 pm
Code: [Select]
sudo chroot "/mnt/boot-sav/sda9" apt-get install -y --force-yes grub-efi-amd64-signed shim-signed linux-signed-generic

I am doing the same thing to try and fix windows not booting from Grub....  I think I done the next bit right

Code: [Select]
peppermint@peppermint ~ $ sudo chroot "/mnt/boot-sav/sda9" apt-get install -y --force-yes grub-efi-amd64-signed shim-signed linux-signed-generic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  grub-common grub-efi-amd64 grub-efi-amd64-bin grub2-common
  linux-headers-3.13.0-54 linux-headers-3.13.0-54-generic
  linux-headers-generic linux-image-3.13.0-54-generic
  linux-image-extra-3.13.0-54-generic linux-signed-image-3.13.0-54-generic
  linux-signed-image-generic sbsigntool secureboot-db shim
Suggested packages:
  multiboot-doc grub-emu xorriso desktop-base fdutils linux-doc-3.13.0
  linux-source-3.13.0 linux-tools
The following NEW packages will be installed:
  grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
  grub2-common linux-headers-3.13.0-54 linux-headers-3.13.0-54-generic
  linux-headers-generic linux-image-3.13.0-54-generic
  linux-image-extra-3.13.0-54-generic linux-signed-generic
  linux-signed-image-3.13.0-54-generic linux-signed-image-generic sbsigntool
  secureboot-db shim shim-signed
0 upgraded, 17 newly installed, 0 to remove and 6 not upgraded.
Need to get 62.7 MB/65.9 MB of archives.
After this operation, 294 MB of additional disk space will be used.
Get:1 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-3.13.0-54-generic amd64 3.13.0-54.91 [15.2 MB]
Get:2 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-headers-3.13.0-54 all 3.13.0-54.91 [8,886 kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-headers-3.13.0-54-generic amd64 3.13.0-54.91 [704 kB]
Get:4 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-headers-generic amd64 3.13.0.54.61 [2,330 B]
Get:5 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-extra-3.13.0-54-generic amd64 3.13.0-54.91 [36.8 MB]
Get:6 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-signed-image-3.13.0-54-generic amd64 3.13.0-54.91 [3,946 B]
Get:7 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-signed-image-generic amd64 3.13.0.54.61 [2,368 B]
Get:8 http://gb.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-signed-generic amd64 3.13.0.54.61 [1,814 B]
Get:9 http://gb.archive.ubuntu.com/ubuntu/ trusty/main shim amd64 0.4-0ubuntu4 [792 kB]
Get:10 http://gb.archive.ubuntu.com/ubuntu/ trusty/main shim-signed amd64 1.6+0.4-0ubuntu4 [327 kB]
Fetched 62.7 MB in 7s (8,363 kB/s)                                             
Preconfiguring packages ...
Selecting previously unselected package linux-image-3.13.0-54-generic.
(Reading database ... 207274 files and directories currently installed.)
Preparing to unpack .../linux-image-3.13.0-54-generic_3.13.0-54.91_amd64.deb ...
Done.
Unpacking linux-image-3.13.0-54-generic (3.13.0-54.91) ...
Selecting previously unselected package grub-common.
Preparing to unpack .../grub-common_2.02~beta2-9ubuntu1.2_amd64.deb ...
Unpacking grub-common (2.02~beta2-9ubuntu1.2) ...
Selecting previously unselected package grub2-common.
Preparing to unpack .../grub2-common_2.02~beta2-9ubuntu1.2_amd64.deb ...
Unpacking grub2-common (2.02~beta2-9ubuntu1.2) ...
Selecting previously unselected package grub-efi-amd64-bin.
Preparing to unpack .../grub-efi-amd64-bin_2.02~beta2-9ubuntu1.2_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.02~beta2-9ubuntu1.2) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../grub-efi-amd64_2.02~beta2-9ubuntu1.2_amd64.deb ...
Unpacking grub-efi-amd64 (2.02~beta2-9ubuntu1.2) ...
Selecting previously unselected package grub-efi-amd64-signed.
Preparing to unpack .../grub-efi-amd64-signed_1.34.3+2.02~beta2-9ubuntu1.2_amd64.deb ...
Unpacking grub-efi-amd64-signed (1.34.3+2.02~beta2-9ubuntu1.2) ...
Selecting previously unselected package linux-headers-3.13.0-54.
Preparing to unpack .../linux-headers-3.13.0-54_3.13.0-54.91_all.deb ...
Unpacking linux-headers-3.13.0-54 (3.13.0-54.91) ...
Selecting previously unselected package linux-headers-3.13.0-54-generic.
Preparing to unpack .../linux-headers-3.13.0-54-generic_3.13.0-54.91_amd64.deb ...
Unpacking linux-headers-3.13.0-54-generic (3.13.0-54.91) ...
Selecting previously unselected package linux-headers-generic.
Preparing to unpack .../linux-headers-generic_3.13.0.54.61_amd64.deb ...
Unpacking linux-headers-generic (3.13.0.54.61) ...
Selecting previously unselected package linux-image-extra-3.13.0-54-generic.
Preparing to unpack .../linux-image-extra-3.13.0-54-generic_3.13.0-54.91_amd64.deb ...
Unpacking linux-image-extra-3.13.0-54-generic (3.13.0-54.91) ...
Selecting previously unselected package sbsigntool.
Preparing to unpack .../sbsigntool_0.6-0ubuntu7_amd64.deb ...
Unpacking sbsigntool (0.6-0ubuntu7) ...
Selecting previously unselected package linux-signed-image-3.13.0-54-generic.
Preparing to unpack .../linux-signed-image-3.13.0-54-generic_3.13.0-54.91_amd64.deb ...
Unpacking linux-signed-image-3.13.0-54-generic (3.13.0-54.91) ...
Selecting previously unselected package linux-signed-image-generic.
Preparing to unpack .../linux-signed-image-generic_3.13.0.54.61_amd64.deb ...
Unpacking linux-signed-image-generic (3.13.0.54.61) ...
Selecting previously unselected package linux-signed-generic.
Preparing to unpack .../linux-signed-generic_3.13.0.54.61_amd64.deb ...
Unpacking linux-signed-generic (3.13.0.54.61) ...
Selecting previously unselected package secureboot-db.
Preparing to unpack .../secureboot-db_1.1_amd64.deb ...
Unpacking secureboot-db (1.1) ...
Selecting previously unselected package shim.
Preparing to unpack .../shim_0.4-0ubuntu4_amd64.deb ...
Unpacking shim (0.4-0ubuntu4) ...
Selecting previously unselected package shim-signed.
Preparing to unpack .../shim-signed_1.6+0.4-0ubuntu4_amd64.deb ...
Unpacking shim-signed (1.6+0.4-0ubuntu4) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for install-info (5.2.0.dfsg.1-2) ...
Setting up linux-image-3.13.0-54-generic (3.13.0-54.91) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-54-generic /boot/vmlinuz-3.13.0-54-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-54-generic /boot/vmlinuz-3.13.0-54-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-54-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-54-generic /boot/vmlinuz-3.13.0-54-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-54-generic /boot/vmlinuz-3.13.0-54-generic
Setting up grub-common (2.02~beta2-9ubuntu1.2) ...
Setting up linux-headers-3.13.0-54 (3.13.0-54.91) ...
Setting up linux-headers-3.13.0-54-generic (3.13.0-54.91) ...
Setting up linux-headers-generic (3.13.0.54.61) ...
Setting up linux-image-extra-3.13.0-54-generic (3.13.0-54.91) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-54-generic /boot/vmlinuz-3.13.0-54-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-54-generic /boot/vmlinuz-3.13.0-54-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-54-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-54-generic /boot/vmlinuz-3.13.0-54-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-54-generic /boot/vmlinuz-3.13.0-54-generic
Setting up sbsigntool (0.6-0ubuntu7) ...
Setting up linux-signed-image-3.13.0-54-generic (3.13.0-54.91) ...
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.16.0-40-generic
Found initrd image: /boot/initrd.img-3.16.0-40-generic
Found linux image: /boot/vmlinuz-3.16.0-37-generic
Found initrd image: /boot/initrd.img-3.16.0-37-generic
Found linux image: /boot/vmlinuz-3.13.0-54-generic
Found initrd image: /boot/initrd.img-3.13.0-54-generic
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done
Setting up linux-signed-image-generic (3.13.0.54.61) ...
Setting up linux-signed-generic (3.13.0.54.61) ...
Setting up secureboot-db (1.1) ...
Can't access efivars filesystem at /sys/firmware/efi/efivars, aborting
Setting up shim (0.4-0ubuntu4) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up grub-efi-amd64-bin (2.02~beta2-9ubuntu1.2) ...
Setting up grub2-common (2.02~beta2-9ubuntu1.2) ...
Setting up grub-efi-amd64 (2.02~beta2-9ubuntu1.2) ...

Creating config file /etc/default/grub with new version
Installing for x86_64-efi platform.
Installation finished. No error reported.
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.16.0-40-generic
Found initrd image: /boot/initrd.img-3.16.0-40-generic
Found linux image: /boot/vmlinuz-3.16.0-37-generic
Found initrd image: /boot/initrd.img-3.16.0-37-generic
Found linux image: /boot/vmlinuz-3.13.0-54-generic
Found initrd image: /boot/initrd.img-3.13.0-54-generic
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done
Setting up grub-efi-amd64-signed (1.34.3+2.02~beta2-9ubuntu1.2) ...
Installing for x86_64-efi platform.
Installation finished. No error reported.
Setting up shim-signed (1.6+0.4-0ubuntu4) ...
Installing for x86_64-efi platform.
Installation finished. No error reported.
peppermint@peppermint ~ $

Title: Re: GRUB fails to install
Post by: PCNetSpec on June 15, 2015, 02:10:25 pm
is it booting now ?
Title: Re: GRUB fails to install
Post by: zebedeeboss on June 15, 2015, 02:20:45 pm
ok Epic Fail - lol - now Peppermint won't boot on laptop but windows does

This is what boot-repair posted for those in the know
http://paste2.org/9p6EcEMm (http://paste2.org/9p6EcEMm)

I hope you techies can learn something from it.

Me... I am off to re-install peppermint  :) will wait 5 mins incase someone comes back with a fix  :D  and I will live with : start laptop : change to secure boot to use windows and make sure windows boot manager is first in EFI list  or   change to legacy-mode and ensure peppermint is first in the EFI list.

Zeb...
Title: Re: GRUB fails to install
Post by: PCNetSpec on June 15, 2015, 02:31:12 pm
Zeb .. read the last few lines of that output you linked to.
Title: Re: GRUB fails to install
Post by: zebedeeboss on June 15, 2015, 02:37:37 pm
Hi PCNetSpec

leaving secure boot enabled and having peppermint first - I get

GNU GRUB version 2.02-beta2-9ubuntu1.2
Minimal BASH-like line editing is supported. For the first word, TAB list possible command completions. Anywhere else TAB lists possible device or file completions.

grub> _

when I boot legacy-mode with peppermint first I get

error: file '/boot/grub/i386-pc/normal.mod'  not found.
Entering rescue mode...
grub rescue>

Windows works fine if I leave it in secure boot mode and have windows loader first in EFI menu


Zeb...
Title: Re: GRUB fails to install
Post by: PCNetSpec on June 15, 2015, 02:48:27 pm
@zebedeeboss

No, I think you should now be booting in UEFI mode with secure boot enabled .. and choose the OS/Partition to boot in the UEFI interface.

and you really want it to boot PEPPERMINT (sda9) first, as that's where GRUB is, with added to its menu.

that said, this is someone else active support  topic, so we shouldn't really be hijacking it ;)
Title: Re: GRUB fails to install
Post by: zebedeeboss on June 15, 2015, 02:52:10 pm
Hi

My BIOS allows me to choose what boots first   windows or Peppermint  so no need to go into windows and amend the boot order

I get the same screen shot as the very first post on this thread when I attempt to boot Peppermint in Secure boot mode - I get the error: message grub rescue screen when booting legacy mode

Zeb...

agreed.... my bad
Title: Re: GRUB fails to install
Post by: Karthikeyan on June 15, 2015, 03:10:46 pm
This was the next set code that I was presented with
Code: [Select]
sudo chroot "/mnt/boot-sav/sda5" apt-get install -y --force-yes grub-efi-amd64-signed shim-signed linux-signed-generic

And executing it, I got this
Code: [Select]
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  efibootmgr grub-common grub-efi-amd64 grub-efi-amd64-bin grub2-common
  linux-headers-3.13.0-54 linux-headers-3.13.0-54-generic
  linux-headers-generic linux-image-3.13.0-54-generic
  linux-image-extra-3.13.0-54-generic linux-signed-image-3.13.0-54-generic
  linux-signed-image-generic secureboot-db shim
Suggested packages:
  multiboot-doc grub-emu xorriso desktop-base fdutils linux-doc-3.13.0
  linux-source-3.13.0 linux-tools
The following NEW packages will be installed:
  efibootmgr grub-common grub-efi-amd64 grub-efi-amd64-bin
  grub-efi-amd64-signed grub2-common linux-headers-3.13.0-54
  linux-headers-3.13.0-54-generic linux-headers-generic
  linux-image-3.13.0-54-generic linux-image-extra-3.13.0-54-generic
  linux-signed-generic linux-signed-image-3.13.0-54-generic
  linux-signed-image-generic secureboot-db shim shim-signed
0 upgraded, 17 newly installed, 0 to remove and 71 not upgraded.
Need to get 62.7 MB/65.9 MB of archives.
After this operation, 294 MB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-3.13.0-54-generic amd64 3.13.0-54.91 [15.2 MB]
Get:2 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-headers-3.13.0-54 all 3.13.0-54.91 [8,886 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-headers-3.13.0-54-generic amd64 3.13.0-54.91 [704 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-headers-generic amd64 3.13.0.54.61 [2,330 B]
Get:5 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-extra-3.13.0-54-generic amd64 3.13.0-54.91 [36.8 MB]
Get:6 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-signed-image-3.13.0-54-generic amd64 3.13.0-54.91 [3,946 B]
Get:7 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-signed-image-generic amd64 3.13.0.54.61 [2,368 B]
Get:8 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-signed-generic amd64 3.13.0.54.61 [1,814 B]
Get:9 http://in.archive.ubuntu.com/ubuntu/ trusty/main shim amd64 0.4-0ubuntu4 [792 kB]
Get:10 http://in.archive.ubuntu.com/ubuntu/ trusty/main shim-signed amd64 1.6+0.4-0ubuntu4 [327 kB]
Fetched 62.7 MB in 17min 42s (59.0 kB/s)                                       
Preconfiguring packages ...
Selecting previously unselected package linux-image-3.13.0-54-generic.
(Reading database ... 150793 files and directories currently installed.)
Preparing to unpack .../linux-image-3.13.0-54-generic_3.13.0-54.91_amd64.deb ...
Done.
Unpacking linux-image-3.13.0-54-generic (3.13.0-54.91) ...
Selecting previously unselected package efibootmgr.
Preparing to unpack .../efibootmgr_0.5.4-7ubuntu1.1_amd64.deb ...
Unpacking efibootmgr (0.5.4-7ubuntu1.1) ...
Selecting previously unselected package grub-common.
Preparing to unpack .../grub-common_2.02~beta2-9ubuntu1.2_amd64.deb ...
Unpacking grub-common (2.02~beta2-9ubuntu1.2) ...
Selecting previously unselected package grub2-common.
Preparing to unpack .../grub2-common_2.02~beta2-9ubuntu1.2_amd64.deb ...
Unpacking grub2-common (2.02~beta2-9ubuntu1.2) ...
Selecting previously unselected package grub-efi-amd64-bin.
Preparing to unpack .../grub-efi-amd64-bin_2.02~beta2-9ubuntu1.2_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.02~beta2-9ubuntu1.2) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../grub-efi-amd64_2.02~beta2-9ubuntu1.2_amd64.deb ...
Unpacking grub-efi-amd64 (2.02~beta2-9ubuntu1.2) ...
Selecting previously unselected package grub-efi-amd64-signed.
Preparing to unpack .../grub-efi-amd64-signed_1.34.3+2.02~beta2-9ubuntu1.2_amd64.deb ...
Unpacking grub-efi-amd64-signed (1.34.3+2.02~beta2-9ubuntu1.2) ...
Selecting previously unselected package linux-headers-3.13.0-54.
Preparing to unpack .../linux-headers-3.13.0-54_3.13.0-54.91_all.deb ...
Unpacking linux-headers-3.13.0-54 (3.13.0-54.91) ...
Selecting previously unselected package linux-headers-3.13.0-54-generic.
Preparing to unpack .../linux-headers-3.13.0-54-generic_3.13.0-54.91_amd64.deb ...
Unpacking linux-headers-3.13.0-54-generic (3.13.0-54.91) ...
Selecting previously unselected package linux-headers-generic.
Preparing to unpack .../linux-headers-generic_3.13.0.54.61_amd64.deb ...
Unpacking linux-headers-generic (3.13.0.54.61) ...
Selecting previously unselected package linux-image-extra-3.13.0-54-generic.
Preparing to unpack .../linux-image-extra-3.13.0-54-generic_3.13.0-54.91_amd64.deb ...
Unpacking linux-image-extra-3.13.0-54-generic (3.13.0-54.91) ...
Selecting previously unselected package linux-signed-image-3.13.0-54-generic.
Preparing to unpack .../linux-signed-image-3.13.0-54-generic_3.13.0-54.91_amd64.deb ...
Unpacking linux-signed-image-3.13.0-54-generic (3.13.0-54.91) ...
Selecting previously unselected package linux-signed-image-generic.
Preparing to unpack .../linux-signed-image-generic_3.13.0.54.61_amd64.deb ...
Unpacking linux-signed-image-generic (3.13.0.54.61) ...
Selecting previously unselected package linux-signed-generic.
Preparing to unpack .../linux-signed-generic_3.13.0.54.61_amd64.deb ...
Unpacking linux-signed-generic (3.13.0.54.61) ...
Selecting previously unselected package secureboot-db.
Preparing to unpack .../secureboot-db_1.1_amd64.deb ...
Unpacking secureboot-db (1.1) ...
Selecting previously unselected package shim.
Preparing to unpack .../shim_0.4-0ubuntu4_amd64.deb ...
Unpacking shim (0.4-0ubuntu4) ...
Selecting previously unselected package shim-signed.
Preparing to unpack .../shim-signed_1.6+0.4-0ubuntu4_amd64.deb ...
Unpacking shim-signed (1.6+0.4-0ubuntu4) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for install-info (5.2.0.dfsg.1-2) ...
Setting up linux-image-3.13.0-54-generic (3.13.0-54.91) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-54-generic /boot/vmlinuz-3.13.0-54-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-54-generic /boot/vmlinuz-3.13.0-54-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-54-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-54-generic /boot/vmlinuz-3.13.0-54-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-54-generic /boot/vmlinuz-3.13.0-54-generic
Setting up efibootmgr (0.5.4-7ubuntu1.1) ...
Setting up grub-common (2.02~beta2-9ubuntu1.2) ...
Setting up linux-headers-3.13.0-54 (3.13.0-54.91) ...
Setting up linux-headers-3.13.0-54-generic (3.13.0-54.91) ...
Setting up linux-headers-generic (3.13.0.54.61) ...
Setting up linux-image-extra-3.13.0-54-generic (3.13.0-54.91) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-54-generic /boot/vmlinuz-3.13.0-54-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-54-generic /boot/vmlinuz-3.13.0-54-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-54-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-54-generic /boot/vmlinuz-3.13.0-54-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-54-generic /boot/vmlinuz-3.13.0-54-generic
Setting up linux-signed-image-3.13.0-54-generic (3.13.0-54.91) ...
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.16.0-37-generic
Found initrd image: /boot/initrd.img-3.16.0-37-generic
Found linux image: /boot/vmlinuz-3.13.0-54-generic
Found initrd image: /boot/initrd.img-3.13.0-54-generic
  No volume groups found
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
done
Setting up linux-signed-image-generic (3.13.0.54.61) ...
Setting up linux-signed-generic (3.13.0.54.61) ...
Setting up secureboot-db (1.1) ...
Can't access efivars filesystem at /sys/firmware/efi/efivars, aborting
Setting up shim (0.4-0ubuntu4) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up grub-efi-amd64-bin (2.02~beta2-9ubuntu1.2) ...
Setting up grub2-common (2.02~beta2-9ubuntu1.2) ...
Setting up grub-efi-amd64 (2.02~beta2-9ubuntu1.2) ...

Creating config file /etc/default/grub with new version
Installing for x86_64-efi platform.
Installation finished. No error reported.
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.16.0-37-generic
Found initrd image: /boot/initrd.img-3.16.0-37-generic
Found linux image: /boot/vmlinuz-3.13.0-54-generic
Found initrd image: /boot/initrd.img-3.13.0-54-generic
  No volume groups found
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
done
Setting up grub-efi-amd64-signed (1.34.3+2.02~beta2-9ubuntu1.2) ...
Installing for x86_64-efi platform.
Installation finished. No error reported.
Setting up shim-signed (1.6+0.4-0ubuntu4) ...
Installing for x86_64-efi platform.
Installation finished. No error reported.
peppermint@peppermint ~ $
And I am going to reboot now.

PS:My secure boot is turned off!
Title: Re: GRUB fails to install
Post by: Karthikeyan on June 15, 2015, 03:16:55 pm
And this came at last

(http://i.imgur.com/hTXM29o.png)
Title: Re: GRUB fails to install
Post by: Karthikeyan on June 15, 2015, 04:02:01 pm
I was optimistic but the boot repair had no effect! Still same results

(http://i.imgur.com/NzbVioG.jpg)

Should I enable secure boot? Because I didnt
Title: Re: GRUB fails to install
Post by: zebedeeboss on June 15, 2015, 04:12:41 pm
It didn't work for me - but worth a try...


edited: just re-installed peppermint in legacy mode and I will live with changing OS in the bios
Title: Re: GRUB fails to install
Post by: Karthikeyan on June 16, 2015, 07:55:44 am
Help please!
Title: Re: GRUB fails to install
Post by: PCNetSpec on June 16, 2015, 10:01:36 am
@Karthikeyan

We're looking into a *possible* solution, but it's going to take a few days to prepare and test.
Title: Re: GRUB fails to install
Post by: zebedeeboss on August 01, 2015, 10:03:36 am
**shameless bump** - any update on the availability of a UEFI working ISO   ;D ;D ;D
Title: Re: GRUB fails to install
Post by: PCNetSpec on August 01, 2015, 10:15:11 am
*Hopefully* soon .. I'm awaiting some hardware to test the UEFI bootloader, which should hopefully arrive Tuesday.

Can't give an exact date for the respin .. but with any luck "SOON" ;)