----- Original Message ----- > From: "Mihamina Rakotomandimby" <mihamina@xxxxxxxxxx> > To: virt-tools-list@xxxxxxxxxx, "Libvirt Developers Mailing List" <libvir-list@xxxxxxxxxx> > Sent: Tuesday, October 12, 2010 2:17:49 PM > Subject: KVM Windows guest: add hard drive > Manao ahoana, Hello, Bonjour, > > I installed a Windows (XP and 2003) guest using one partition as hard > drive. > I used: > > sudo virt-install --connect qemu:///system \ > --name win2003-01 \ > --ram 1024 \ > --keymap=fr \ > --disk path=/dev/lvm0/win2003-01 \ > --cdrom=/home/mihamina/Windows_2003_Server.iso \ > --os-type windows \ > --os-variant=win2k3 \ > --noapic \ > --noacpi \ > --network=bridge:br0 \ > --accelerate \ > --vnc \ > --force > > And this works fine. Really fine. > > > The disk section in the definition: > > <disk type='block' device='disk'> > <source dev='/dev/lvm0/win2003-01'/> > <target dev='hda' bus='ide'/> > </disk> > > After installation, people asked me to add another hard drive to this > installation, and then, I added another "disk" in the definition: > > <disk type='block' device='disk'> > <source dev='/dev/lvm0/win2003-01'/> > <target dev='hda' bus='ide'/> > </disk> > <disk type='block' device='disk'> > <source dev='/dev/lvm0/win2003-01-a'/> > <target dev='hdb' bus='ide'/> > </disk> > > I destroyed + undefined + defined + started the VM and the definition > is OK (dumpxml), but the Windows guest doesnt see any new hard drive. > > I already tried with replacing "ide" with "virtio", no new hard drive > yet. > > This is my configuration: > mihamina@kvm-lxc-02:~$ dpkg -l | grep "virt" > ii kvm 72+dfsg-5~lenny5 Full virtualization on x86 hardware > ii libvirt-bin 0.4.6-10 the programs for the libvirt library > ii libvirt0 0.4.6-10 library for interfacing with different > virtualization systems > ii python-libvirt 0.4.6-10 libvirt Python bindings > ii virt-manager 0.6.0-6 desktop application for managing virtual > machines > ii virt-viewer 0.0.3-2 Displaying the graphical console of a virtual > machine > ii virtinst 0.400.0-7 Programs to create and clone virtual machines > > How to make, with this, new hard drive recognized by the Windows > guest? Are you looking for a new driver to appear in 'my computer', because it wouldn't appear there until you format it. Does it show up in device manager? > > Misaotra, Thanks, Merci. > > > -- > > Architecte Informatique chez Blueline/Gulfsat: > Administration Systeme, Recherche & Developpement > +261 34 56 000 19 > > -- > libvir-list mailing list > libvir-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/libvir-list -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list