Gentoo Archives: gentoo-user

From: Tom H <tomh0665@×××××.com>
To: Gentoo User <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] grub -> gummiboot: good
Date: Wed, 28 Jan 2015 22:51:45
Message-Id: CAOdo=Sw+r5KFre=pTaXFt=qzP1L53ZLmOqrgBPmfdzSsirO5yA@mail.gmail.com
In Reply to: Re: [gentoo-user] grub -> gummiboot: good by "Stefan G. Weichinger"
1 On Wed, Jan 28, 2015 at 5:20 PM, Stefan G. Weichinger <lists@×××××.at> wrote:
2
3
4 > I rm`ed the ESP and started over.
5 >
6 > gummiboot boots fine again.
7 >
8 > I added some entries to /etc/grub.d/40_custom
9 > (some pointers to isos etc)
10 >
11 > and ran
12 >
13 > grub2-mkconfig -o /boot/efi/EFI/grub_uefi/grub.cfg
14 >
15 > When I chose grub_uefi at boot time ... it skips again and boots via
16 > gummiboot (nice in the end .. but .. )
17
18 How?!
19
20
21 > And they say things get *easier* !!! ;-)
22 >
23 > # ls -RF
24 > .:
25 > e55a6b6a09bd2b1c50216272545a8d1f/ EFI/ grub/ loader/
26
27 There's no longer an 'efi' so that's good.
28
29
30 > ./e55a6b6a09bd2b1c50216272545a8d1f:
31 > 3.19-rc6/
32 >
33 > ./e55a6b6a09bd2b1c50216272545a8d1f/3.19-rc6:
34 > initrd* kernel*
35 >
36 > ./EFI:
37 > Boot/ EFI/ gummiboot/
38 >
39 > ./EFI/Boot:
40 > BOOTX64.EFI*
41
42 All OK.
43
44
45 > ./EFI/EFI:
46 > grub_uefi/
47 >
48 > ./EFI/EFI/grub_uefi:
49 > grub.cfg* grubx64.efi*
50
51 Why two EFIs?
52
53 One of them's unnecessary but if you want to have both, you have to
54 have them both in the efibootmgr invocation.
55
56
57 > ./EFI/gummiboot:
58 > gummibootx64.efi*
59 >
60 > ./grub:
61 > fonts/ grubenv* locale/ themes/ x86_64-efi/
62 >
63 > ./grub/fonts:
64 > unicode.pf2*
65 >
66 > ./grub/locale:
67 > de.mo*
68 >
69 > ./grub/themes:
70 > starfield/
71 >
72 > ./grub/themes/starfield:
73 > blob_w.png* boot_menu_nw.png* COPYING.CC-BY-SA-3.0*
74 >
75 > [...]
76 >
77 > ./grub/x86_64-efi:
78 > acpi.mod* disk.mod* geli.mod*
79 > macbless.mod* parttool.lst* test.mod*
80 > adler32.mod* div_test.mod* gettext.mod*
81 > macho.mod*
82 >
83 > [...]
84 >
85 > ./loader:
86 > entries/ loader.conf*
87 >
88 > ./loader/entries:
89 > e55a6b6a09bd2b1c50216272545a8d1f-3.19-rc6.conf*
90
91 All OK again.
92
93
94 Can you create an entry for your kernel in 40_custom and test it?
95
96 Take a look at grub.cfg. I doubt that grub-mkconfig looks for a kernel
97 in '/boot/machine_id/kernel_version/' or that it recognizes 'kernel'
98 and 'initrd' as valid names for a kernel and an initramfs.

Replies

Subject Author
Re: [gentoo-user] grub -> gummiboot: good "Stefan G. Weichinger" <lists@×××××.at>