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