Re: [Qemu-devel] boot a preinstalled winxp on linux/x86: writing a patch...

2006-12-28 Thread Stefan Weil
Hi,

booting a preinstalled winxp fails because Windows XP
crashs (sometimes you will see a bluescreen) and starts
a reboot. It won't fail if the real hardware and
QEMU's virtual hardware are nearly identical.
Especially the chipset seams to be critical.

/dev/hda1 is the first partition which is part of
/dev/hda (whole disk), so there are no patches which
can fix anything in QEMU here.

You might extend QEMU to emulate your computer's
hardware - then XP would run. But this is a lot of work...

Regards
Stefan


Roberto Polli schrieb:
 hi all,

 I tried to boot my preinstalled winxp with
 # qemu -boot c -hda /dev/hda

 that's what happens:
 - qemu load grub, and I select to boot winxp (grub says chainloader
 +1, then
 boot)
 - qemu starts to load winxp, with a winxp boot screen
 - qemu fails and reboots

 it seems qemu stops loading winxp when /dev/hda ends and /dev/hda1
 starts.

 I could build a patch to fix it, but before start studing qemu source,
 I'd
 like to ear from you - yes, if it was easy you guru already would have
 done
 it!

 tia,
 R.



___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] boot a preinstalled winxp on linux/x86: writing a patch...

2006-12-28 Thread Roberto Polli
Hi

Alle 11:09, giovedì 28 dicembre 2006, Stefan Weil ha scritto:
 booting a preinstalled winxp fails because Windows XP
 crashs...and ... reboot. It won't fail if the real hardware and
 QEMU's virtual hardware are nearly identical.
ok

 Especially the chipset seams to be critical.
1- so we should have one qemu chipset emulator for each winxp installation?
2- is this pbm equivalent to the move my hd to another pc with different 
mainboard one?
3- if I solve pbm 2, should I solve pbm 1?


 /dev/hda1 is the first partition which is part of
 /dev/hda (whole disk)
yes, i mistakenly thought that part of the windows bootloader was related to 
the mbr

Thank you very much for your explanation, these are very helpful! Do you think 
I should put something about this thread in the wiki? Forums are full of such 
these question!

Greetings,
R.
-- 

Roberto Polli
Babel S.r.l. - http://www.babel.it
Tel. +39.06.91801075 - fax +39.06.91612446
P.zza S.Benedetto da Norcia, 33 - 00040 Pomezia (Roma)


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] boot a preinstalled winxp on linux/x86: writing a patch...

2006-12-28 Thread Stefan Weil
Roberto Polli schrieb:
 Especially the chipset seams to be critical.
 1- so we should have one qemu chipset emulator for each winxp
 installation?
 2- is this pbm equivalent to the move my hd to another pc with different
 mainboard one?
 3- if I solve pbm 2, should I solve pbm 1?

1- Yes, more chipset emulations would help.
2- Yes.
3- Yes, at least I think so.

Regards
Stefan



___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] boot a preinstalled winxp on linux/x86: writing a patch...

2006-12-28 Thread Ottavio Caruso

--- Roberto Polli [EMAIL PROTECTED] wrote:

 hi all,
 
 I tried to boot my preinstalled winxp with
  # qemu -boot c -hda /dev/hda
 
 that's what happens:
 - qemu load grub, and I select to boot winxp (grub says
 chainloader +1, then 
 boot)
 - qemu starts to load winxp, with a winxp boot screen
 - qemu fails and reboots

Ciao Roberto,

this has been discussed before on the user forum, too.
In the meantime, maybe this is not exactly waht you're looking for
but, have you tried Bart PE:
http://www.nu2.nu/pebuilder/   
?



-- 
Ottavio Caruso

I will not purchase any computing equipment from manufacturers that recommend 
Windows Vista™ or any other Microsoft® products.
http://www.pledgebank.com/boycottvista

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] boot a preinstalled winxp on linux/x86: writing a patch...

2006-12-27 Thread Roberto Polli
hi all,

I tried to boot my preinstalled winxp with
 # qemu -boot c -hda /dev/hda

that's what happens:
- qemu load grub, and I select to boot winxp (grub says chainloader +1, then 
boot)
- qemu starts to load winxp, with a winxp boot screen
- qemu fails and reboots

it seems qemu stops loading winxp when /dev/hda ends and /dev/hda1 starts.

I could build a patch to fix it, but before start studing qemu source, I'd 
like to ear from you - yes, if it was easy you guru already would have done 
it!

tia,
R.
-- 

Roberto Polli
Babel S.r.l. - http://www.babel.it
Tel. +39.06.91801075 - fax +39.06.91612446
P.zza S.Benedetto da Norcia, 33 - 00040 Pomezia (Roma)


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel