Hi,
Yes, it failed to boot from hard disk, instead booted from cd.
I
made a simple modification to the domain xml config file attached
before. I replaced "target='xvda' with target='hda'" and removed per
boot option. This time, installation was successful and booted from hd.
Since installation was successful i deleted the iso file, then rebooted the
machine, but it failed with the error.
virsh # start vm-2
error: Failed to start domain vm-2
error:
POST operation failed: xend_post: error from xen daemon: (xend.err
'Disk image does not exist: /var/lib/libvirt/images/Rhel53.iso')
I hope this is not the proper behaviour. Below is my config file i used this time.
<domain type='xen'>
<name>vm-2</name>
<memory>1048576</memory>
<vcpu>1</vcpu>
<os>
<type arch='x86_64'>hvm</type>
<loader>/usr/lib/xen/boot/hvmloader</loader>
On Wed, Sep 05, 2012 at 19:22:27 +0530, vivek hari wrote:Looks like the real issue is that it fails to boot from hard disk.
> Hi,
>
> I am trying to create a guest machine on xen virtualized environment and
> install rhel on it by booting from cdrom.
> 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.
> Once installation is completed and when it boots next time it boots from
> hard disk. It is the expected behaviour.
> But it fails to boot from hard disk and again boots from cdrom.
Xen driver does not support per-device boot configuration. Which means we have
> 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.
a bug in libvirt because starting such domain should fail immediately because
of this.
Jirka