Gentoo Archives: gentoo-user

From: "Stefan G. Weichinger" <lists@×××××.at>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] grub -> gummiboot: good
Date: Wed, 28 Jan 2015 18:24:03
Message-Id: 54C92936.4080600@xunil.at
In Reply to: Re: [gentoo-user] grub -> gummiboot: good by Neil Bothwick
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On 28.01.2015 01:36, Neil Bothwick wrote:
5 > On Wed, 28 Jan 2015 00:40:32 +0100, Stefan G. Weichinger wrote:
6 >
7 >>> No need for chainloading with UEFI. Set Gummiboot as the
8 >>> default boot option and hold down Esc (or whichever key your
9 >>> motherboard uses, it would have been nice if UEFI had
10 >>> standardised that too) when booting if you want Grub instead
11 >>
12 >> So I would have to have grub-2.x and gummiboot installed in
13 >> parallel? Both as UEFI-"boot-entries", right?
14 >
15 > Yes. When I first tried Gummiboot, I left Grub as the default until
16 > I was happy with Gummiboot, then I changed the default with
17 > efibootmgr.
18
19
20 And what is your partitioning and fstab?
21
22 gummiboot wants all inside the ESP and this mounted at /boot:
23
24
25 # grep boot /etc/fstab
26 UUID=E004-1D89 /boot vfat auto 1 2
27
28
29 The gentoo GRUB2 wiki tells me to mount that at /boot/efi ...
30
31 And grub2 fails to install now (with or without --boot-directory):
32
33 # grub2-install --target=x86_64-efi --boot-directory=/boot
34 Installing for x86_64-efi platform.
35 grub2-install: error: cannot find EFI directory.
36
37 I am *sure* that I have some crap in my ESP ... from my initial
38 fiddling back then.
39
40 See the current tree:
41
42 boot # tree
43 .
44 ├── e55a6b6a09bd2b1c50216272545a8d1f
45 │ ├── 3.18.3-gentoo
46 │ │ ├── initrd
47 │ │ └── kernel
48 │ └── 3.19-rc6
49 │ ├── initrd
50 │ └── kernel
51 ├── efi
52 │ ├── boot
53 │ │ ├── bootx64.efi
54 │ │ ├── grub.cfg
55 │ │ └── x86_64-efi
56 │ │ ├── acpi.mod
57 │ │ ├── adler32.mod
58 │ │ ├── affs.mod
59 │ │ ├── afs.mod
60 │ │ ├──
61
62 [...]
63
64
65 │ ├── gentoo
66 │ │ └── grubx64.efi
67 │ ├── grub
68 │ │ ├── ascii.pf2
69 │ │ └── unicode.pf2
70 │ └── gummiboot
71 │ └── gummibootx64.efi
72 ├── grub
73 │ └── grub
74 └── loader
75 ├── entries
76 │ ├── e55a6b6a09bd2b1c50216272545a8d1f-3.18.3-gentoo.conf
77 │ ├── e55a6b6a09bd2b1c50216272545a8d1f-3.19-rc6.conf
78 │ └── gentoo.conf
79 └── loader.conf
80
81 Note: the stuff in efi/boot configured grub2 until a few days ago.
82
83 - -
84
85
86 And current efibootmgr:
87
88 # efibootmgr
89
90 ** Warning ** : Boot000a is not EFI 1.10 compliant (lowercase hex in name)
91 ** Warning ** : please recreate these using efibootmgr to remove this
92 warning.
93 BootCurrent: 0008
94 Timeout: 0 seconds
95 BootOrder: 0008,0001,0002,0009,0000,0005,0006,000A
96 Boot0000* Linux Boot Manager
97 Boot0001* USB Floppy/CD
98 Boot0002* USB Hard Drive
99 Boot0005 USB Floppy/CD
100 Boot0006 Hard Drive
101 Boot0008* UEFI: Samsung SSD 840 EVO 250GB
102 Boot0009* ATAPI CD-ROM Drive
103 Boot000a Unknown Device
104
105
106 I would appreciate any help to clean that up and get both gummiboot
107 and GRUB2 installed as parallel UEFI applications.
108
109 Currently gummiboot works very well!
110
111 Thanks,
112 Stefan
113
114 -----BEGIN PGP SIGNATURE-----
115 Version: GnuPG v2
116
117 iQIcBAEBAgAGBQJUySk2AAoJEClcuD1V0PzmEkMP+wS4Xu2RfTsUSXctzRi5KR65
118 eHxlvOf6vSXGcFFwPmmFHi0AHF6ZdzrMUtSK7/b1laxnEZtKHDpMqthB5u99nlnC
119 LVDUIu4+s/wfhrurX7+Po2YLVD6p51/0JSA3vOBErKiHaCf8/GBZ1WNAUuUbNYNy
120 CJrgHibxiCH+Kxh4v6t7nFRL2X0deJYu/Bl5FnKkd3na7fXwOvIdv67Gvqir8Mim
121 Z97AYIDOd7BO8uGCBDULK7HRoUDzrDAJ9mtDrRO/EjSml+9m6iFzNosOPqeNfFYC
122 aOHF8jpt47dv2moy0zMS5QG81V3mdUZFkoz6yhct3OQB4b189sTPbkbo7E/rNcPn
123 PyxyfQXyDgI8Zjj9w9ee7tP+IamSQqRe5cc0sSdp60SNzVNiBwrJVwS2Eh8tm7IT
124 cBa39Ib7m7A7Y6MOrOPBKnkZnQcckAgi/VDLO1powfsskh+UBuSJea6TcR1Zb8kZ
125 Cc3l9P1xTzwdf4EHLikYA2/yK2RQmNN/SuzMQ+A8uqdnH611EEEqP+gKH5z5Z6ab
126 Yyo9UtG6UqY78wyyNqNEpCcr2M9GyachWEHWuPGDLDNlGSGI5S+5s5xvkZq+GqtC
127 2tomsm4BDolqMuW/eFB2Hdh8DtG/i3ytjnmGMjp+36dUSGNGbackvC9caZjqgu0c
128 NVWrQb7vkm7ssESUey3x
129 =mFKy
130 -----END PGP SIGNATURE-----

Replies

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