Friday 21 August 2015

Re: ISO generator for LoCo teams - UEFI booting language setting

Hi Timo,

On Thu, Aug 20, 2015 at 07:26:01PM +0300, Timo Jyrinki wrote:
> 2014-11-10 8:25 GMT+02:00 Timo Jyrinki <timo.jyrinki@gmail.com>:
> > The pseudo-script (really needs copy-pasting sections instead of
> > executing) I've used to create it is at
> > https://code.launchpad.net/ubuntu-fi-remix

> All is still working for both UEFI and Legacy boot users with the
> Ubuntu 14.04.3 LTS Finnish Remix I released during a weekend after the
> release: http://ubuntu.trumpetti.atm.tut.fi/ubuntu-finnish-remix/14.04/

> But I did have a persisting problem where I'd like to hear some input:

> Is it possible to set the default language on UEFI boot, or is it
> somehow restricted due to Secure Boot signing or such? Neither the
> simple method I use (echo fi | sudo tee extract-cd/isolinux/lang) nor
> the gfxboot hack mentioned at
> https://help.ubuntu.com/community/LiveCDCustomization has an effect -
> UEFI boots always in English.

> Optimally the language would be set for the boot menu already, since
> on UEFI the boot menu is always shown unlike on Legacy boot where
> there's just the icon if no input is given. But if that's not
> possible, maybe setting it before the desktop or installer starts?

I haven't looked in any detail at how changing the default language is done
for live images, but what I can tell you is that any configuration changes
that you can make via grub.cfg are allowed under SecureBoot. So if you can
figure out what your grub.cfg should look like for this, then it should be
possible to do.

Anything that refers to gfxboot is not relevant, because we don't use
(BIOS-only) gfxboot under UEFI.

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek@ubuntu.com vorlon@debian.org