如何制作windows镜像

参考网址:

http://open.eucalyptus.com/forum/how-create-windows-image

http://kiranmurari.wordpress.com/2010/03/29/uec-bundling-windows-image/

http://open.eucalyptus.com/participate/wiki/creating-images-iso-kvm

这星期的前两天终于把windows的镜像做好了,并且运行正确。这个人物终于全部完成了。

先总结一点:

1.遇到了一个 error13 :Invalid or unsupported executable format

This error is returned if the kernel image being loaded is notrecognized as Multiboot or one of the supported native formats (LinuxzImage or bzImage, FreeBSD, or NetBSD).

2.windows镜像不需要第一个分区大于4GB,不需要必须有两个分区等网上说的限制,另外32位的xp也是可以的。

3.由于在2.6.18内核中的libvirt版本太低,启动时不支持scsi格式的硬盘,所以改用virtio格式(eucalyptus2.0已经支持virtio),而virtio要求kernel版本>=2.6.25。kvm virtio官网介绍可以利用另一种方法,只要kernel版本>2.6.18并且利用sync backward compatibility操作,不懂这个,以后研究。

网址:http://www.linux-kvm.org/page/Virtio

4.[Mon Sep 13 10:45:04 2010][018138][EUCAERROR ] libvirt: internal error unable to start guest: qemu: 'file=/opt/eucalyptus/instances/admin/i-405707A7/disk,if=scsi,index=0,boot=on' unsupported bus type 'scsi'

提示libvirt不支持scsi总线。

 

http://www.linux-kvm.org/page/Boot_from_virtio_block_device

http://forum.ubuntu.org.cn/viewtopic.php?t=276085

posted @ 2010-09-08 15:01  chinacloud  阅读(898)  评论(1编辑  收藏  举报