[yocto] installing iso images in legacy mode
Markus Volk
f_l_k at t-online.de
Wed Aug 2 00:48:05 PDT 2017
Perhaps the issue should be fixed by making this switch static ?
On Tue, 1 Aug 2017 21:58:16 +0200
Markus Volk <f_l_k at t-online.de> wrote:
> 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>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
--
Markus Volk <f_l_k at t-online.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-init-install.sh-fix-grub-install-for-legacy-pcbios.patch
Type: application/octet-stream
Size: 4241 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170802/f5f4b594/attachment.obj>
More information about the yocto
mailing list