From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Wong Subject: Can not install windows7 when use /dev/sda3 and raw format Date: Sun, 27 Dec 2009 11:11:14 +0800 Message-ID: <4B36D052.2060602@wonghome.net> Mime-Version: 1.0 Content-Type: text/plain; charset=Big5 Content-Transfer-Encoding: 7bit To: kvm Return-path: Received: from smtp.ctimail.com ([203.186.94.58]:43155 "EHLO smtpo.ctimail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751210AbZL0EAH (ORCPT ); Sat, 26 Dec 2009 23:00:07 -0500 Received: from pdc.wonghome.net (124244200136.ctinets.com [124.244.200.136]) by smtpo.ctimail.com (8.12.11/8.12.11) with ESMTP id nBR3BIpi008754 for ; Sun, 27 Dec 2009 11:11:18 +0800 (HKT) Received: from pdc.wonghome.net (localhost [127.0.0.1]) by pdc.wonghome.net (Postfix) with ESMTP id 6F6A541737 for ; Sun, 27 Dec 2009 11:11:17 +0800 (HKT) Received: from [192.168.168.3] (redcat.wonghome.net [192.168.168.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pdc.wonghome.net (Postfix) with ESMTPSA id 2FEE94172D for ; Sun, 27 Dec 2009 11:11:17 +0800 (HKT) Sender: kvm-owner@vger.kernel.org List-ID: I can not install windows 7 x86, when i use /dev/sda3 and raw disk format. the windows7 installer can not find the harddisk, no matter what drive i use (ide/scsi/virtio). I can install, when i use qcow2.img. my host system is debian/64bit/sid uname -a: Linux retro 2.6.32-trunk-amd64 #1 SMP Thu Dec 17 06:29:18 UTC 2009 x86_64 GNU/Linux qemu-kvm-0.12.1.1 kvm modules come from debian modules package (it shall be 2.6.32) kvm command like this: ${KVM} -drive if=ide,cache=none,file=${IMG} \ -net nic,vlan=${NUM},model=virtio,macaddr=00:AA:BB:CC:DD:0${NUM} \ -net tap,vlan=${NUM},ifname="${iface}",script=/etc/kvm/kvm-ifup,downscript=/etc/kvm/kvm-ifdown \ -localtime -smp 1 \ -usb -usbdevice tablet \ -soundhw all \ -k en-us -monitor stdio \ -mem-path /hugepages \ -cdrom ${CDROM} \ -m 2048 -vga std -boot order=d,menu=off when i change ${IMG} to ./qcow2.img, then it work. when i change ${IMG} to /dev/sda3, then it NOT work. (I'm sure i have read/write permission to /dev/sda3) please help, and thank you.