|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-users
R: [Xen-users] [XCP] - How to create a VM from network install
 
 Thanks a lot for your help. 
  
I tried you solution but I alredy have installed the VM and I would
like to start it with new kernel after the installation of xen-tools.iso. 
  
I’m sure that something is wrong but I don’t know
what and the installation manual does not help me L. 
  
Regards, 
Francesco Gallo 
  
Da: David Booher [mailto:dbooher@xxxxxxxxx]  
Inviato: lunedì 19 aprile 2010 13:41 
A: cluster@xxxxxxxxxxxxxxx@xinet.it 
Cc: xen-users@xxxxxxxxxxxxxxxxxxx 
Oggetto: Re: [Xen-users] [XCP] - How to create a VM from network install 
 
 
  
Hi,  
I had the same problem this weekend using Fedora 11 and
Fedora 12  DVDs to boot from.  What I did was to locate the kernel
and initrd.img on the CD and adjust the VM as follows:  
 
xe vm-param-set uuid=<vm-uuid> PV-bootloader=pygrub 
 
xe vm-param-set uuid=<vm-uuid>
PV-bootloader-args="--kernel /isolunux/vmlinuz
--ramdisk=isolinux/initrd.img"  
 
I placed placed these lines just before the "xe
vm-start" command and this got the boot going.  After the install and
the first boot from the hard drive, you may have to set the hard disk back to
"bootable=yes", detach the cd and take the PV-bootloader-arg line
back out:  
 
Let me know if this helps.  
 
 
 
 
is there someone who could share the right steps to create a
CentOS 5.4 X86_64 Virtual machine from cli. According to manual I used this: 
 
xe vm-install template="CentOS 5.4 x64"
new-name-label="Prima" sr-uuid=7f998a60-e435-3ed8-bb00-51480c26cdb5 
 
retval: 84730e38-de64-d7a1-9769-13d52c6e0d93 
 
xe vbd-list vm-uuid=84730e38-de64-d7a1-9769-13d52c6e0d93
userdevice=0 params=uuid --minimal 
 
retval: ec6c3d30-b7f8-0e1f-1110-dfc0cf004683 
 
xe vbd-param-set
uuid=ec6c3d30-b7f8-0e1f-1110-dfc0cf004683 bootable=false 
 
retval: CentOS-5.4-x86_64-netinstall.iso 
 
xe vm-cd-add vm=Prima
cd-name="CentOS-5.4-x86_64-netinstall.iso" device=3 
 
xe vbd-list
vm-uuid=84730e38-de64-d7a1-9769-13d52c6e0d93 type=CD params=uuid --minimal 
 
retval: e03b58ed-aa43-8475-1f98-2638111dc11b 
 
xe vbd-param-set
uuid=e03b58ed-aa43-8475-1f98-2638111dc11b bootable=true 
 
xe vm-param-set
uuid=84730e38-de64-d7a1-9769-13d52c6e0d93 other-config:install-repository=cdrom 
 
The bootloader returned an error 
 
vm: c4add69a-f3bb-7e33-ada7-537e30ce0af7
(Prima) 
 
msg: Error from bootloader: Failed to parse
the output of bootloader: () 
 
Thanks for any suggestion/help. 
 
 
_______________________________________________ 
Xen-users mailing list 
Xen-users@xxxxxxxxxxxxxxxxxxx 
http://lists.xensource.com/xen-users 
 
 
  
 
 
 |  
 _______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users 
 |   
 
 | 
    | 
  
  
    |   | 
    |