我正尝试使用virt-install命令在我的CentOS 6.4 64位系统上安装Windows客户机(Windows Sever 2012 64位)。
命令: /usr/sbin/virt-install --graphics vnc,port=5903,listen=127.0.0.1,password=redhat --noautoconsole --name=myos2 --ram=1024 --arch=x86_64 --vcpus=1 --hvm --disk path=/media/skrtbhtngr/wins2012,size=32 -m 66:55:44:33:22:00 --location=/root/Desktop/OS_Images/en_windows_server_2012_x64_dvd_915478.iso
输出: Starting install... ERROR Could not find an installable distribution at '/root/Desktop/OS_Images/en_windows_server_2012_x64_dvd_915478.iso' The location must be the root directory of an install tree. Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect qemu:///system start myos2 otherwise, please restart your installation. Starting install... ERROR Could not find an installable distribution at '/root/Desktop/OS_Images/en_windows_server_2012_x64_dvd_915478.iso' The location must be the root directory of an install tree. Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect qemu:///system start myos2 otherwise, please restart your installation.
另外,当我使用Virtual Machine Manager时,OS安装将成功启动。 现在,这发生在所有的Windows客户端(Win7等)。
我无法弄清楚我错在哪里?
PS:我是虚拟化世界的新手!
我想你想用–cdrom而不是–location来指向ISO。 然后,VM应该引导到ISO。
http://opennodecloud.com/documentation/howtos/kvm-guests-virt-install-examples/