Gentoo Archives: gentoo-user

From: Marc Joliet <marcec@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] SOLVED: NVMe drive and grub
Date: Fri, 15 Dec 2017 11:43:58
Message-Id: 2147770.lYsqufA158@thetick
In Reply to: Re: [gentoo-user] SOLVED: NVMe drive and grub by Adam Carter
1 (I've got a bad habit of saving unfinished emails in the drafts folder and
2 then forgetting about them. I found this one while cleaning it up and thought
3 it might still be informative.)
4
5 On Tuesday 12 April 2016 10:56:56 Adam Carter wrote:
6 >> The problem was sys-boot/grub-2.02_beta2-r9, which UEFI never ran.
7 >>
8 >> The fix was to get rid of grub altogether and instead use
9 >> sys-boot/gummiboot.
10 >> Not only was it fully functional, it was a welcome relief not to have to
11 >> grapple with grub's baroque complexity and to be able to return to the
12 >> simple
13 >> booting I remember from years ago.
14 >>
15 >> I'd spent five long days wrestling with grub, going round in circles and
16 >> getting nowhere, before I was pointed to gummiboot.
17 >
18 >I also failed to get grub2 + UEFI working. So either;
19 >1. We're both dummies
20 >2. The handbook instructions are incorrect and/or inadequate
21 >
22 >Can anyone else that is familiar comment on the grub2 + UEFI doc quality?
23
24 Poison already gave a more informative reply than I could have , but just to
25 give a data point: I have successfully installed GRUB on an old Mac Mini from
26 2007 (obtained from a friend). The main hiccup was that I couldn't get any
27 live CDs to boot in EFI mode, so I resorted to grub2-mkimage in order to
28 "bootstrap" booting in EFI mode. Once that was resolved, grub2-install worked
29 just fine, as long as I passed --efi-directory=/boot/efi. I have yet to test
30 whether I can boot directly with GRUB or still need refind.
31
32 (I was being stubborn and wanted to run what I found out after the fact is
33 referred to as mixed mode, which allows a 64 bit kernel to access a 32 bit
34 EFI, in which case you *need* a boot loader like GRUB. BTW, another thing I
35 found out afterwards is that Debian apparently has mixed-mode live media
36 starting with the Jessie release.)
37
38 HTH
39 --
40 Marc Joliet
41 --
42 "People who think they know everything really annoy those of us who know we
43 don't" - Bjarne Stroustrup

Attachments

File name MIME type
signature.asc application/pgp-signature