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 <[email protected]> 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 <[email protected]>
> -- 
> _______________________________________________
> yocto mailing list
> [email protected]
> https://lists.yoctoproject.org/listinfo/yocto


-- 
Markus Volk <[email protected]>
-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to