* Can not install windows7 when use /dev/sda3 and raw format
@ 2009-12-27 3:11 John Wong
2009-12-27 6:53 ` Gleb Natapov
2009-12-30 12:00 ` John Wong
0 siblings, 2 replies; 4+ messages in thread
From: John Wong @ 2009-12-27 3:11 UTC (permalink / raw)
To: kvm
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can not install windows7 when use /dev/sda3 and raw format
2009-12-27 3:11 Can not install windows7 when use /dev/sda3 and raw format John Wong
@ 2009-12-27 6:53 ` Gleb Natapov
2009-12-27 7:35 ` John Wong
2009-12-30 12:00 ` John Wong
1 sibling, 1 reply; 4+ messages in thread
From: Gleb Natapov @ 2009-12-27 6:53 UTC (permalink / raw)
To: John Wong; +Cc: kvm
On Sun, Dec 27, 2009 at 11:11:14AM +0800, John Wong wrote:
> 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.
What happens if you add format=raw to the -drive parameter?
--
Gleb.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can not install windows7 when use /dev/sda3 and raw format
2009-12-27 6:53 ` Gleb Natapov
@ 2009-12-27 7:35 ` John Wong
0 siblings, 0 replies; 4+ messages in thread
From: John Wong @ 2009-12-27 7:35 UTC (permalink / raw)
To: Gleb Natapov, KVM list
Gleb Natapov 提到:
> What happens if you add format=raw to the -drive parameter?
> --
> Gleb.
> --
>
The result is the same (still not work), i tried it before.
Thank you.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can not install windows7 when use /dev/sda3 and raw format
2009-12-27 3:11 Can not install windows7 when use /dev/sda3 and raw format John Wong
2009-12-27 6:53 ` Gleb Natapov
@ 2009-12-30 12:00 ` John Wong
1 sibling, 0 replies; 4+ messages in thread
From: John Wong @ 2009-12-30 12:00 UTC (permalink / raw)
To: kvm
Is that only me. nobody have this problem?
Any Debian user here?
Please help, thank you.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-12-30 12:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-27 3:11 Can not install windows7 when use /dev/sda3 and raw format John Wong
2009-12-27 6:53 ` Gleb Natapov
2009-12-27 7:35 ` John Wong
2009-12-30 12:00 ` John Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox