public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: John Wong <johnw@wonghome.net>
To: kvm <kvm@vger.kernel.org>
Subject: Can not install windows7 when use /dev/sda3 and raw format
Date: Sun, 27 Dec 2009 11:11:14 +0800	[thread overview]
Message-ID: <4B36D052.2060602@wonghome.net> (raw)

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.

             reply	other threads:[~2009-12-27  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-27  3:11 John Wong [this message]
2009-12-27  6:53 ` Can not install windows7 when use /dev/sda3 and raw format Gleb Natapov
2009-12-27  7:35   ` John Wong
2009-12-30 12:00 ` John Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B36D052.2060602@wonghome.net \
    --to=johnw@wonghome.net \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox