Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7344968
  • 博文数量: 1763
  • 博客积分: 18684
  • 博客等级: 上将
  • 技术积分: 16217
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-02 10:28
个人简介

啥也没写

文章分类

全部博文(1763)

文章存档

2023年(44)

2022年(39)

2021年(46)

2020年(43)

2019年(27)

2018年(44)

2017年(50)

2016年(47)

2015年(15)

2014年(21)

2013年(43)

2012年(143)

2011年(228)

2010年(263)

2009年(384)

2008年(246)

2007年(30)

2006年(38)

2005年(2)

2004年(1)

分类: LINUX

2010-04-24 20:17:55

Installing kvm block drivers during windows installation now works after the latest updates to the windows guest driver code repository. In this post I’ll walk through this process on a windows xp 32-bit guest and provide a floppy image that you can download and use for this purpose. The floppy image contains block drivers for Windows XP 32-bit, Windows 2003 32-bit and Windows 2003 64-bit. I’ve only tested this with windows xp 32-bit guest so provide feedback if you have any issues with windows 2003 guests.

Installation

If you’re managing your virtual machine from the command line then you need to start your new windows gutest VM with the following minimum set of options.

/usr/bin/qemu-kvm \
-boot d \
-cdrom /files/en_windows_xp_professional_with_service_pack_3_x86_cd_x14-80428.iso \
-drive file=/vm/testinstall.img,if=virtio,boot=on \
-fda /home/hsolomon/Download/isos/viostor-31-03-2010-floppy.img \
-m 1200 &

The most important option is the if=virtio,boot=on and the floppy image which provides the drivers during installation. If you’re using a GUI management tool such as virt-manager, then you only need to add the floppy image before installation.

Shortly after the windows install CD boots is the option to install any additional storage drivers. This is the critical thing to remember when installing storage drivers during windows installation because it’s easy to miss this. If you miss that opportunity you’ll have to restart the installation. Below is a screenshot showing the screen to hit F6 in order to install storage drivers.

Before installation begins, you’ll be prompted to specify your storage drivers as shown below.

Type “S” to specify your viostor block driver. You’ll then be prompted to specify your driver from the driver list. The floppy image contains drivers for Windows XP and 2003 as shown below. Select your driver.

Installation goes as usual after this. You will get a prompt during installation asking you to confirm the installation of the unsigned driver.

Accept and finish install as usual.

As mentioned earlier, I have only tested this with windows xp 32-bit guest. Try this floppy image with your Windows guests and feel free to comment or ask questions.

 

Attachment Size
1.41 MB
阅读(1806) | 评论(1) | 转发(0) |
0

上一篇:keepalived + nginx 双机互备

下一篇:Piwik

给主人留下些什么吧!~~

chinaunix网友2010-04-27 10:58:24

呵呵,不错,小弟到地一游,兄弟你也在研究kvm?