I pasted the patch commentary as weel as the patch.<br><br>These changes were necessary in order to allow LinuxBIOS to<br>install windows from an installation CD. Windows seems<br>to require that the BIOS used during installation be the
<br>same used to run it after installed.<br><br> - In the file loader.s I  commented out the CMOS settings<br>   that force booting from Hard Disk.<br><br> - In the rombios.c the functions responsible for booting<br>   from CD-ROM are turned on.
<br><br>These changes are only necessary to install windows, after<br>installed they are no longer needed.<br><br>Signed-off-by: Augusto Pedroza <<a href="mailto:augusto.pedroza@gmail.com">augusto.pedroza@gmail.com</a>
><br><br>Index: util/ADLO/loader.s<br>===================================================================<br>--- util/ADLO/loader.s  (revision 2739)<br>+++ util/ADLO/loader.s  (working copy)<br>@@ -177,10 +177,10 @@<br>
 ; 0x02 - hdd<br> ; In future there will be 'fd failover'option in bochs.<br><br>-mov  al, #0x3d ;; cmos_reg<br>-out  0x70, al<br>-mov  al, #0x02 ;; val (hdd)<br>-out  0x71, al<br>+;mov  al, #0x3d ;; cmos_reg<br>+;out  0x70, al
<br>+;mov  al, #0x02 ;; val (hdd)<br>+;out  0x71, al<br><br> ;-----------------------------------------------------<br> ; IV) tell BOCHS' BIOS length of our mem block @ 1mb.<br>Index: util/ADLO/bochs/bios/rombios.c<br>
===================================================================<br>--- util/ADLO/bochs/bios/rombios.c      (revision 2739)<br>+++ util/ADLO/bochs/bios/rombios.c      (working copy)<br>@@ -147,7 +147,7 @@<br> #define LINUXBIOS      1
<br><br> #define BX_USE_ATADRV    1<br>-//#define BX_ELTORITO_BOOT 1<br>+#define BX_ELTORITO_BOOT 1<br><br><br><div><span class="gmail_quote">On 7/23/07, <b class="gmail_sendername">Peter Stuge</b> <<a href="mailto:peter@stuge.se">
peter@stuge.se</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Mon, Jul 23, 2007 at 10:46:34PM -0300, Augusto Pedroza wrote:
<br>> We finally got windows XP to work with LinuxBIOS.<br><br>That is really great news!<br><br><br>> Just few modifications to ADLO were necessary.<br>> see wiki for details:<br>> <a href="http://www.linuxbios.org/Booting_Windows_using_LinuxBIOS">
http://www.linuxbios.org/Booting_Windows_using_LinuxBIOS</a><br><br>I'd love to read a quick description of the ADLO modifications needed<br>until you the code is available.<br><br>Thanks!<br><br><br>//Peter<br><br>--
<br>linuxbios mailing list<br><a href="mailto:linuxbios@linuxbios.org">linuxbios@linuxbios.org</a><br><a href="http://www.linuxbios.org/mailman/listinfo/linuxbios">http://www.linuxbios.org/mailman/listinfo/linuxbios</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Augusto Pedroza