third party UEFI bootloader apply in ROS?

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

Post Reply
Quim
Posts: 256
Joined: Wed Jul 04, 2018 11:45 pm

third party UEFI bootloader apply in ROS?

Post by Quim »

Could this UEFI bootloader be used or even included in ReactOS?
https://mjg59.dreamwidth.org/20303.html
I'm pleased to say that a usable version of shim is now available for download. As I discussed here, this is intended for distributions that want to support secure boot but don't want to deal with Microsoft. To use it, rename shim.efi to bootx64.efi and put it in /EFI/BOOT on your UEFI install media. Drop MokManager.efi in there as well. Finally, make sure your bootloader binary is called grubx64.efi and put it in the same directory.

Now generate a certificate and put the public half as a binary DER file somewhere on your install media. On boot, the end-user will be prompted with a 10-second countdown and a menu. Choose "Enroll key from disk" and then browse the filesystem to select the key and follow the enrolment prompts. Any bootloader signed with that key will then be trusted by shim, so you probably want to make sure that your grubx64.efi image is signed with it.
https://mjg59.dreamwidth.org/20303.html
Last edited by Quim on Fri Feb 28, 2020 12:03 am, edited 1 time in total.

Quim
Posts: 256
Joined: Wed Jul 04, 2018 11:45 pm

Re: third party UEFI bootloader apply iin ROS?

Post by Quim »

Developer´s answer (mjg59) :
Shim will chainload any signed EFI executable, so if ReactOS and Haiku have UEFI bootloaders then you should be able to sign them, enroll a key with this shim and boot them appropriately.
Any volunteers testers? I don´t have a machine with UEFI, just with old BIOS.

ThFabba
Developer
Posts: 291
Joined: Sun Jul 11, 2010 11:39 am

Re: third party UEFI bootloader apply iin ROS?

Post by ThFabba »

if ReactOS and Haiku have UEFI bootloaders
That's the important part here -- we don't have a working UEFI loader, so signing stuff is not useful yet. Way down the line, maybe.

Quim
Posts: 256
Joined: Wed Jul 04, 2018 11:45 pm

Re: third party UEFI bootloader apply iin ROS?

Post by Quim »

ThFabba wrote:
Fri Dec 28, 2018 9:42 am
if ReactOS and Haiku have UEFI bootloaders
That's the important part here -- we don't have a working UEFI loader, so signing stuff is not useful yet. Way down the line, maybe.
When that part is finally completed, you can use this third party UEFI bootloader. Don´t forget it (https://mjg59.dreamwidth.org/20303.html ) !

Quim
Posts: 256
Joined: Wed Jul 04, 2018 11:45 pm

Re: third party UEFI bootloader apply iin ROS?

Post by Quim »

ThFabba wrote:
Fri Dec 28, 2018 9:42 am
if ReactOS and Haiku have UEFI bootloaders
That's the important part here -- we don't have a working UEFI loader, so signing stuff is not useful yet. Way down the line, maybe.
Have Windows XP/Server 2003 an unofficial UEFI support to test this efi loader in this OSes first?
And also someone (that has a secondary UEFI testing machine) has tested this efi loader in Windows 7 under real UEFI hardware?

Quim
Posts: 256
Joined: Wed Jul 04, 2018 11:45 pm

Re: third party UEFI bootloader apply in ROS?

Post by Quim »

This also could be useful: https://sourceforge.net/projects/refind/

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 14 guests