求助:在VMWARE虚拟机下成功搭建了xen,但是在xen创建虚拟机时出现问题。

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
松仁712
帖子: 2
注册时间: 2014-01-10 10:41
系统: ubuntu

求助:在VMWARE虚拟机下成功搭建了xen,但是在xen创建虚拟机时出现问题。

#1

帖子 松仁712 » 2014-01-10 19:43

1.用 sudo virt-manager 指令已经可以成功调出图形界面,但是上面的“本地安装介质”和“网络引导”选项是灰色的,不可选,,只有网络安装是有效的。这要是弄个系统镜像URL也太慢了。。求教怎么弄才能让那个选项不是灰色

有个提示:warning:Host dose not appear to support hardware virtualization. Install options may be limited.

2.直接用virt-install指令装:如下

songchen@ubuntu:/media$ virt-install --prompt
您的虚拟机的名称是什么?
ubuntu1
要分配多少 RAM(以 MB 为单位)?
512MB
ERROR invalid literal for int() with base 10: '512MB'
要分配多少 RAM(以 MB 为单位)?
512

开始安装......
ERROR 'NoneType' object has no attribute 'startswith'
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect xen:/// start ubuntu1
otherwise, please restart your installation.

就出错了。。不知道该怎么办。。
松仁712
帖子: 2
注册时间: 2014-01-10 10:41
系统: ubuntu

Re: 求助:在VMWARE虚拟机下成功搭建了xen,但是在xen创建虚拟机时出现问题。

#2

帖子 松仁712 » 2014-01-12 22:41

不用以上两种方式,还是会出问题:
具体是这个样子的:

root@ubuntu:/etc/xen# virt-install --name unbuntu --ram 256 --disk /dev/sdb1 --location /usr/ubuntu-11.10-desktop-i386.iso
开始安装......
ERROR Could not find an installable distribution at '/usr/ubuntu-11.10-desktop-i386.iso'
The location must be the root directory of an install tree.
......



那个目录下的确有那个文件。
关键就是The location must be the root directory of an install tree.是什么原因导致的。?
回复