Showing posts with label kvm. Show all posts
Showing posts with label kvm. Show all posts

Friday, March 9, 2012

KVM install windows 2003 guest


qemu-system-i386 -m 1024 -cdrom images/Windows\ Server\ 2003\ SP2.ISO -drive file=win2003.img,cache=writeback,boot=on -fda virtio-win-1.1.16.vfd -boot d -nographic -vnc :0


安装到提示重新启动的时候,必须去掉 boot=on,不然装不上,windows 2008没有这个问题。

Thursday, September 1, 2011

用virt-install克隆一个复制来的镜像

[cc lang='bash' line_numbers='false']virt-install qemu:///system --name vCentOS-Base --ram 2048 --cpuset=1,3,5 and 7 --accelerate --disk path=/Datas/V-Host/vCentOS-Base --import --network bridge:br0[/cc]

CentOS 5.6上的[cci lang='bash' line_numbers='false']virt-clone[/cci]有点问题,就直接用[cci lang='bash' line_numbers='false']copy[/cci]来复制然后用virt-install导入。