We finally got windows XP to work with LinuxBIOS. Since it is working fine on qemu I hope more people can test it and understand it. Just few modifications to ADLO were necessary. see wiki for details: http://www.linuxbios.org/Booting_Windows_using_LinuxBIOS
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.
Thanks!
//Peter
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@gmail.com
Index: util/ADLO/loader.s =================================================================== --- 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. Index: util/ADLO/bochs/bios/rombios.c =================================================================== --- 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@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.
Thanks!
//Peter
-- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios
On 24.07.2007 03:46, Augusto Pedroza wrote:
We finally got windows XP to work with LinuxBIOS. Since it is working fine on qemu I hope more people can test it and understand it. Just few modifications to ADLO were necessary. see wiki for details: http://www.linuxbios.org/Booting_Windows_using_LinuxBIOS
Great!
Quoting from the wiki page:
I WILL SOON RELEASE SOME NECESSARY PATCHES!
Can you send the patches to this list or make them available somewhere?
Regards, Carl-Daniel
My fault, I forgot to attach it, Sorry guys!!
On 7/23/07, Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net wrote:
On 24.07.2007 03:46, Augusto Pedroza wrote:
We finally got windows XP to work with LinuxBIOS. Since it is working
fine
on qemu I hope more people can test it and understand it. Just few modifications to ADLO were necessary. see wiki for details: http://www.linuxbios.org/Booting_Windows_using_LinuxBIOS
Great!
Quoting from the wiki page:
I WILL SOON RELEASE SOME NECESSARY PATCHES!
Can you send the patches to this list or make them available somewhere?
Regards, Carl-Daniel
On 24.07.2007 04:05, Augusto Pedroza wrote:
My fault, I forgot to attach it, Sorry guys!!
Thanks for the patch! I can't wait to test it.
Regards, Carl-Daniel
Has anyone actually installed and/or booted WinXP on real hardware with these changes?
Augusto Pedroza wrote:
My fault, I forgot to attach it, Sorry guys!!
Signed-off-by: Augusto Pedroza augusto.pedroza@gmail.com
Index: util/ADLO/loader.s
--- 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. Index: util/ADLO/bochs/bios/rombios.c =================================================================== --- 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
#define BX_MAX_ATA_INTERFACES 4 #define BX_MAX_ATA_DEVICES (BX_MAX_ATA_INTERFACES*2)
On 05.08.2007 21:59, Tom Sylla wrote:
Has anyone actually installed and/or booted WinXP on real hardware with these changes?
I believe not. Augusto uses LinuxBIOS v3 instead of v2 and I have no idea if any of the v3 supported real hardware can run Windows XP. AFAIK the Geode LX needs a non-redistributable VSA binary for VGA support and Windows needs VGA.
Regards, Carl-Daniel
On Mon, Jul 23, 2007 at 11:04:01PM -0300, Augusto Pedroza wrote:
These changes are only necessary to install windows, after installed they are no longer needed.
On Sun, Aug 05, 2007 at 11:51:46PM +0200, Carl-Daniel Hailfinger wrote:
On 05.08.2007 21:59, Tom Sylla wrote:
Has anyone actually installed and/or booted WinXP on real hardware with these changes?
I believe not. Augusto uses LinuxBIOS v3 instead of v2
But since ADLO is doing the heavy lifting, and there were no substantial changes made to ADLO I think v2 should work too.
Please try it out if you can.
//Peter
Has anyone actually installed and/or booted WinXP on real
hardware with these changes?
Unfortunately I have not tried that on real hardware since I don't have one available. If you guys have some free time to try that please do it and give me some feedback. I intend to acquire a compatible mother board soon.
I believe not. Augusto uses LinuxBIOS v3 instead of v2
I used LinuxBIOSv2 is most of my debugging and development, I have switched to v3 maybe a month ago. So I guess it works fine with both.
We have been working hard on Vista now.
Thanks,