Cannot boot centos image

asked 2020-06-06 16:06:56 -0500

jenia gravatar image

updated 2020-06-06 18:22:02 -0500

Hello

I'm going through the OpenStack https://docs.openstack.org/install-guide/overview.html#example-architecture (installation guide) and I want to create the Controller Node.

Therefore I created a VM using QEMU and I wanted to boot in CentsOS using this image CentOS-7-ppc64le-GenericCloud.qcow2.xz from http://cloud.centos.org/centos/7/images/ (offical OpenStack image list):

But I get "No bootable device" https://drive.google.com/file/d/1cp5xgxuLL00CQ-3XHS8T3h19-tlgL7OF/view?usp=sharing (error).

Why? I'm not getting it. I thought I needed to boot the OS from the image CentOS-7-ppc64le-GenericCloud.qcow2.xz and install the components there that make it into the controller node

edit retag flag offensive close merge delete

Comments

https://wiki.centos.org/SpecialIntere...: This architecture is for 64-bit IBM POWER8 machines using little endian byte ordering.

Is this the architecture of your Controller?

Bernd Bausch gravatar imageBernd Bausch ( 2020-06-06 18:25:42 -0500 )edit

Definitely not. I didn't realize that it's for a different CPU than the regular X86. i just took the smallest/most-up-to-date image that was on the list. Thanks for the tip!!

jenia gravatar imagejenia ( 2020-06-06 18:48:52 -0500 )edit

Besides, you probably first need to uncompress the qcow2 file before booting from it.

Bernd Bausch gravatar imageBernd Bausch ( 2020-06-06 19:49:18 -0500 )edit

@Bernd Bausch ok. I downloaded (and extracted the raw file) CentOS-7-x86_64-GenericCloud.raw.tar.gz. Still. Exact same issue. I don't understand what the problem may be.

jenia gravatar imagejenia ( 2020-06-07 08:08:49 -0500 )edit

Share the configuration of your VM. Perhaps it expects a qcow2 file instead of a raw file.

Bernd Bausch gravatar imageBernd Bausch ( 2020-06-07 09:17:01 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-06-27 20:28:06 -0500

jenia gravatar image

I figured it out :)

The CentOS-7-x86_64-GenericCloud.qcow2 is a virtual machine rather than a bootable kernel.

I got confused and instead of importing that file into Virtual Machine Managed as an existing VM, I was importing it as a kind of bootable kernel (is if it were an ISO image of the kernel).

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2020-06-06 16:06:56 -0500

Seen: 137 times

Last updated: Jun 27