- 论坛徽章:
- 0
|
回复 1# leaf1981
在提示符下之下如下命令:
#virt-install -n centos5 -r 256 --vcpus=2 --file=centos.img --file=swap.img --nographics --location=http://192.168.205.170/wolf
Starting install...
Retrieving file .treeinfo... | 417 B 00:00
Retrieving file vmlinuz... | 2.0 MB 00:00
Retrieving file initrd.img... | 7.7 MB 00:00
ERROR POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: (4, \'Out of memory\', "xc_dom_boot_mem_init: can\'t allocate low memory for domain\\n")')
Domain installation may not have been
successful. If it was, you can restart your domain
by running 'virsh start centos5'; otherwise, please
restart your installation.
ERROR POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: (4, \'Out of memory\', "xc_dom_boot_mem_init: can\'t allocate low memory for domain\\n")')
Traceback (most recent call last):
File "/usr/sbin/virt-install", line 889, in ?
main()
File "/usr/sbin/virt-install", line 751, in main
start_time, guest.start_install)
File "/usr/sbin/virt-install", line 813, in do_install
dom = install_func(conscb, progresscb, wait=(not wait))
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 541, in start_install
return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 633, in _do_install
self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib/python2.4/site-packages/libvirt.py", line 974, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: POST operation failed: xend_post: error from xen daemon: (xend.err 'Error creating domain: (4, \'Out of memory\', "xc_dom_boot_mem_init: can\'t allocate low memory for domain\\n")')
然后就停止了,一直无法找到解决的办法,求解! |
|