Hi Myles,<br>  in the xpboot.diff the following alterations should be made:<br>In the file:<br> util/ADLO/loader.s<br><br>comment out or remove the lines 177 until 180:<br>;mov  al, #0x3d ;; cmos_reg<br>;out  0x70, al<br>;mov  al, #0x02 ;; val (hdd)
<br>;out  0x71, al<br> <br>In the file:<br>  util/ADLO/bochs/bios/rombios.c<br><br>uncomment  line 147:<br> #define BX_ELTORITO_BOOT 1<br><br>Have you done these alterations already?<br>Also try booting your windows installation CD with qemu default's BIOS and let me know the result please.
<br><br>Thanks,<br>  Augusto Pedroza<br><br><br><div><span class="gmail_quote">On 9/7/07, <b class="gmail_sendername">Myles Watson</b> <<a href="mailto:myles@pel.cs.byu.edu">myles@pel.cs.byu.edu</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;">
>  <a href="http://www.linuxbios.org/Booting_Windows_using_LinuxBIOS">http://www.linuxbios.org/Booting_Windows_using_LinuxBIOS</a><br><br>> Feel free to test it and give some feedback!!<br><br>I can get it to find my CD-ROM drive, but it fails with code: 0003.
<br><br>According to <a href="http://bochs.sourceforge.net/doc/docbook/user/bios-tips.html">http://bochs.sourceforge.net/doc/docbook/user/bios-tips.html</a><br>that means:<br><br>For this error, the cdrom support has not been compiled in Bochs, or Bochs
<br>could not open the file or device. This is what you get if Bochs is not able<br>to read the cd.<br><br>Could you give me pointers as to what CD support I should add/enable in<br>ADLO?<br><br>Thanks,<br>Myles<br><br>Here is the output of the boot (First it tries the CD, then the HDD):
<br><br>Enter boot: hdb1:/boot/adlo.cd.elf<br>hda: LBA: IC35L020AVER07-0<br>hdb: LBA: WDC WD800JB-00JJC0<br>Mounted ext2fs<br>Loading image...<br>Loaded 66560 bytes in 55ms (1210KB/s)<br>Jumping to entry point...<br>$Revision: 
1.163 $ $Date: 2006/07/07 16:10:37 $<br>Bochs BIOS - build: 06/23/99<br>$Revision: 1.163 $ $Date: 2006/07/07 16:10:37 $<br>Options: eltorito<br><br>ata0 master: Unknown device<br>ata1 master: SONY DVD-ROM DDU1615 ATAPI-7 CD-Rom/DVD-Rom
<br><br>CDROM boot failure code : 0003<br>Boot from CD-Rom failed<br>int13_harddisk: function 02, unmapped device for ELDL=80<br>Boot from Hard Disk 0 failed<br>FATAL: INT18: BOOT FAILURE<br><br><br><br><br></blockquote></div>
<br><br clear="all"><br>-- <br>Augusto Pedroza