source: trunk/MAKEFILE@ 32

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.1 KB
Line 
1#
2# MAKEFILE -- Wrapper around the DOS .BAT files.
3#
4
5LANGUAGE=EN
6
7#
8# Used tools:
9# Open Watcom v1.9
10# Tasm v4.1 DOS (136018 bytes)
11# Tlink v4.0 DOS (72585 bytes)
12# Caldera EXE2BIN.EXE R1.01 (9845 bytes)
13#
14
15
16#
17# Build the loader code, the installers and SETABOOT.
18#
19# The default language for the loader code is EN.
20# To build another language, edit BOOTCODE\_build.cmd and change the lang variable.
21# Supported languages are: EN,DE,FR,SW,IT,NL,RU.
22# To build all languages, edit BOOTCODE\_build.cmd and set the lang variable to 'ALL'.
23# The 1.06 version used 'DT' for the Dutch language, this has been changed to 'NL'.
24#
25all: .SYMBOLIC
26# AiR-BOOT loader code
27 cd BOOTCODE
28 call _clean.cmd
29 call _build.cmd $(LANGUAGE)
30 @cd ..
31
32# OS2 and WIN32 installer
33 cd INSTALL\C
34 call _clean.cmd
35 call _build.cmd
36 cd ..\..
37
38# OS2 SETABOOT
39 cd TOOLS\OS2\SETABOOT
40 call _clean.cmd
41 call _build.cmd
42 cd ..\..\..
43
44#
45# Cleanup.
46#
47clean: .SYMBOLIC
48 cd BOOTCODE
49 call _clean.cmd
50 cd ..
51
52 cd INSTALL\C
53 call _clean.cmd
54 cd ..\..
55
56 cd TOOLS\OS2\SETABOOT
57 call _clean.cmd
58 cd ..\..\..
Note: See TracBrowser for help on using the repository browser.