<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 29 Dec 2017, at 21:02, my First name is Test And my last Name is iPation <<a href="mailto:testipation@live.com" class="">testipation@live.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div id="divtagdefaultwrapper" dir="ltr" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Yes, I know that, whether I use Clover or Grub2, they both use a small fat32 EFI partition, which hold the same file /efi/boot/bootx64.efi in order to boot their OSes.<br class="">
</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
Actually, I were wrong, each UEFI system seems to use its own location: <a href="http://www.uefi.org/registry" class="">
http://www.uefi.org/registry</a></div>
<div> </div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">
<div id="divtagdefaultwrapper" dir="ltr" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">I think my first attempt Coreboot+TianoCore + macOS failed because of macOS lastest filesystem (APFS), which is for now a bit "exotic".</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">So, yes, I'll follow your hint, and first try Coreboot/TianoCore (on chip) + Grub2(EFI)/Ubuntu (on disk).</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">And if it works, I will try it with the traditional EFI/HFS (on disk) macOS way (without APFS).</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>So I’ve tried Coreboot/TianoCore (on chip) + Grub2(EFI)/Ubuntu (on disk), and it did’t worked. I have a black screen with a blinking cursor (top left screen).</div>
<div>I’ve tried with Clover/macOS instead of Ubuntu, same result.</div>
<div><br class="">
</div>
<div>In the mean time, I’ve tried the stock UEFI Bios (on chip) + Grub2(EFI)/Ubuntu (on 1st disk, 1st to boot) + Clover(EFI)/macOS (on 2nd disk), well, Grub(EFI) can boot Clover (which boot macOS).</div>
<div>So I’ve tried to build a Grub2 EFI as payload for Coreboot, but without success. When building Grub2, there is the "—with-plaform=" option, and it’s either —with-plaform=coreboot or —with-plaform=efi. It doesn’t seem to be possible to select both. And
of course Grub2 build —with-plaform=coreboot cannot boot Clover (nor macOS).</div>
<div><br class="">
</div>
<div>So for now, I’m stuck.. Maybe I’ll try Coreboot/Seabios/Duet(Tianocore)</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div id="divtagdefaultwrapper" dir="ltr" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Thanks Zoran.</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<br class="">
<div style="" class="">
<hr tabindex="-1" style="display: inline-block; width: 476.265625px;" class="">
<div id="divRplyFwdMsg" dir="ltr" class=""><font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class="">From:</b><span class="Apple-converted-space"> </span>Zoran Stojsavljevic <<a href="mailto:zoran.stojsavljevic@gmail.com" class="">zoran.stojsavljevic@gmail.com</a>><br class="">
<b class="">Sent:</b><span class="Apple-converted-space"> </span>Friday, December 29, 2017 8:37 PM<br class="">
<b class="">To:</b><span class="Apple-converted-space"> </span>my First name is Test And my last Name is iPation<br class="">
<b class="">Cc:</b><span class="Apple-converted-space"> </span><a href="mailto:coreboot@coreboot.org" class="">coreboot@coreboot.org</a>; ron minnich<br class="">
<b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [coreboot] Coreboot with an UEFI payload to boot (Clover) an Thinkpad X230 Hackintosh</font>
<div class=""> </div>
</div>
<div class="BodyFragment"><font size="2" class=""><span style="font-size: 11pt;" class="">
<div class="PlainText">Hello Fred,<br class="">
<br class="">
> > So in such a case you would replace/overwrite (in flash) UEFI BIOS<br class="">
> > with Coreboot + payload Tiano Core, which will boot GRUB 2.0 from<br class="">
> > drive, them show GRUB 2.0 boot menu with MacOS as one of the entries).<br class="">
><br class="">
> It's a good idea, I'll work on it. Thank you very much.<br class="">
<br class="">
This is 100% duable: Coreboot + payload Tiano Core (flash), which will<br class="">
boot GRUB 2.0 from drive, then show GRUB 2.0 boot menu with original<br class="">
MacOS (if you can overwrite Clover with GRUB 2.0, not affecting<br class="">
MacOS).<br class="">
<br class="">
I'll give you here the hint: you should see, using stock UEFI BIOS,<br class="">
/boot/efi directory, which is FAT32 formatted (if you can enter BIOS<br class="">
UEFI shell), where you can see either Clover executable (cloverx64.efi<br class="">
or similar name), either grubx64.efi, if you correctly have<br class="">
overwritten Clover with GRUB 2.0.<br class="">
<br class="">
If you do not have ability to enter UEFI shell on stock UEFI BIOS, you<br class="">
can, using original MacOS probably see /boot. and find there efi/<br class="">
directory, And inspect it yourself (maybe you can from MacOS overwrite<br class="">
Clover with GRUB 2.0, and do inspection at the spot).<br class="">
<br class="">
As the addendum, you should take your Ubuntu HDD/SSD, installed with<br class="">
SeaBIOS as payload, then using Coreboot + payload Tiano Core in flash,<br class="">
reinstall from scratch Ubuntu (making it UEFI compatible).<br class="">
<br class="">
In such a case, your SINGLE Coreboot + Tiano Core flash FW will<br class="">
satisfy all your needs, since you will use x230 with various UEFI<br class="">
compatible OSes. Either as multiboot OS system on large HDD/SSD,<br class="">
either swapping drives with UEFI compatible OSes. Your choice. :-)<br class="">
<br class="">
Zoran<br class="">
<br class="">
On Fri, Dec 29, 2017 at 7:58 PM, my First name is Test And my last<br class="">
Name is iPation <<a href="mailto:testipation@live.com" class="">testipation@live.com</a>> wrote:<br class="">
><br class="">
><br class="">
><br class="">
><br class="">
><br class="">
> From: Zoran Stojsavljevic <<a href="mailto:zoran.stojsavljevic@gmail.com" class="">zoran.stojsavljevic@gmail.com</a>><br class="">
> Sent: Friday, December 29, 2017 7:16 PM<br class="">
> To: my First name is Test And my last Name is iPation<br class="">
> Cc: <a href="mailto:coreboot@coreboot.org" class="">coreboot@coreboot.org</a>; ron minnich<br class="">
> Subject: Re: [coreboot] Coreboot with an UEFI payload to boot (Clover) an<br class="">
> Thinkpad X230 Hackintosh<br class="">
><br class="">
><br class="">
>> Hi, I have a Thinkpad X230 with stock Bios,booting<br class="">
>> macOS High Sierra, using Clover EFI boot loader.<br class="">
>> And it's working great! Then I've went through the<br class="">
>> process of installing Coreboot/Seabios + Ubuntu on<br class="">
>> another disk, and it works like a charm too! However,<br class="">
>> I would like to use Coreboot+payload instead of the<br class="">
>> stock Bios, in order to boot Clover/macOS.<br class="">
><br class="">
> Let me try to decipher this spaghetti mess... First/Last name + The<br class="">
> Coreboot list!<br class="">
><br class="">
> Sorry for the weird name.<br class="">
><br class="">
><br class="">
> You have a Thinkpad X230 with Stock BIOS on your flash. This one<br class="">
> worked well with your HDD/SSD, on which you have Clover EFI boot<br class="">
> loader, booting MacOS.<br class="">
><br class="">
> Yes.<br class="">
><br class="">
><br class="">
> You recently made Coreboot + SeaBIOS, and programmed it to your flash,<br class="">
> erasing/overwriting stock BIOS. Then you install on other HDD/SSD<br class="">
> Ubuntu using Coreboot + SeaBIOS flash, and it worked like a charm.<br class="">
><br class="">
> Yes.<br class="">
><br class="">
><br class="">
> Now, when you return back your initial HDD/SSD with Clover EFI boot<br class="">
> loader and MacOS, it does not boot. It does NOT. You are using<br class="">
> (SeaBIOS) Legacy bootloader which could NOT boot UEFI (UEFI installed)<br class="">
> based OS (in this case MacOS).<br class="">
><br class="">
> No, I didn't returned back to my initial disk with macOS, because I know it<br class="">
> wouldn't work.<br class="">
><br class="">
><br class="">
><br class="">
>> I know there is TianoCore to boot UEFI systems.<br class="">
>> Has anyone Tried something similar ?<br class="">
><br class="">
> In order to make attempt to make your initial HDD/SSD (Clover EFI boot<br class="">
> loader, booting MacOS) to work, you need to use Coreboot with Tiano<br class="">
> Core payload. The problem here is how to pass Tiano Core thread of<br class="">
> execution to Clover EFI boot loader (I have no slightest idea about<br class="">
> that, and about Clover EFI bootloader).<br class="">
><br class="">
> In the mean time, I've just tried Coreboot+TianoCore payload, in order to<br class="">
> boot my Clover+macOS disk, it didn't work, just a black screen. But I didn't<br class="">
> got my hopes up, I were just trying.<br class="">
><br class="">
><br class="">
><br class="">
> My best guess it is similar to the problem if you had UEFI BIOS<br class="">
> (programmed on flash) with GRUB 2.0 booting MacOS (I have no idea if<br class="">
> this combination exists, I assume it does).<br class="">
><br class="">
> Yes it does, with Grub compiled --with-platform=efi<br class="">
><br class="">
><br class="">
><br class="">
> So in such a case you would replace/overwrite (in flash) UEFI BIOS<br class="">
> with Coreboot + payload Tiano Core, which will boot GRUB 2.0 from<br class="">
> drive, them show GRUB 2.0 boot menu with MacOS as one of the entries).<br class="">
><br class="">
> It's a good idea, I'll work on it. Thank you very much.<br class="">
><br class="">
> Fred<br class="">
><br class="">
><br class="">
> I hope this helps... .. . I really do.<br class="">
><br class="">
> Zoran<br class="">
> _______<br class="">
><br class="">
> On Fri, Dec 29, 2017 at 6:13 PM, my First name is Test And my last<br class="">
> Name is iPation <<a href="mailto:testipation@live.com" class="">testipation@live.com</a>> wrote:<br class="">
>> Hi, I have a Thinkpad X230 with stock Bios, booting macOS High Sierra,<br class="">
>> using<br class="">
>> Clover EFI boot loader. And it's working great!<br class="">
>><br class="">
>> Then I've went through the process of installing Coreboot/Seabios + Ubuntu<br class="">
>> on another disk, and it works like a charm too!<br class="">
>><br class="">
>> However, I would like to use Coreboot+payload instead of the stock Bios,<br class="">
>> in<br class="">
>> order to boot Clover/macOS.<br class="">
>><br class="">
>> I know there is TianoCore to boot UEFI systems. Has anyone Tried something<br class="">
>> similar ?<br class="">
>><br class="">
>> Thanks.<br class="">
>><br class="">
>><br class="">
>> --<br class="">
>> coreboot mailing list: <a href="mailto:coreboot@coreboot.org" class="">coreboot@coreboot.org</a><br class="">
>><span class="Apple-converted-space"> </span><a href="https://mail.coreboot.org/mailman/listinfo/coreboot" id="LPlnk344445" previewremoved="true" class="">https://mail.coreboot.org/mailman/listinfo/coreboot</a>
<div id="LPBorder_GT_15145768865300.8168751606484665" style="margin-bottom: 20px; overflow: auto; width: 486px; text-indent: 0px;" class="">
<table id="LPContainer_15145768865260.7945548362139956" role="presentation" cellspacing="0" style="width: 437.390625px; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top-width: 1px; border-top-style: dotted; border-top-color: rgb(200, 200, 200); border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(200, 200, 200);" class="">
<tbody class="">
<tr valign="top" style="border-spacing: 0px;" class="">
<td id="TextCell_15145768865270.49532230650262044" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" class="">
<div id="LPRemovePreviewContainer_15145768865270.6263669067877269" class=""></div>
<div id="LPTitle_15145768865270.21625229481019137" style="top: 0px; color: rgb(0, 120, 215); font-weight: 400; font-size: 21px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;" class="">
<a id="LPUrlAnchor_15145768865280.15081332860700192" href="https://mail.coreboot.org/mailman/listinfo/coreboot" target="_blank" style="text-decoration: none;" class="">coreboot Info Page</a></div>
<div id="LPMetadata_15145768865290.668163975140773" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;" class="">
<a href="http://mail.coreboot.org" class="">mail.coreboot.org</a></div>
<div id="LPDescription_15145768865300.38034407325012354" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;" class="">
coreboot project mailing list. To see the collection of prior postings to the list, visit the coreboot Archives. Using coreboot</div>
</td>
</tr>
</tbody>
</table>
</div>
<br class="">
><br class="">
><br class="">
> coreboot Info Page<br class="">
><span class="Apple-converted-space"> </span><a href="http://mail.coreboot.org/" class="">mail.coreboot.org</a><br class="">
> coreboot project mailing list. To see the collection of prior postings to<br class="">
> the list, visit the coreboot Archives. Using coreboot<br class="">
><br class="">
</div>
</span></font></div>
</div>
</div>
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">--<span class="Apple-converted-space"> </span></span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">coreboot
mailing list:<span class="Apple-converted-space"> </span></span><a href="mailto:coreboot@coreboot.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">coreboot@coreboot.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="https://mail.coreboot.org/mailman/listinfo/coreboot" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://mail.coreboot.org/mailman/listinfo/coreboot</a></div>
</blockquote>
</div>
<br class="">
</body>
</html>