[Buildroot] Fwd: Re: grub2 failure with gcc-4.9

Steve Kenton skenton at ou.edu
Thu Feb 19 16:03:24 UTC 2015

On 02/19/2015 09:46 AM, Thierry Bultel wrote:

>>>>  ... grub hangs.
>> I'm not sure if it's related but I think we are mixing host and
>> target grub2. When you run ~output/host/usr/sbin/grub-install
>> any scripts it runs such as grub-mkimage are run from the
>> build hosts /usr/... and not buildroot HOSTDIR or TARGETDIR
>> I have been getting elf header mismatches which I think are
>> differences between grub 2.00 and grub 2.01-beta
> Thanks Steve,
> FYI,
> I am not using grub-install, but instead:
> sudo ./host/usr/sbin/grub-bios-setup \
> -b ./host/usr/lib/grub/i386-pc/boot.img \
> -c ./images/grub.img -d . /dev/sde
> I have notified the grub mailing list, this seems to be an unknown issue and I need to fill a bug report. (and first try with 2.01-beta ...)
> Thierry
Yep, that's the correct way, I just wanted to mention that grub-install
is an easy trap to fall into if you let your fingers run on auto-pilot.
And it can produce subtle and hard to recognize problems which sounded
familiar :-)


More information about the buildroot mailing list