[LinuxBIOS] [PATCH] [ADLO] Booting Windows XP and Windows 2000
augusto.pedroza at gmail.com
Tue Jul 24 04:04:01 CEST 2007
I pasted the patch commentary as weel as the patch.
These changes were necessary in order to allow LinuxBIOS to
install windows from an installation CD. Windows seems
to require that the BIOS used during installation be the
same used to run it after installed.
- In the file loader.s I commented out the CMOS settings
that force booting from Hard Disk.
- In the rombios.c the functions responsible for booting
from CD-ROM are turned on.
These changes are only necessary to install windows, after
installed they are no longer needed.
Signed-off-by: Augusto Pedroza <augusto.pedroza at gmail.com>
--- util/ADLO/loader.s (revision 2739)
+++ util/ADLO/loader.s (working copy)
@@ -177,10 +177,10 @@
; 0x02 - hdd
; In future there will be 'fd failover'option in bochs.
-mov al, #0x3d ;; cmos_reg
-out 0x70, al
-mov al, #0x02 ;; val (hdd)
-out 0x71, al
+;mov al, #0x3d ;; cmos_reg
+;out 0x70, al
+;mov al, #0x02 ;; val (hdd)
+;out 0x71, al
; IV) tell BOCHS' BIOS length of our mem block @ 1mb.
--- util/ADLO/bochs/bios/rombios.c (revision 2739)
+++ util/ADLO/bochs/bios/rombios.c (working copy)
@@ -147,7 +147,7 @@
#define LINUXBIOS 1
#define BX_USE_ATADRV 1
-//#define BX_ELTORITO_BOOT 1
+#define BX_ELTORITO_BOOT 1
On 7/23/07, Peter Stuge <peter at stuge.se> wrote:
> On Mon, Jul 23, 2007 at 10:46:34PM -0300, Augusto Pedroza wrote:
> > We finally got windows XP to work with LinuxBIOS.
> That is really great news!
> > Just few modifications to ADLO were necessary.
> > see wiki for details:
> > http://www.linuxbios.org/Booting_Windows_using_LinuxBIOS
> I'd love to read a quick description of the ADLO modifications needed
> until you the code is available.
> linuxbios mailing list
> linuxbios at linuxbios.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the coreboot