On Fri, 28 Oct 2016 10:56:08 +0000
Joakim Tjernlund <joakim.tjernl...@infinera.com> wrote:

> On Thu, 2016-10-20 at 11:03 -0400, Tom H wrote:
> > On Wed, Oct 19, 2016 at 4:43 PM, Joakim Tjernlund
> > <joakim.tjernl...@infinera.com> wrote:  
> > > 
> > > On Wed, 2016-10-19 at 15:21 -0400, Tom H wrote:  
> > > > 
> > > > 
> > > > but it looks like, unlike for grub-legacy, you need a grub
> > > > config file ("/boot/grub{,2}/grub.cfg") to exist.  
> > > 
> > > That is reasonable, to create a new entry one needs to copy the
> > > previous and replace the kernel.
> > > 
> > > Would be nice if someone could confirm this though.  
> > 
> > if [[ -z "${GRUB_CONF}" ]]; then
> > print_error 1 "Error! Grub2 configuration file does not exist,
> > please ensure grub2 is correctly setup first."
> > return 0
> > fi  
> 
> 
> Tried to make grub2 and EFI work on a HP Skylake laptop but failed.
> This laptop PXE boots linux during install in BIOS mode so no EFI
> vars etc. available when installing grub2. Is this an impossible
> combo? Do I need to EFI boot in order to install grub2 efi?
> 
>  Jocke

You need to be booted in EFI mode to be able to access the EFI vars and
install grub in EFI mode. If you are booted in legacy mode, you have to
use grub's i386-pc mode.

Reply via email to