XP fails to install in KVM on a LVM block device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virt-manager (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: kvm
This issue was reported already in bug 105195 (see comment 21) but that bug is a mess of different issues so I opened a new one.
The issue here is that installing Windows XP directly on a LVM-managed block device fails while the installation into a file container works. The installation fails with "A disk read error occurred" after the first reboot (see comment 17 in the original bug, http://
I tried both virt-install and virt-manager (connecting with virt-viewer). I haven't tried if installing directly on an IDE block device fails as well (for obvious reasons).
The following command fails:
virt-install \
--connect qemu:///system --hvm \
-n xp \
-r 512 \
-f /dev/mapper/lvm-xp \
-c Images/
--os-type windows --os-variant winxp --arch x86_64 \
--vnc --noautoconsole
While this succeeds:
virt-install \
--connect qemu:///system --hvm \
-n xp \
-r 512 \
-f xp.img -s 12 \
-c Images/
--os-type windows --os-variant winxp --arch x86_64 \
--vnc --noautoconsole
mss@Otherland:~$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
mss@Otherland:~$ apt-cache policy kvm virt-manager libvirt-bin linux-image lvm2
kvm:
Installed: 1:72+dfsg-1ubuntu6
Candidate: 1:72+dfsg-1ubuntu6
Version table:
*** 1:72+dfsg-1ubuntu6 0
500 http://
100 /var/lib/
virt-manager:
Installed: 0.5.4-2ubuntu1
Candidate: 0.5.4-2ubuntu1
Version table:
*** 0.5.4-2ubuntu1 0
500 http://
100 /var/lib/
libvirt-bin:
Installed: 0.4.4-3ubuntu3
Candidate: 0.4.4-3ubuntu3
Version table:
*** 0.4.4-3ubuntu3 0
500 http://
100 /var/lib/
linux-image:
Installed: (none)
Candidate: 2.6.27.7.11
Version table:
2.6.27.7.11 0
500 http://
lvm2:
Installed: 2.02.39-0ubuntu2
Candidate: 2.02.39-0ubuntu2
Version table:
*** 2.02.39-0ubuntu2 0
500 http://
100 /var/lib/
I have the same problem on 8.10 (AMD-64) (EXT3 on LVM on encrypted partition). Other installations work (jeos) If i use qemu instead of kvm the installation will pass the first boot and the graphical installations starts. (Q6700 cpu)
On 8.04-1 (AMD-64) with the same configuration I have no problems with the installation of xp. (Q6600 and Q6700 cpu)