[Bug 1648278] Re: Make Ubuntu 32-bit ISO image directly installable on UEFI machine

UlfZibis 1648278 at bugs.launchpad.net
Thu Nov 1 21:53:40 UTC 2018


Thanks for the alternative workaround. But I have some questions:
- What you mean by "in grub"? I'm not familiar with the Ubuntu Mate Live CD, only with Ubuntu and Lubuntu, and there is no GRUB menu. Do you mean the welcome screen?
- I'm wondering how this alternative will work on machines like mine where no CD drive is available. Does it also work with USB-key, especially if both ISOs are on the same key with MultiSystem?

** Description changed:

  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-extra-removable
  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/grub-efi-amd64-signed_1.66.2+2.02~beta2-36ubuntu3.2_amd64.deb
  sudo dpkg-reconfigure grub-efi-amd64-signed
  sudo grub-install
  sudo apt-get install shim
  sudo dpkg-reconfigure grub-efi-amd64-signed
  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. There 64-bit applications
+ 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-amd64-signed
  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.
+ 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.

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

Title:
  Make Ubuntu 32-bit ISO image directly installable on UEFI machine

Status in grub2-signed package in Ubuntu:
  Confirmed
Status in ubiquity package in Ubuntu:
  Confirmed

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-extra-removable
  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/grub-efi-amd64-signed_1.66.2+2.02~beta2-36ubuntu3.2_amd64.deb
  sudo dpkg-reconfigure grub-efi-amd64-signed
  sudo grub-install
  sudo apt-get install shim
  sudo dpkg-reconfigure grub-efi-amd64-signed
  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-amd64-signed
  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.

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



More information about the foundations-bugs mailing list