[Buildroot] Boot process stuck at "GRUB loading.." since 2021.02.1
Walter, Stefan
stefan.walter at iml.fraunhofer.de
Tue Oct 19 15:17:23 UTC 2021
Hi Peter,
> Can you try instead of your original
>
> /path/to/buildroot-sdk/host/bin/grub-mkimage \
> --config=grub_early.cfg \
> --directory=/path/to/buildroot-sdk/host/lib/grub/i386-pc \
> -o ./genimage_input_tmp/grub_core.img \
> --format=i386-pc \
> --prefix==/boot/grub \
> biosdisk part_msdos ext2 normal linux configfile
>
> the following one (makes the difference here for me with the qemu test):
>
> /path/to/buildroot-sdk/host/bin/grub-mkimage \
> --config=grub_early.cfg \
> --directory=/path/to/buildroot-sdk/build/grub2-2.04/build-i386-
> pc/grub-core \
> -o ./genimage_input_tmp/grub_core.img \
> --format=i386-pc \
> --prefix==/boot/grub \
> biosdisk part_msdos ext2 normal linux configfile
>
> Note the --directory change from the '.../host/lib/grub/i386-pc' (installed)
> directory to '.../build/grub2-2.04/build-i386-pc/grub-core' build directory (as
> the original buildroot
> grub2 install step uses to create images/grub.img...
there is no directory build/grub2-2.04/build-i386-pc, but there is a build/grub2.204/grub-core, which I assume you meant. I tried with that directory, and indeed, the resulting image boots.
Thank you for your help so far! I'll reference this in the issue at https://bugs.busybox.net/show_bug.cgi?id=14281.
Best regards,
Stefan
More information about the buildroot
mailing list