制作openstack windows xp镜像

int32位 posted @ May 29, 2014 10:42:13 AM in openstack , 7164 阅读
转载请注明:http://krystism.is-programmer.com/若有错误,请多多指正,谢谢!

下载官方原版iso镜像:http://pan.baidu.com/s/1c0owVc8

下载virtio驱动:http://alt.fedoraproject.org/pub/alt/virtio-win/archives/virtio-win-0.1-59/virtio-win-0.1-59.iso

创建一个虚拟qcow2盘:

kvm-img create -f qcow2 xp.qcow2 10G

安装xp到创建的虚拟盘中,有些教程说要加载软驱 virtio-win-xx.vfd和virtio驱动,实际上xp不需要,稍后我们再装!

kvm -m 1024 -cdrom xp.iso -drive file=xp.qcow2 -fda  -boot d

安装好系统后,我们进入系统,并且安装virtio驱动,

kvm -hda xp.qcow2 \
    -drive file=xp.qcow2,if=virtio \
    -drive file=virtio-win-0.1-30.iso,media=cdrom,index=1 \
    -net nic,model=virtio \
    -net user \
    -boot d \
    -vga std \
    -m 1024

进入xp系统,点击我的电脑->管理->设备管理,更新scsi和网卡驱动,注意scsi驱动必须安装,否则进入后会出现蓝屏。

驱动安装后,就可以上传到openstack中了

glance image-create --name xp --container-format=ovf --disk-format=qcow2 -file xp.qcow2 --progress

创建虚拟机时,根磁盘要大于创建虚拟磁盘的大小,临时磁盘对应一块新的未格式化的虚拟硬盘,swap不需要,创建成功后,进入系统。

此时c盘大小和创建虚拟盘大小一样,如果分配的磁盘大于虚拟盘大小,比如我们虚拟盘大小的10G,创建云主机时指定根磁盘大小为20G,此时需要使用磁盘扩展工具扩展c盘大小,http://pan.baidu.com/s/1eQh7q9c,如果有临时磁盘,则需要使用磁盘管理工具初始化磁盘,即我的电脑->管理->磁盘管理,然后格式化。

挂载新的云硬盘如果未被初始化,也需要进行磁盘初始化和格式化。

如果我们需要远程登陆,则还需要开启远程桌面功能,我一般还会关掉防火墙。

这是我制作的镜像,可以直接使用:http://pan.baidu.com/s/1pJEyVGZ

转载请注明:http://krystism.is-programmer.com/若有错误,请多多指正,谢谢!
  • 无匹配
  • 无匹配
ep 说:
2014年10月14日 15:40

hi, 非常感谢你制作的镜像,我使用起来没有问题。现在使用 RDP 连接时提示输入密码,不知道 admin 账户的密码是什么?

AP SSC Biology Quest 说:
2022年9月14日 16:24

Candidates can download 10th class biology subject sample papers pdf and key topics with assignments in all exam formats of the board like SA-1, SA-2, FA-1, FA-2, FA-3 and FA-4.Telugu Medium, AP SSC Biology Question PaperEnglish Medium and Urdu Medium Students of the State who studying Class 10th Grade can download the AP SSC Biology Model Papers 2023 for theory, objective and bit questions to Self Practice.Telugu Medium, English Medium and Urdu Medium Students of the State who studying Class 10th Grade can download the AP SSC Biology Model Papers 2023 for theory, objective and bit questions to Self Practice.

Emma 说:
2023年1月25日 18:51

Creating a Windows XP image in OpenStack is an excellent idea to get the most out of the platform. It will provide users with the opportunity to run their favorite real estate expert Woodland Park Windows XP applications in a secure and reliable environment. This will help to reduce costs and improve efficiency for those who need access to older applications. With OpenStack, users can now be sure that their Windows XP applications are running in a secure and reliable environment.

richerson 说:
2023年12月30日 04:19

i read a lot of stuff and i found that the way of writing to clearifing that exactly want to say was very good so i am impressed and ilike to come again in future.. PEBC


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter