On 29 Dec 2017, at 21:02, my First name is Test And my last Name is iPation <testipation@live.commailto:testipation@live.com> wrote:
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.
Actually, I were wrong, each UEFI system seems to use its own location: http://www.uefi.org/registry
I think my first attempt Coreboot+TianoCore + macOS failed because of macOS lastest filesystem (APFS), which is for now a bit "exotic". So, yes, I'll follow your hint, and first try Coreboot/TianoCore (on chip) + Grub2(EFI)/Ubuntu (on disk). And if it works, I will try it with the traditional EFI/HFS (on disk) macOS way (without APFS).
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). I’ve tried with Clover/macOS instead of Ubuntu, same result.
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). 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).
So for now, I’m stuck.. Maybe I’ll try Coreboot/Seabios/Duet(Tianocore)
Thanks Zoran.
________________________________ From: Zoran Stojsavljevic <zoran.stojsavljevic@gmail.commailto:zoran.stojsavljevic@gmail.com> Sent: Friday, December 29, 2017 8:37 PM To: my First name is Test And my last Name is iPation Cc: coreboot@coreboot.orgmailto:coreboot@coreboot.org; ron minnich Subject: Re: [coreboot] Coreboot with an UEFI payload to boot (Clover) an Thinkpad X230 Hackintosh
Hello Fred,
So in such a case you would replace/overwrite (in flash) UEFI BIOS with Coreboot + payload Tiano Core, which will boot GRUB 2.0 from drive, them show GRUB 2.0 boot menu with MacOS as one of the entries).
It's a good idea, I'll work on it. Thank you very much.
This is 100% duable: Coreboot + payload Tiano Core (flash), which will boot GRUB 2.0 from drive, then show GRUB 2.0 boot menu with original MacOS (if you can overwrite Clover with GRUB 2.0, not affecting MacOS).
I'll give you here the hint: you should see, using stock UEFI BIOS, /boot/efi directory, which is FAT32 formatted (if you can enter BIOS UEFI shell), where you can see either Clover executable (cloverx64.efi or similar name), either grubx64.efi, if you correctly have overwritten Clover with GRUB 2.0.
If you do not have ability to enter UEFI shell on stock UEFI BIOS, you can, using original MacOS probably see /boot. and find there efi/ directory, And inspect it yourself (maybe you can from MacOS overwrite Clover with GRUB 2.0, and do inspection at the spot).
As the addendum, you should take your Ubuntu HDD/SSD, installed with SeaBIOS as payload, then using Coreboot + payload Tiano Core in flash, reinstall from scratch Ubuntu (making it UEFI compatible).
In such a case, your SINGLE Coreboot + Tiano Core flash FW will satisfy all your needs, since you will use x230 with various UEFI compatible OSes. Either as multiboot OS system on large HDD/SSD, either swapping drives with UEFI compatible OSes. Your choice. :-)
Zoran
On Fri, Dec 29, 2017 at 7:58 PM, my First name is Test And my last Name is iPation <testipation@live.commailto:testipation@live.com> wrote:
From: Zoran Stojsavljevic <zoran.stojsavljevic@gmail.commailto:zoran.stojsavljevic@gmail.com> Sent: Friday, December 29, 2017 7:16 PM To: my First name is Test And my last Name is iPation Cc: coreboot@coreboot.orgmailto:coreboot@coreboot.org; ron minnich Subject: Re: [coreboot] Coreboot with an UEFI payload to boot (Clover) an Thinkpad X230 Hackintosh
Hi, I have a Thinkpad X230 with stock Bios,booting macOS High Sierra, using Clover EFI boot loader. And it's working great! Then I've went through the process of installing Coreboot/Seabios + Ubuntu on another disk, and it works like a charm too! However, I would like to use Coreboot+payload instead of the stock Bios, in order to boot Clover/macOS.
Let me try to decipher this spaghetti mess... First/Last name + The Coreboot list!
Sorry for the weird name.
You have a Thinkpad X230 with Stock BIOS on your flash. This one worked well with your HDD/SSD, on which you have Clover EFI boot loader, booting MacOS.
Yes.
You recently made Coreboot + SeaBIOS, and programmed it to your flash, erasing/overwriting stock BIOS. Then you install on other HDD/SSD Ubuntu using Coreboot + SeaBIOS flash, and it worked like a charm.
Yes.
Now, when you return back your initial HDD/SSD with Clover EFI boot loader and MacOS, it does not boot. It does NOT. You are using (SeaBIOS) Legacy bootloader which could NOT boot UEFI (UEFI installed) based OS (in this case MacOS).
No, I didn't returned back to my initial disk with macOS, because I know it wouldn't work.
I know there is TianoCore to boot UEFI systems. Has anyone Tried something similar ?
In order to make attempt to make your initial HDD/SSD (Clover EFI boot loader, booting MacOS) to work, you need to use Coreboot with Tiano Core payload. The problem here is how to pass Tiano Core thread of execution to Clover EFI boot loader (I have no slightest idea about that, and about Clover EFI bootloader).
In the mean time, I've just tried Coreboot+TianoCore payload, in order to boot my Clover+macOS disk, it didn't work, just a black screen. But I didn't got my hopes up, I were just trying.
My best guess it is similar to the problem if you had UEFI BIOS (programmed on flash) with GRUB 2.0 booting MacOS (I have no idea if this combination exists, I assume it does).
Yes it does, with Grub compiled --with-platform=efi
So in such a case you would replace/overwrite (in flash) UEFI BIOS with Coreboot + payload Tiano Core, which will boot GRUB 2.0 from drive, them show GRUB 2.0 boot menu with MacOS as one of the entries).
It's a good idea, I'll work on it. Thank you very much.
Fred
I hope this helps... .. . I really do.
Zoran _______
On Fri, Dec 29, 2017 at 6:13 PM, my First name is Test And my last Name is iPation <testipation@live.commailto:testipation@live.com> wrote:
Hi, I have a Thinkpad X230 with stock Bios, booting macOS High Sierra, using Clover EFI boot loader. And it's working great!
Then I've went through the process of installing Coreboot/Seabios + Ubuntu on another disk, and it works like a charm too!
However, I would like to use Coreboot+payload instead of the stock Bios, in order to boot Clover/macOS.
I know there is TianoCore to boot UEFI systems. Has anyone Tried something similar ?
Thanks.
-- coreboot mailing list: coreboot@coreboot.orgmailto:coreboot@coreboot.org https://mail.coreboot.org/mailman/listinfo/coreboot
coreboot Info Pagehttps://mail.coreboot.org/mailman/listinfo/coreboot mail.coreboot.orghttp://mail.coreboot.org coreboot project mailing list. To see the collection of prior postings to the list, visit the coreboot Archives. Using coreboot
coreboot Info Page mail.coreboot.orghttp://mail.coreboot.org/ coreboot project mailing list. To see the collection of prior postings to the list, visit the coreboot Archives. Using coreboot
-- coreboot mailing list: coreboot@coreboot.orgmailto:coreboot@coreboot.org https://mail.coreboot.org/mailman/listinfo/coreboot