分类: LINUX
2013-11-25 13:32:44
1. 安装了virt-manager
2. 图形创建的console 鼠标 键盘都不能用,无法安装系统
3. 只能使用virt-install 创建了
sudo virt-install --prompt
What is the name of your virtual machine? centos
How much RAM should be allocated (in megabytes)? 512
What would you like to use as the disk (file path)? /var/lib/libvirt/images/rhel.img
How large would you like the disk (/var/lib/libvirt/images/rhel.img) to be (in gigabytes)? 10
What is the install CD-ROM/ISO or URL? /home/ubuntu/CentOS-6.4-x86_64-bin-DVD1.iso
Starting install...
Allocating 'rhel.img' 100% |=========================| 0 B 00:00
Creating domain... 0 B 00:00
Unable to connect to graphical console: virt-viewer not installed. Please install the 'virt-viewer' package.
Domain installation still in progress. You can reconnect to
the console to complete the installation process.
sudo virsh list
Id Name State
----------------------------------
7 centos running
4. 这回用virt-viewer 就可以使用鼠标,键盘了,可以安装系统了。