[Bug 2106499] Re: Installation fails with 'OSError: [Errno 16] Device or resource busy: '/dev/mmcblk1p3'' (target device contains the installer)

Olivier Gayot 2106499 at bugs.launchpad.net
Mon Apr 14 11:21:42 UTC 2025


I guess we could read the MMC_TYPE [1] variable and add it to the label
somehow. But that would be very much specific to MMCs.

IMO, we should start by removing the installation media from the list
(or graying it out).

[1]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/mmc/core/bus.c?h=v6.15-rc2#n61

-- 
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/2106499

Title:
  Installation fails with 'OSError: [Errno 16] Device or resource busy:
  '/dev/mmcblk1p3'' (target device contains the installer)

Status in subiquity package in Ubuntu:
  New

Bug description:
  I tried to install http://cdimage.ubuntu.com/ubuntu-server/daily-
  live/20250408/plucky-live-server-riscv64.iso on a StarFive VisionFive
  2 board with eMMC. Curtin failed with:

  File "/snap/subiquity/6584/lib/python3.12/site-packages/curtin/block/__init__.py", line 1120, in exclusive_open
              fd = os.open(path, flags)
                   ^^^^^^^^^^^^^^^^^^^^
          OSError: [Errno 16] Device or resource busy: '/dev/mmcblk1p3'

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




More information about the foundations-bugs mailing list