Ask Your Question

How to boot ISO of older Linux?

asked 2014-08-14 14:10:52 -0500

wzbbbb gravatar image

updated 2014-08-15 12:45:15 -0500

rbowen gravatar image

From my understanding, the older version of Linux, before 2.6.25, does not come with virtio, for example CentOS 5. So, the ISO can not boot in Nova directly.

I have created a glance image from the ISO, and used it in the boot.

I have tried to specify bus=ide, in nova boot, however, still got "No bootable device".

This is the command I tried:

nova boot --block-device source=image,dest=volume,id=<image-id>,bus=ide,size=<size>,shutdown=remove,bootindex=0 --flavor <flavor-name> --nic net-id=<net-id> <instance-name>

Did I do something wrong? Is it supposed to work? Thanks!

edit retag flag offensive close merge delete


Look for a CentOS-5 XML file for QEMU/virsh as an example .. or use the ISO to create a VM using QEMU and then dump the profile with "virsh dumpxml" - That will show you how it was set up . Openstack uses the same method .

FredSmite gravatar imageFredSmite ( 2014-08-17 17:17:29 -0500 )edit

1 answer

Sort by » oldest newest most voted

answered 2015-03-20 02:27:43 -0500

Praveen N gravatar image

Hi, Before uploading the image to glance, its possible to customize the image as per the requirements and can make a bootable image in desired format.

The below links helps:

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2014-08-14 14:10:52 -0500

Seen: 531 times

Last updated: Mar 20 '15