How to install RHCOS to a storage device that contains the iso file in OpenShift 4.6?

Solution Unverified - Updated -

Issue

  • Is it possible to install RHCOS to a storage device that contains the iso file?
  • Running coreos-installer to install RHCOS to a storage device that contains the iso file ends up with the following error.
$ sudo coreos-installer install /dev/sda --ignition-url= https://example.com/bootstrap.ign 
Installing RedHat Enterpirse Linux CoreOS 46.82.202010091720-0(Ootpa) x86_64 (512-byte sectors)
Error checking for exclusive access to /dev/sda
Caused by: couldn't reread partition table: device is in use
Caused by: EBUSY: Device resource busy

Environment

  • Red Hat OpenShift Container Platform 4.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content