Testing with 20200408.1. It is easier to reproduce this situation on x64
with qemu.


- Create disk images for this test:

    $ qemu-img create -f qcow2 sda.qcow2 10G
    Formatting 'sda.qcow2', fmt=qcow2 size=10737418240 cluster_size=65536 
lazy_refcounts=off refcount_bits=16

    $ qemu-img create -f qcow2 sdb.qcow2 4G
    Formatting 'sdb.qcow2', fmt=qcow2 size=4294967296 cluster_size=65536 
lazy_refcounts=off refcount_bits=16

    $ qemu-img create -f qcow2 sdc.qcow2 4G
    Formatting 'sdc.qcow2', fmt=qcow2 size=4294967296 cluster_size=65536 
lazy_refcounts=off refcount_bits=16


- Put an install ISO in both sdb and sdc. Easiest way is boot qemu from the 
installer itself and then copy it:

    $ wget http://cdimage.ubuntu.com/ubuntu-server/daily-live/20200408.1
/focal-live-server-amd64.iso

    $ qemu-system-x86_64 -enable-kvm -M q35 -m 1G -cpu host  -drive
file=sda.qcow2,media=disk,format=qcow2  -drive
file=sdb.qcow2,media=disk,format=qcow2 -drive
file=sdc.qcow2,media=disk,format=qcow2 -drive file=focal-live-server-
amd64.iso,media=cdrom -boot d

- As soon as the installer starts, open the shell and do:

    $ sudo dd if=/dev/cdrom of=/dev/sdb
    $ sudo dd if=/dev/cdrom of=/dev/sdc

    Just to be sure:
    $ sudo sync


- Close qemu then start it again, booting from one of the disks as we were 
installing from an image dd'ed from an existing install in a server which does 
not support virtual media:

    $ qemu-system-x86_64 -enable-kvm -M q35 -m 1G -cpu host -drive
file=sda.qcow2,media=disk,format=qcow2 -drive
file=sdb.qcow2,media=disk,format=qcow2 -drive
file=sdc.qcow2,media=disk,format=qcow2 -boot menu=on

- Press Esc and select 2 to boot from sdb.

- Proceed with the installation and select sda as the target.

>> The installer will detect sdc but won't be able to handle this
situation. Crash reports and screenshots attached.


** Attachment added: "Crash report on qemu"
   
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1871832/+attachment/5350302/+files/1586437687.174328804.install_fail.crash

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

Title:
  Installer crashed with multiple ISO images on system's disks

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to