[Bug 1341944] Re: 32-Bit UEFI bootloader support needed

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Jun 7 22:26:08 UTC 2015


I'd also like to add my voice on having someone look into it. All it should require is running grub-mkimage a second time with -o bootia32.efi -O i386-efi.
To summarize instructions found elsewhere to fix this yourself:
Install grub-efi-ia32-bin
Run something like (a bit unsure about which modules are actually needed):
grub-mkimage -o bootia32.efi -O i386-efi -p /EFI/BOOT ntfs hfs appleldr boot cat efi_gop efi_uga elf fat hfsplus iso9660 linux keylayouts memdisk minicmd part_apple ext2 extcmd xfs xnu part_bsd part_gpt search search_fs_file chain btrfs loadbios loadenv lvm minix minix2 reiserfs memrw mmap msdospart scsi loopback normal configfile gzio all_video efi_gop efi_uga gfxterm gettext echo boot chain eval ls test sleep png gfxmenu
Then somehow get the bootia32.efi on the boot media in the location where the bootx64.efi is located (normally under BOOT/EFI on some FAT16 partition).

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1341944

Title:
  32-Bit UEFI bootloader support needed

Status in grub2 package in Ubuntu:
  Confirmed

Bug description:
  As of now, Ubuntu and other major Linux distributions do not support
  the use of a 32-bit EFI bootloader on UEFI machines. This has become
  extremely problematic due to the popularity of Intel Atom-based
  tablets and compact laptops. Atom-based devices are generally limited
  in storage space (32GB or 64GB eMMC is common), and as a result these
  devices almost universally ship with Windows 8.1 32-bit installed
  (winsxs consumes a significant amount of storage space in order to
  support 32-bit binaries in a 64-bit environment). By design, UEFI must
  use the same architecture used by the bootloader.

  While most modern computers indeed use a 64-bit UEFI implementation
  due to the fact that new computers generally ship with a 64-bit
  operating system (be it OS X or Windows 8.1), Atom-based devices do
  *not* use a 64-bit operating system or UEFI implementation. This is by
  design.

  Intel released a new Atom iteration (Bay Trail) in late 2013 and has
  indicated that they will continue to develop and release Atom CPUs due
  to consumer market demand. At the time of this filing there are a
  number of Atom-based tablets and compact laptops/netbooks being
  actively sold and marketed by major OEMs including Dell, HP, ASUS, and
  Acer. None of these devices have 64-bit UEFI firmware. It is also
  important to note that these Atom CPUs are 64-bit, but explicitly
  require a 32-bit UEFI bootloader.

  The current Linux kernel in Ubuntu 14.04 does support booting the
  64-bit signed kernel from a 32-bit Grub EFI bootloader. I can confirm
  this on at least two 32-bit UEFI devices, the ASUS Transformer T100TA
  and the Acer Aspire Switch 10. Unfortunately, the lack of official
  32-bit EFI bootloader support in Ubuntu makes accomplishing this far
  from trivial and beyond the capacity of many users new to Linux as an
  alternative to Microsoft Windows.

  This bug is currently marked as a security vulnerability due to the
  fact that as of now, it is necessary to compile Grub2 32-bit EFI
  manually in order to boot Linux. This negates the digital signature
  check that allows keeping Secure Boot enabled on modern UEFI-based
  machines.

  Considering the above, it is very important to include a 32-bit UEFI
  bootloader as an update to Grub2 in Trusty and all future releases of
  Ubuntu.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1341944/+subscriptions



More information about the foundations-bugs mailing list