[yocto] installing iso images in legacy mode

Markus Volk f_l_k at t-online.de
Tue Aug 1 12:58:16 PDT 2017


I had some time to look at this issue today. Since grub was recently updated i tried using the old recipes from pyro. This fixed booting without efi. Then i had a look at meta/recipes-core/initrdscripts/files/init-install.sh

My suspicion was, that this line

grub_version=$(grub-install -v|sed 's/.* \([0-9]\).*/\1/')

turns out to be zero with grub-202, and thereby messes the whole thing up

Changing to:

grub_version=202

fixed my legacy boot problem.

:)

On Mon, 31 Jul 2017 17:27:07 +0200
Markus Volk <f_l_k at t-online.de> wrote:

> Iso Images (x86_64) created with the current master fail when trying to install using the legacy bios startup. Live boot from usb is fine, but when installing, i´m getting an error ... "/usr/share/locale" could not be found. After reboot i'm getting dropped to grub-shell, because the kernel could not be loaded.
> 
> When setting the bios startup to uefi mode, everything works as expected.
> 
> Has legacy pcbios mode been dropped or is this some kind of bug ?
> 
> -- 
> Markus Volk <f_l_k at t-online.de>
> -- 
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


-- 
Markus Volk <f_l_k at t-online.de>



More information about the yocto mailing list