virt-install Error
? linux ?    2019-01-11 16:22:44    439    0    0
gua_l   ? linux ?

虚拟机安装时的报错:

1. Cannot set up guest memory 'pc.ram'

 

Starting install...
Allocating 'vm-build.img' | 50 GB 00:00
ERROR internal error: process exited while connecting to monitor: Cannot set up guest memory 'pc.ram': Cannot allocate memory

Domain installation does not appear to have been successful.


 

解决

内存分配过大,改小为16G 

virt-install --name vm-build -r 16384 --disk path=/var/lib/libvirt/images/vm-build.img,size=50 --vcpu=2 --network bridge=br1,model=e1000 --cdrom=/public/ubuntu-14.04.3-server-amd64.iso

 

 

Pre: GitLab GEO 异地主副服务器同步--文档翻译

Next: mount/nfs 共享目录

439
Sign in to leave a comment.
No Leanote account? Sign up now.
0 comments
Table of content