Error while installing RHCOS using ISO

Latest response

Hi,

I am trying to setup OpenShift cluster on baremetal user defined infrastructure. I am getting error at below step,

https://docs.openshift.com/container-platform/4.6/installing/installing_bare_metal/installing-bare-metal.html#installation-user-infra-machines-iso_installing-bare-metal

Permission Denied error after running coreos-installer command.

Full error:
Error: Parsing Arguments
caused by: getting sector size of /dev/sda
caused by: opening /dev/sda
caused by: Permission denied (os error 13)
error

Responses

Hi, My name is Jinwon

First, You should run the command with root privileges. It will probably get additional disk partition related errors.

You can fix that through the dmsetup command.

Im facing some permission issues on /dev/sda although i run via root. What should i do using dmsetup?

you need to use sudo before the coreos-installer command