Gentoo Archives: gentoo-user

From: Tom H <tomh0665@×××××.com>
To: Gentoo User <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Bootloaders: SILENT CRISIS!!!
Date: Tue, 31 Jan 2017 18:13:20
Message-Id: CAOdo=SwFYhPjR4vSK_z2OVTjjN7z6N+56iHY8LXhpT=vzZ5zSQ@mail.gmail.com
In Reply to: Re: [gentoo-user] Bootloaders: SILENT CRISIS!!! by Mick
1 On Mon, Jan 30, 2017 at 1:54 PM, Mick <michaelkintzios@×××××.com> wrote:
2 > On Monday 30 Jan 2017 06:10:47 Tom H wrote:
3 >>
4 >> AFAIK, since the advent of defaulting to CoreStorage (OS X 10.10? - OS
5 >> X's equivalent of LVM) and full-disk encryption (OS X 10.10?),
6 >> bootx64.efi/boot.efi cannot be loaded from disk0s2.
7 >
8 > I suspect you're right ...
9 >
10 > This is what my MBP EFI reports:
11 >
12 > # efibootmgr -v
13 > BootCurrent: 0000
14 > Timeout: 5 seconds
15 > BootOrder: 0000,0080
16 > Boot0000* Gentoo-4.4.39-28_Jan HD(1,GPT,a28905fe-b74d-46b3-b68b-
17 > ee342a73f72b,0x28,0x64000)/File(\EFI\LINUX\bootx64-4.4.39-gentoo.efi)
18 > Boot0080* Mac OS X
19 > PciRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x0)/Sata(0,0,0)/HD(3,GPT,15fd7906-
20 > a899-4912-b52b-3e034f7a62ea,0xdcfa748,0x135f20)
21 > Boot0081* Mac OS X
22 > PciRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x0)/Sata(0,0,0)/HD(3,GPT,15fd7906-
23 > a899-4912-b52b-3e034f7a62ea,0xdcfa748,0x135f20)
24 > Boot0082*
25 > PciRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x0)/Sata(0,0,0)/HD(3,GPT,15fd7906-
26 > a899-4912-b52b-3e034f7a62ea,0xdcfa748,0x135f20)
27 > BootFFFF*
28 > PciRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x0)/Sata(0,0,0)/HD(2,GPT,41293e5b-9bdc-405a-
29 > ba22-5ece4b11f91e,0x64028,0x1bb18c80)/File(\System\Library\CoreServices\boot.efi)
30 >
31 > Both Boot0080 and Boot0081 are on the 3 partition. BootFFFF points to the
32 > \System\Library\CoreServices\boot.efi file on the 2nd partition. However, there
33 > same path and file also exists on the 3rd partition, but as you mention the 3rd
34 > partition is unencrypted.
35
36 On my MacBook, bought in December, un-upgraded and un-linuxed:
37
38 # nvram -p | grep efi-boot-device
39 efi-boot-device
40 <array><dict><key>IOMatch</key><dict><key>IOProviderClass</key><string>IOMedia</string><key>IOPropertyMatch</key><dict><key>UUID</key><string>B6F965B2-2CF9-4A9E-85EA-544300583A35</string></dict></dict><key>BLLastBSDName</key><string>disk0s3</string></dict></array>%00
41 efi-boot-device-data
42 %02%01%0c%00%d0A%03%0a%00%00%00%00%01%01%06%00%00%1c%01%01%06%00%00%00%03%16%10%00%01%00%00%00%f9
43 %16X7%02%05%00%04%01*%00%03%00%00%00,BE%07%00%00%00%00%e4k%02%00%00%00%00%00%b2e%f9%b6%f9,%9eJ%85%eaTC%00X:5%02%02%7f%ff%04%00
44 #