Activity log for bug #1872463

Date Who What changed Old value New value Message
2020-04-13 13:53:46 Taihsiang Ho bug added bug
2020-04-13 13:55:16 Taihsiang Ho bug added subscriber dann frazier
2020-04-13 15:01:40 Taihsiang Ho description Focal beta iso efi.img manipulates grub when searching for the target device to boot. The current searching method uses /.disk/info as a marker file to identify the target live usb device. efi.img assumes there is only one live bootable device inserted with the marker file /.disk/info and searches in this way: search --file --set=root /.disk/info set prefix=($root)/boot/grub source $prefix/arm64-efi/grub.cfg In some use cases, people pre-insert many different distributions so they could easy to boot to and re-install different distributions. The marker file method will block this kind of multiple bootable setup. [Steps to Reproduce] 1. Pre-insert one or more Ubuntu Bionic (or above) live usb sticks to your target machine 2. Boot from focal beta iso live usb stick [Expected Result] We boot to the subiquity and start to install the system. [Actual Result] We will boot to the grub menu provided by the other live usb sticks. The unexpected grub menu may lead you to load incorrect installer files and fail on installation. [More Information] The issue is reproducible 100% by a combination of Marvell Cavium ThunderX2 Sabre with Bionic live usb pre-inserted and intended to install the system via focal beta iso live usb. Use dd to destroys the bionic live usb will make the chainload boot to the expected focal one. Focal beta iso efi.img manipulates grub when searching for the target device to boot. The current searching method uses /.disk/info as a marker file to identify the target live usb device. efi.img assumes there is only one live bootable device inserted with the marker file /.disk/info and searches in this way:  search --file --set=root /.disk/info  set prefix=($root)/boot/grub  source $prefix/arm64-efi/grub.cfg In some use cases, people pre-insert many different distributions so they could easy to boot to and re-install different distributions. The marker file method will block this kind of multiple bootable setup. [Steps to Reproduce] 1. Pre-insert one or more Ubuntu Bionic (or above) live usb sticks to your target machine 2. Boot from focal beta iso live usb stick [Expected Result] We boot to the subiquity and start to install the system. [Actual Result] We will boot to the grub menu provided by the other live usb sticks. The unexpected grub menu may lead you to load incorrect installer files and fail on installation. [More Information] The issue is reproducible 100% by a combination of Marvell Cavium ThunderX2 Sabre with Bionic live usb pre-inserted and intended to install the system via focal beta iso live usb. Use dd to destroys the bionic live usb will make the chainload boot to the expected focal one (and completed the installation with subiquity).
2020-04-14 13:03:47 Andrew Cloke bug added subscriber Andrew Cloke
2020-05-23 00:24:11 Dimitri John Ledkov bug task added ubuntu-cdimage
2020-05-23 00:24:30 Dimitri John Ledkov bug task added debian-installer (Ubuntu)