Re: [yocto] installing iso images in legacy mode
Perhaps the issue should be fixed by making this switch static ? On Tue, 1 Aug 2017 21:58:16 +0200 Markus Volk 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 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 > > -- > > ___ > > yocto mailing list > > yocto@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/yocto > > > -- > Markus Volk > -- > ___ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- Markus Volk 0001-init-install.sh-fix-grub-install-for-legacy-pcbios.patch Description: Binary data -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] installing iso images in legacy mode
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 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 > -- > ___ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- Markus Volk -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] installing iso images in legacy mode
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 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto