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

UlfZibis 1648278 at bugs.launchpad.net
Thu Dec 15 21:17:50 UTC 2016


** 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 64-bit applications perform
+ up to 30 % slower than 32-bit applications.
+ 
  See also: bug 1650337
  
  Another WORKAROUND only using the 32-bit Live-image:
  
  ubiquity -b
  
  sudo mount /dev/sda7 /mnt           # Ubuntu target partition sda7
  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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2-signed 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:
  New
Status in ubiquity package in Ubuntu:
  New

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 64-bit applications
  perform up to 30 % slower than 32-bit applications.

  See also: bug 1650337

  Another WORKAROUND only using the 32-bit Live-image:

  ubiquity -b

  sudo mount /dev/sda7 /mnt           # Ubuntu target partition sda7
  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