Received: from [140.186.70.92] (port=43639 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Og066-0005CV-NN for qemu-devel@nongnu.org; Mon, 02 Aug 2010 14:50:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Og065-00022z-3D for qemu-devel@nongnu.org; Mon, 02 Aug 2010 14:50:50 -0400 Received: from adelie.canonical.com ([91.189.90.139]:36358) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Og064-00022q-PY for qemu-devel@nongnu.org; Mon, 02 Aug 2010 14:50:49 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1Og062-0003sG-Ox for ; Mon, 02 Aug 2010 19:50:47 +0100 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id D2E9C2E839B for ; Mon, 2 Aug 2010 19:50:44 +0100 (BST) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 02 Aug 2010 18:43:26 -0000 From: Andy Lee Robinson <586175@bugs.launchpad.net> Sender: bounces@canonical.com References: <20100527023758.1600.77688.malonedeb@soybean.canonical.com> Message-Id: <20100802184327.20647.23041.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 586175] Re: Windows XP/2003 doesn't boot Reply-To: Bug 586175 <586175@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Andreas, The program that created the disk image seems confused, but it worked for c= reating a VM for FC11. Windows install seems to run fine, until wanting to boot from the drive it = created. I don't know what creates the drive image and geometry, but it is broken. I think this is what I used to create the VM, but I have messed around with so many configurations and methods, I'm not sure what is what anymore. virt-install --connect qemu:///system -n w7 -r 2048 --vcpus=3D2 \ --disk path=3D/vm/w7.img,size=3D20,sparse=3Dfalse,format=3Dqcow2 \ -c /vm/w7cd.iso --vnc --noautoconsole \ --os-type windows --os-variant win7 --accelerate --network=3Dbridge:br0 --h= vm How many thousands of people have struggled with this and also got nowhere? It just looks like the virt-install developers have not tasted their own do= gfood! LVM is supposed to be easy - just select vm image and boot, but the more I read about VMs, kvm, qemu, virtualbox, virsh etc, the more confused I get= on how they relate to each other. testdisk reports this: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Disk /dev/loop0 - 21 GB / 20 GiB - CHS 41943040 1 1 (wtf ??) Partition Start End Size in sectors 1 * HPFS - NTFS 2048 206847 204800 [System Reserve= d] 2 P HPFS - NTFS 206848 41940991 41734144 Select 1: Disk /dev/loop0 - 21 GB / 20 GiB - CHS 41943040 1 1 Partition Start End Size in sectors 1 * HPFS - NTFS 2048 206847 204800 [System Reserve= d] Boot sector Warning: Incorrect number of heads/cylinder 16 (NTFS) !=3D 1 (HD) Warning: Incorrect number of sectors per track 63 (NTFS) !=3D 1 (HD) Status: OK Backup boot sector Warning: Incorrect number of heads/cylinder 16 (NTFS) !=3D 1 (HD) Warning: Incorrect number of sectors per track 63 (NTFS) !=3D 1 (HD) Status: OK Sectors are identical. A valid NTFS Boot sector must be present in order to access any data; even if the partition is not bootable. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Rebuild BS: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Disk /dev/loop0 - 21 GB / 20 GiB - CHS 41943040 1 1 Partition Start End Size in sectors 1 * HPFS - NTFS 2048 206847 204800 [System Reserve= d] filesystem size 204800 204800 sectors_per_cluster 8 8 mft_lcn 8533 8533 mftmirr_lcn 2 2 clusters_per_mft_record -10 -10 clusters_per_index_record 1 1 Extrapolated boot sector and current boot sector are different. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Q Select 2: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Disk /dev/loop0 - 21 GB / 20 GiB - CHS 41943040 1 1 Partition Start End Size in sectors 2 P HPFS - NTFS 206848 41940991 41734144 Boot sector Warning: Incorrect number of heads/cylinder 16 (NTFS) !=3D 1 (HD) Warning: Incorrect number of sectors per track 63 (NTFS) !=3D 1 (HD) Status: OK Backup boot sector Warning: Incorrect number of heads/cylinder 16 (NTFS) !=3D 1 (HD) Warning: Incorrect number of sectors per track 63 (NTFS) !=3D 1 (HD) Status: OK Sectors are identical. A valid NTFS Boot sector must be present in order to access any data; even if the partition is not bootable. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Rebuild BS: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Disk /dev/loop0 - 21 GB / 20 GiB - CHS 41943040 1 1 Partition Start End Size in sectors 2 P HPFS - NTFS 206848 41940991 41734144 filesystem size 41734144 41734144 sectors_per_cluster 8 8 mft_lcn 786432 786432 mftmirr_lcn 2 2 clusters_per_mft_record -10 -10 clusters_per_index_record 1 1 Extrapolated boot sector and current boot sector are different. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ It looks a mess. -- = Windows XP/2003 doesn't boot https://bugs.launchpad.net/bugs/586175 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: Incomplete Status in =E2=80=9Cqemu-kvm=E2=80=9D package in Ubuntu: New Status in Debian GNU/Linux: New Status in Fedora: Unknown Bug description: Hello everyone, my qemu doesn't boot any Windows XP/2003 installations if I try to boot the= image. If I boot the install cd first, it's boot manager counts down and triggers = the boot on it's own. That's kinda stupid. I'm using libvirt, but even by a simple > qemu-kvm -drive file=3Dimage.img,media=3Ddisk,if=3Dide,boot=3Don it won't boot. Qemu hangs at the message "Booting from Hard Disk..." I'm using qemu-kvm-0.12.4 with SeaBIOS 0.5.1 on Gentoo (No-Multilib and AMD= 64). It's a server, that means I'm using VNC as the primary graphic output = but i don't think it should be an issue.