Make Ubuntu 32-bit ISO image directly installable on UEFI machine
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2-signed (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
ubiquity (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Only with a workaround I can install Ubuntu 32-bit on a UEFI machine:
- First install Ubuntu 64-bit on a temporary partition.
- Then install Ubuntu 32-bit with ubiquity -b
- Start Ubuntu 64-bit and run update-grub.
- Start Ubuntu 32-bit.
To make Ubuntu 32-bit update-proof I can run:
sudo apt install grub-efi-amd64
sudo mount /dev/sda1 /boot/efi
sudo grub-install --efi-directory /boot/efi --force-
After I can delete the temporary Ubuntu 64-bit installation
To make Ubuntu 32-bit again bootable with UEFI secure boot I can additionally run:
sudo dpkg --add-architecture amd64
sudo apt-get update
sudo dpkg --install Download/
sudo dpkg-reconfigure grub-efi-
sudo grub-install
sudo apt-get install shim
sudo dpkg-reconfigure grub-efi-
sudo dpkg-reconfigure shim
sudo grub-install
Please make this possible directly with the Ubuntu 32-bit ISO image !
Rationale: The recommended 64-bit Ubuntu and 64-bit applications need up to 30 % more RAM so the pain of swapping occurs more likely and on UEFI-machines with few resources such as Netbooks. Their 64-bit applications often perform up to 30 % slower than 32-bit applications, e.g.: Firefox.
See also: bug 1650337, bug 1649167
Another WORKAROUND only using the 32-bit Live-image via "Try Ubuntu":
ubiquity -b
sudo mount /dev/sdaX /mnt # Ubuntu target partition sdaX
sudo mount /dev/sda1 /mnt/boot/efi # EFI-partition sda1
for dir in /dev /dev/pts /proc /sys /run; do sudo mount --bind $dir /mnt/$dir; done
sudo chroot /mnt /bin/bash
dpkg --add-architecture amd64
apt-get update
apt-get install grub-efi-
Optional: shim-signed
grub-install [--efi-directory /boot/efi]
update-grub
exit
In case of dual boot with Windows, in EFI-setup the boot order must me changed.
Surprisingly, there was a menu entry in NVRAM, even the configuration via efibootmgr is impossible, caused by missing efivarfs driver in the 32-bit kernel.
information type: | Private Security → Public |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
I first declared this as security bug, because the standard 32-bit Ubuntu installation fails to benefit from secure boot.