Michael Hoeller <[EMAIL PROTECTED]> wrote: > Hello Ben, > > I compiled with kqemu support - the version which works is the with or > without kqemu?
Both. > Just to double check, I created the virtual partition with dd of=win.img > bs=1024 seek=2000000 count=0 I forgot one very important part. The calculation needs to be <img size in bytes> / (heads * sectors per cylinder * 512 bytes) = cylinders. so in your case, the calculation is close > I am not sure to calculate the cylinders 2 000 000 / 16 / 63 = 1984,126 > ??? well, the default sector size is 512, and you've done your sizing in number of 1k blocks, your calculations was close. It should be: blocks secs/block hds sec/cyl (2 000 000 * 2 ) / ( 16 * 63 ) = 3968 The first time I did the math, my 2g partition went to 8g partition when I used the -hdachs parameters cause I really screwed up the math. (it appears if you mess your c-h-s values, your image since may change. :-) HTH, and sorry for the confusion. Ben > > Thanks a lot > Michael > > Michael Hoeller <[EMAIL PROTECTED]> > > > > I have compiled qemu from the cvs 2004-04-14 and kqemu. Then tried to > > install WinXP it hangs everytime after formating when it tries to copy > the > > install data. > > I have startet with qemu -m 512 -localtime -user-net -hda > /data/winxp.img > > -cdrom /dev/cdrom -k de -boot d > > Did I missed a tricky option or is there prob? > > How big is your virtual partition supposed to be? Take > that value, divide by 16 and 63 and then add > -hdachs <cylinder>,16,63 and see if that works. I'm > not using anything special (other than stuff to make > it work with Solaris), and I've gotten win98, win2k pro, > win2k server, winxp home upgrade and win 2003 to > install. They don't always run right once I start > mucking with them, but the great thing is you can > keep a backup of the image in case you screw something > up. > > This has worked for me with the cvs code, and not > including the patch that was posted today. > > > Ben > > > > > > This e-mail (and/or attachments) is confidential and may be privileged. Use > or disclosure of it by anyone other than a designated addressee is > unauthorized. > If you are not an intended recipient, please delete this e-mail from the > computer on which you received it. We thank you for notifying us immediately. > > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel