Turinglifer Chu
2009-May-25 09:06 UTC
[Xen-users] Problem of using virt-install to create hvm guest
when I used virt-install to create a redhat5 hvm guest, I encountered an problem: [root@localhost xen]# virt-install Would you like a fully virtualized guest (yes or no)? This will allow you to run unmodified operating systems. yes What is the name of your virtual machine? redhathvm How much RAM should be allocated (in megabytes)? 512 What would you like to use as the disk (file path)? /opt/redhat5hvm.img Would you like to enable graphics support? (yes or no) no What is the virtual CD image, CD device or install location? ftp://129.22.0.201/pxe/rhel5_x86/ Starting install... Retrieving file .treeinfo... 0 B 00:00 Retrieving file boot.iso. 100% |=========================| 6.9 MB 00:00 Creating domain... 0 B 00:00 libvir: Remote error : Connection refused libvir: warning : Failed to find the network: Is the daemon running ? libvir: Remote error : Connection refused No console available for domain Domain installation still in progress. You can reconnect to the console to complete the installation process. I found xend daemon is running. thanks for help! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nikita Lebedev
2009-May-25 14:41 UTC
Re: [Xen-users] Problem of using virt-install to create hvm guest
Turinglifer Chu пишет:> when I used virt-install to create a redhat5 hvm guest, I encountered > an problem: > > [root@localhost xen]# virt-install > Would you like a fully virtualized guest (yes or no)? This will allow > you to run unmodified operating systems. yes > What is the name of your virtual machine? redhathvm > How much RAM should be allocated (in megabytes)? 512 > What would you like to use as the disk (file path)? /opt/redhat5hvm.img > Would you like to enable graphics support? (yes or no) no > What is the virtual CD image, CD device or install location? > ftp://129.22.0.201/pxe/rhel5_x86/ > > Starting install... > Retrieving file .treeinfo... 0 B > 00:00 > Retrieving file boot.iso. 100% |=========================| 6.9 MB > 00:00 > Creating domain... 0 B > 00:00 > libvir: Remote error : Connection refused > libvir: warning : Failed to find the network: Is the daemon running ? > libvir: Remote error : Connection refused > No console available for domain > > Domain installation still in progress. You can reconnect to > the console to complete the installation process. > > I found xend daemon is running. > > thanks for help! > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersDon''t know how libvirt works, but did you try run xm list then if redhathvm appears on output run something like xm console redhathvm ? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users