kvm虚拟机中安装winxp
1、创建目录,用于存放磁盘映像文件
~]# mkdir -pv /images/windows/
2、创建磁盘映像文件
~]# qemu-img create -o size=20G,preallocation=metadata -f qcow2 /images/windows/winxp.qcow2
3、安装系统
~]# qemu-kvm -m 512 -smp 2 -cpu host -drive file=/images/windows/winxp.qcow2,media=disk -drive file=/root/cn_windows_7_ultimate_with_sp1_x64_dvd_u_677408.iso,media=cdrom -boot order=dc,once=d
相关推荐
成长路上 2020-06-11
zhangsyi 2020-03-26
85433565 2017-05-01
86423266 2009-12-19
scmrpu 2020-05-30
82911234 2019-11-01
85433565 2019-07-13
85271847 2012-08-22
vickytong0 2011-03-23
85500790 2010-11-26
85500790 2019-06-27
88961239 2018-05-08
85433565 2013-10-06
88173655 2013-02-25
加菲猫园 2012-06-14
87981536 2012-05-20
goawalk 2017-04-17
82143754 2016-12-09
88173655 2010-09-26