Retreval of Grub x86 binary from OpenWRT Repo

Hi there,

I am writing some scripts for installing and upgrading OpenWRT on X86 systems with an a/b partition layout scheme.

https://github.com/0x0000ff/openwrt-ab-installer

I'm looking for a way to retrieve the OpenWRT grub binary, as opposed to the whole boot partition image from the OpenWRT servers to keep keep the script as minimal as I can. Is there a way to do that?

Thanks,

IIRC, someone CMIIW: That binary is not stored anywhere on its own because it's not compiled on its own. OpenWrt builds its grub from source at build time, with some patches and configs applied, directly before adding it to the images. You could try looking into the x86 ImageBuilder archive, it should contain a pre-built grub binary, but I'm not sure that would satisfy your "keeping it minimal" approach.

As an x86 user, I'm very much interested in your dual-boot approach, though. (NB: Your link, if correct, points to a private repository.)

2 Likes