-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/dev/sda device is in use in bare-metal server #261
Comments
Same issue with iso boot live image. |
Can one of you print the full output from |
The full output I get is this: Error: checking for exclusive access to /dev/sda This comes up a few seconds after: |
Could you drop the |
Nothing to Here is
|
Aha! Your disk has an LVM physical volume. What does |
It turns out that Linux MD partitions and LVM PVs are automatically run at startup, which interferes with |
Thanks for the report. This should be fixed by #276. |
@bgilbert , I'm bumping up against this as well with my bare metal install on an old laptop. Are you aware of a workaround that I can use to get past this issue? |
@MarkIannucci If you're doing a one-off install, it's easiest to work around this by hand:
|
I seem to have run into this problem with a bare metal live ISO install. The disk had an old ubuntu installation using LVM which blocked the coreos-installer run from the coreos live installer. To enable install I had to do these commands before running coreos-installer.
|
@blueskyjunkie Thanks for the report. We don't have tests for this currently. Can you open a new issue? |
try to install fcos by pxe in bare-metal server, but meet the error, like
checking for exclusive access to /dev/sda
caused by: couldn't reread partition table: device is in use
other information:
pxelinux.cfg is:
DEFAULT pxeboot
TIMEOUT 20
PROMPT 0
LABEL pxeboot
KERNEL fedora-coreos-31.20200505.3.0-live-kernel-x86_64
APPEND ip=dhcp rd.neednet=1 initrd=fedora-coreos-31.20200505.3.0-live-initramfs.x86_64.img coreos.inst=yes coreos.inst.ignition_url=http://10.30.0.109/example.ign coreos.inst.image_url=http://10.30.0.109/fedora-coreos-31.20200505.3.0-metal.x86_64.raw.xz coreos.inst.install_dev=/dev/sda coreos.inst.insecure=yes
IPAPPEND 2
The text was updated successfully, but these errors were encountered: