Hi,<br><br>I am trying to create a guest machine on xen virtualized environment and install rhel on it by booting from cdrom.<br>I face a issue in booting device. I gave boot order as hd,cdrom. When doing maiden installation, it will find nothing in hard disk and boots from cd.<br>
Once installation is completed and when it boots next time it boots from hard disk.  It is the expected behaviour. <br>But it fails to boot from hard disk and again boots from cdrom.<br><br>I also tried specifying per boot device option. I specified disk image as boot order 1 and cd image as boot order 2. But when i power on for the first time, it tries to boot from harddisk and finds nothing there and says " No bootable device. Going to power off in 30 seconds". But expected is, it should boot from cd after trying hard disk.<br>
<br>Below is my domain configuration xml file i used to create guest domain.<br><br><domain type='xen'><br>     <name>vm-2</name><br>      <memory>1048576</memory><br>      <vcpu>1</vcpu><br>
      <os><br>            <type arch='x86_64'>hvm</type><br>        <loader>/usr/lib/xen/boot/hvmloader</loader>    <br><!--        <boot dev='hd' /><br>            <boot dev='cdrom'/> --><br>
      </os><br>    <features><br>            <acpi/><br>            <apic/><br>            <pae/><br>      </features><br>    <on_poweroff>destroy</on_poweroff><br>    <on_reboot>restart</on_reboot><br>
      <on_crash>restart</on_crash><br>    <devices><br>            <emulator>/usr/lib/xen/bin/qemu-dm</emulator><br>            <disk type='file' device='disk'><br>                  <source file='/var/lib/libvirt/images/vm-2.img'/><br>
                  <target dev='xvda' bus='ide' /><br>            <boot order='1'/><br>            <address type='drive' controller='0' bus='0' target='0' unit='0'/><br>
           </disk><br>        <disk type='file' device='cdrom'><br>                   <source file='/var/lib/libvirt/images/Rhel53.iso'/><br>                   <target dev='hdc' bus='ide' /><br>
            <boot order='2'/><br>                   <readonly/>     <br>            <address type='drive' controller='0' bus='1' target='0' unit='0' /><br>
        </disk><br>        <interface type='bridge'><br>                  <source bridge='br0'/><br>            </interface><br>        <graphics type='vnc' port='-1' autoport='yes'/>  <br>
      </devices><br></domain><br><br><br>I don't know where i am going wrong. So need help in resolving this issue.<br><br>Thanks,<br>