How to boot ISO of older Linux?
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!
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 .