|
Last change
on this file since 32 was 32, checked in by Ben Rietbroek, 13 years ago |
|
Fixed Win7 boot from FAT32 and HPFS zero-drive ussue [2011-11-20]
Fixes
o Fixed booting Windows 7 from FAT32
Booting Windows (NT/2K/XP/Vista/7) from FAT32 when the actual system
resides on an NTFS partition actually chainload the Windows
boot-loader in the FAT32 partition.
A bug in the handling of such a FAT32 partition with the Windows
boot-loader caused it not to find NTLDR is some cases.
o Fixed HPFS zero-drive issue
The BPB contains a field that indicates the boot-drive to the
OS2BOOT and OS2LDR programs. When creating an HPFS partition and
then restoring a system from archive (i.e. a zip-file) of course
does not set this field, since only files are restored.
This causes the boot process to halt with "...cannot operate..."
or even boot another HPFS partition. This field is now derived from
the LVM drive-letter if it contains an incorrect value.
o Corrected CRC calculations on AiR-BOOT configuration
V1.07 expanded the number of partitions from 30 to 45.
However, this was not done correctly and the configuration CRC was
still caclulated over 5 sectors. Initial v1.0.8 code corrected this
but this results in the v1.07 installer and setaboot programs
breaking on v1.0.8 code. So, for the time being the CRC caclucation
is reverted back to 5 sectors for the sake of v1.07 compatibility.
Save and restore of the configuration use 7 sectors of course.
o Corrected contact information
V1.07 shipped with the wrong contact information, causing issues
to be reported on sourceforge instead of netlabs.
Changes
o Renamed original README.TXT to README.MKW
o Added 1README.TXT
o Added COPYING (GNU License)
Note
This commit and all following commits upto and including the RC3
commit [2012-09-09] are delayed commits from a local repository.
Also, the RC (Release Candidate) naming of the corresponding commits
is a bit misleading. One would label a revision with RC when near to
a final release. Since many things have changed between RC1,RC2 & RC3,
these RC's should be interpreted as mile-stones.
WARNING!!
All commits upto and including the commit of [2012-05-13] contain
a severe bug!! Building from these sources and then disabling
the 'force LBA' feature while also using the drive-letter feature or
editing the label can destroy the MBR on all attached disks!!
DO NOT DISABLE 'FORCE LBA USAGE' WHEN BUILT FROM THE ABOVE COMMITS!!
|
|
File size:
1.4 KB
|
| Line | |
|---|
| 1 | @echo off
|
|---|
| 2 | rem This batch file builds
|
|---|
| 3 | if "%1"=="EN" goto Valid
|
|---|
| 4 | if "%1"=="DE" goto Valid
|
|---|
| 5 | if "%1"=="NL" goto Valid
|
|---|
| 6 | if "%1"=="FR" goto Valid
|
|---|
| 7 | if "%1"=="IT" goto Valid
|
|---|
| 8 | if "%1"=="RU" goto Valid
|
|---|
| 9 | if "%1"=="SW" goto Valid
|
|---|
| 10 | if "%1"=="ALL" goto BuildAll
|
|---|
| 11 | echo Invalid language ID
|
|---|
| 12 | goto ExitMe
|
|---|
| 13 |
|
|---|
| 14 | rem -- We do English last so an English version can be copied
|
|---|
| 15 | rem -- to this directory, using it's normal basename instead
|
|---|
| 16 | rem -- of the language suffixed one.
|
|---|
| 17 | :BuildAll
|
|---|
| 18 | call make.bat DE
|
|---|
| 19 | call make.bat NL
|
|---|
| 20 | call make.bat FR
|
|---|
| 21 | call make.bat IT
|
|---|
| 22 | call make.bat RU
|
|---|
| 23 | call make.bat SW
|
|---|
| 24 | call make.bat EN
|
|---|
| 25 | goto ExitMe
|
|---|
| 26 |
|
|---|
| 27 | :Valid
|
|---|
| 28 | echo.
|
|---|
| 29 | echo.
|
|---|
| 30 | echo Making %1 language version of AiR-BOOT bootcode...
|
|---|
| 31 | echo Include TEXT\%1\MBR.asm >TEXT\TXTMBR.asm
|
|---|
| 32 | echo Include TEXT\%1\MENUS.asm >TEXT\TXTMENUS.asm
|
|---|
| 33 | echo Include TEXT\%1\OTHER.asm >TEXT\TXTOTHER.asm
|
|---|
| 34 |
|
|---|
| 35 | rem Do actual build...
|
|---|
| 36 | call ..\env\dos.bat
|
|---|
| 37 | %assembler% air-boot.asm
|
|---|
| 38 | if errorlevel 1 goto Failed
|
|---|
| 39 | %linker% air-boot.obj >nul
|
|---|
| 40 | if errorlevel 1 goto Failed
|
|---|
| 41 | %exe2bin% air-boot.exe air-boot.com >nul
|
|---|
| 42 | if errorlevel 1 goto Failed
|
|---|
| 43 |
|
|---|
| 44 | ..\tools\internal\fixcode.com
|
|---|
| 45 |
|
|---|
| 46 | copy AIR-BOOT.com ..\RELEASE\BOOTCODE\AIRBT-%1.bin
|
|---|
| 47 |
|
|---|
| 48 | copy AIR-BOOT.COM AIRBOOT.BIN
|
|---|
| 49 |
|
|---|
| 50 | rem Cleanup
|
|---|
| 51 | del AiR-BOOT.com
|
|---|
| 52 | del AiR-BOOT.exe
|
|---|
| 53 | del AiR-BOOT.obj
|
|---|
| 54 | goto ExitMe
|
|---|
| 55 |
|
|---|
| 56 | :Failed
|
|---|
| 57 | echo Errorlevel not 0, make failed
|
|---|
| 58 | :ExitMe
|
|---|
| 59 |
|
|---|
| 60 | echo.
|
|---|
| 61 | echo Gonna build the installer and setaboot now...
|
|---|
| 62 | echo.
|
|---|
| 63 |
|
|---|
| 64 | rem @pause
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.