[Bug 1968156] [NEW] Cannot install /boot/efi on boot media

Heinrich Schuchardt 1968156 at bugs.launchpad.net
Thu Apr 7 10:48:34 UTC 2022


Public bug reported:

When installing on RISC-V using an SD-card image it would be preferable
to reuse the EFI system partition of the installation medium as mount
point /boot/efi.

When I choose "custom layout" the ESP of the installation medium cannot
be chosen as mount point.

This is how I am testing on QEMU:

dd if=/dev/zero bs=1M of=disk count=1 seek=16383
/usr/bin/qemu-system-riscv64 -machine virt -m 4G -smp cpus=8 -nographic \
        -bios /usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.bin \
        -kernel /usr/lib/u-boot/qemu-riscv64_smode/u-boot.bin \
        -device virtio-net-device,netdev=net0 \
        -netdev user,id=net0,tftp=tftp \
        -drive if=none,file=installer.img,format=raw,id=mydisk \
        -device ich9-ahci,id=ahci \
        -device ide-hd,drive=mydisk,bus=ahci.0 \
        -drive if=none,file=disk,format=raw,id=disk \
        -device ide-hd,drive=disk,bus=ahci.1 \
        -device virtio-rng-pci

** Affects: subiquity (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Cannot install /boot/efi on boot media

Status in subiquity package in Ubuntu:
  New

Bug description:
  When installing on RISC-V using an SD-card image it would be
  preferable to reuse the EFI system partition of the installation
  medium as mount point /boot/efi.

  When I choose "custom layout" the ESP of the installation medium
  cannot be chosen as mount point.

  This is how I am testing on QEMU:

  dd if=/dev/zero bs=1M of=disk count=1 seek=16383
  /usr/bin/qemu-system-riscv64 -machine virt -m 4G -smp cpus=8 -nographic \
          -bios /usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.bin \
          -kernel /usr/lib/u-boot/qemu-riscv64_smode/u-boot.bin \
          -device virtio-net-device,netdev=net0 \
          -netdev user,id=net0,tftp=tftp \
          -drive if=none,file=installer.img,format=raw,id=mydisk \
          -device ich9-ahci,id=ahci \
          -device ide-hd,drive=mydisk,bus=ahci.0 \
          -drive if=none,file=disk,format=raw,id=disk \
          -device ide-hd,drive=disk,bus=ahci.1 \
          -device virtio-rng-pci

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




More information about the foundations-bugs mailing list