Gentoo Archives: gentoo-dev

From: Joakim Tjernlund <Joakim.Tjernlund@××××××××.com>
To: "gentoo-dev@l.g.o" <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] grub-2 configuration
Date: Fri, 28 Oct 2016 10:56:23
Message-Id: 1477652167.1983.62.camel@infinera.com
In Reply to: Re: [gentoo-dev] grub-2 configuration by Tom H
1 On Thu, 2016-10-20 at 11:03 -0400, Tom H wrote:
2 > On Wed, Oct 19, 2016 at 4:43 PM, Joakim Tjernlund
3 > <Joakim.Tjernlund@××××××××.com> wrote:
4 > >
5 > > On Wed, 2016-10-19 at 15:21 -0400, Tom H wrote:
6 > > >
7 > > >
8 > > > but it looks like, unlike for grub-legacy, you need a grub config file
9 > > > ("/boot/grub{,2}/grub.cfg") to exist.
10 > >
11 > > That is reasonable, to create a new entry one needs to copy the previous and replace the
12 > > kernel.
13 > >
14 > > Would be nice if someone could confirm this though.
15 >
16 > if [[ -z "${GRUB_CONF}" ]]; then
17 > print_error 1 "Error! Grub2 configuration file does not exist, please
18 > ensure grub2 is correctly setup first."
19 > return 0
20 > fi
21
22
23 Tried to make grub2 and EFI work on a HP Skylake laptop but failed. This laptop PXE boots linux
24 during install in BIOS mode so no EFI vars etc. available when installing grub2.
25 Is this an impossible combo? Do I need to EFI boot in order to install grub2 efi?
26
27  Jocke

Replies

Subject Author
Re: [gentoo-dev] grub-2 configuration Patrick McLean <chutzpah@g.o>