Reactos
1; FreeLoader by Brian Palmer
2; FREELDR.INI - FreeLoader Initialization File
3;
4; Each line must be less than 1024 characters long
5; and must be either a section heading (i.e. [section_name])
6; or a setting (i.e. name=value) or a blank line.
7; Comments start with a ';' character.
8
9
10; [FREELOADER] Section Commands:
11;
12; Debug - FreeLoader debugging port parameters, e.g.
13; /DEBUG /DEBUGPORT=COM1 /BAUDRATE=115200
14; MessageBox - Displays the specified text in a message box upon startup.
15; The text can be escaped for newlines (\n).
16; DefaultOS - Specifies which OS listed is the default choice.
17; TimeOut - Sets the countdown (in seconds) before the first OS listed
18; gets booted automatically.
19
20; [Display] Section Commands:
21;
22; DisplayMode - Sets the video mode to be used by FreeLoader.
23; The following values are supported:
24; NORMAL_VGA for 80x25
25; EXTENDED_VGA for 80x50 on VGA 80x43 on EGA
26; 0x501C for 80x28
27; 0x501E for 80x30
28; 0x5022 for 80x34
29; 0x502B for 80x43
30; 0x503C for 80x60
31;
32; TitleText - Text being displayed in the title box.
33; TimeText - Text being displayed for the timeout countdown.
34; It can be escaped (with a single %d) for the countdown
35; to be inserted at a specific place, instead of being
36; appended at the end.
37; StatusBarColor - Color of status bar's background.
38; StatusBarTextColor - Color of status bar's text.
39; BackdropTextColor - Color of the backdrop's fill.
40; BackdropColor - Color of the backdrop's background.
41; BackdropFillStyle - Backdrop fill style, can be one of the following:
42; None, Light, Medium, Dark.
43; TitleBoxTextColor - Title box text color.
44; TitleBoxColor - Title box background color.
45; MessageBoxTextColor - Message box text color.
46; MessageBoxColor - Message box background color.
47; MenuTextColor - Menu text color.
48; MenuColor - Menu color.
49; TextColor - Normal text color.
50; SelectedTextColor - Selected text color.
51; SelectedColor - Selected text background color.
52;
53; ShowTime - Shows the current time ("Yes") or not ("No").
54; MenuBox - Draws a box around the menu ("Yes") or not ("No").
55; CenterMenu - Uses a centered ("Yes") or left-aligned ("No") menu.
56; MinimalUI - Uses a minimal NTLDR-like ("Yes") or a full-fledged
57; ("No") Text User Interface.
58; SpecialEffects - Turns on ("Yes") or off ("No") video special effects.
59;
60; Background colors can be any one of the following:
61; Black, Blue, Green, Cyan, Red, Magenta, Brown, Gray.
62;
63; Text colors can be any one of the background colors and any of the following:
64; DarkGray, LightBlue, LightGreen, LightCyan, LightRed, LightMagenta,
65; Yellow, White, Default.
66;
67; Default color is the one that is being used by the firmware by default.
68; On PC/AT-compatible machines it's Gray, and on NEC PC-98 series it's White.
69
70; [OS-General] Section Commands:
71;
72; BootType - Specifies the boot type: BootSector, Linux,
73; Windows, WindowsNT40, Windows2003, ReactOSSetup.
74;
75; BootPath - ARC path, e.g. multi(0)disk(0)rdisk(x)partition(y)
76;
77; DriveMap - For BIOS-based PCs, maps a BIOS drive number to another
78; (i.e. DriveMap=hd1,hd0 maps hard-disk 1 to hard-disk 0;
79; or DriveMap=fd1,fd0 for mapping floppy disks).
80
81; ["BootSector" OSType] Section Commands:
82;
83; BootDrive - BIOS drive number to be used.
84; BootPartition - Partition number to be used (optional).
85;
86; REMARK: If a "BootPath" ARC path is specified, its value takes precedence
87; over both the "BootDrive" and "BootPartition" values.
88;
89; REMARK 2: The "BootDrive", "BootPartition" and "BootPath" values are optional.
90; If none of them are given and a relative file path is specified by the
91; "BootSectorFile" value, the default boot partition will be used instead.
92;
93; When a non-zero partition is specified (either via "BootPartition" or
94; via the "BootPath" ARC path), the drive is accessed in partitioned mode,
95; and the "BootSectorFile" option is checked for its presence.
96;
97; BootSectorFile - File name of the boot sector to be loaded.
98; It can be either relative to "BootDrive" and "BootPartition"
99; (or to "BootPath"), or be an absolute ARC path, in which case
100; the "BootDrive" and "BootPartition" (or "BootPath") values
101; will only be used to set the boot partition.
102
103; ["Linux" OSType] Section Commands:
104;
105; BootDrive - BIOS drive number to be used.
106; BootPartition - Partition number to be used (cannot be 0).
107;
108; REMARK: If a "BootPath" ARC path is specified, its value takes precedence
109; over both the "BootDrive" and "BootPartition" values.
110;
111; REMARK 2: The "BootDrive", "BootPartition" and "BootPath" values are optional.
112; If none of them are given and a relative file path is specified by the
113; "Kernel" or "Initrd" values, the default boot partition will be used instead.
114;
115; Kernel - Kernel file name to be used.
116; It can be either relative to "BootDrive" and "BootPartition"
117; (or to "BootPath"), or be an absolute ARC path, in which case
118; the "BootDrive" and "BootPartition" (or "BootPath") values
119; will only be used to set the boot partition.
120; Initrd - Optional init ramdisk file name to be used.
121; The same remarks about the path for "Kernel" also apply here.
122; CommandLine - Boot load options for the kernel.
123
124; ["Windows(NT40|2003)" OSType] Section Commands:
125;
126; SystemPath - System root path (must be a valid ARC path), e.g.
127; multi(0)disk(0)rdisk(0)partition(1)\reactos
128; multi(0)disk(0)fdisk(0)
129; Options - Boot load options for the kernel.
130; Kernel - Kernel file name (default: ntoskrnl.exe)
131; Hal - HAL file name (default: hal.dll)
132;
133; REMARK: The "Kernel" and "Hal" values can be either relative to "SystemPath",
134; or be an absolute ARC path. Also they can alternatively be specified using
135; the NT-compatible "/HAL=filename" and "/KERNEL=filename" option switches to
136; the "Options" value, in which case the latter ones take precedence.
137
138; ["ReactOSSetup" OSType] Section Commands:
139;
140; This OS type is used to start the SETUP portion of NT / ReactOS.
141;
142; SystemPath - System root path (must be a valid ARC path), e.g.
143; multi(0)disk(0)rdisk(0)partition(1)\reactos
144; multi(0)disk(0)fdisk(0)
145; Options - Extra boot load options for the kernel and the
146; setup environment (see REMARK 2 below).
147;
148; REMARK: Contrary to the "Windows" type, this OS type does not support separate
149; "Kernel" and "Hal" values. Instead, these values must be specified using the
150; NT-compatible "/HAL=filename" and "/KERNEL=filename" option switches.
151;
152; REMARK 2: The SETUP portion retrieves the default boot load options from the
153; TXTSETUP.SIF file present in the installation source (section "[SetupData]",
154; values "OsLoadOptions" and "SetupDebugOptions"). Thus, any options specified
155; using the "Options" value will supplement those already obtained from the
156; TXTSETUP.SIF file, unless the "/SIFOPTIONSOVERRIDE" option switch is specified,
157; in which case the "Options" value overrides those from TXTSETUP.SIF.
158
159
160[FREELOADER]
161MessageBox=Welcome to FreeLoader!\nCopyright (c) 2003 by Brian Palmer <brianp@sginet.com>\n\nThis is a sample FreeLoader configuration file.\nEdit FREELDR.INI to change the boot settings.
162DefaultOS=ReactOSHD
163TimeOut=10
164
165[Display]
166DisplayMode=NORMAL_VGA
167TitleText=Brian�s Custom FreeLoader Boot Disk
168StatusBarColor=Cyan
169StatusBarTextColor=Black
170BackdropTextColor=White
171BackdropColor=Blue
172BackdropFillStyle=Medium
173TitleBoxTextColor=White
174TitleBoxColor=Red
175MessageBoxTextColor=White
176MessageBoxColor=Blue
177MenuTextColor=White
178MenuColor=Blue
179TextColor=Yellow
180SelectedTextColor=Black
181SelectedColor=Gray
182ShowTime=Yes
183MenuBox=Yes
184CenterMenu=Yes
185MinimalUI=No
186SpecialEffects=Yes
187
188[Operating Systems]
189ReactOSHD="ReactOS (HardDrive)"
190;ReactOS_Debug="ReactOS (Debug)"
191ReactOSFloppy="ReactOS (Floppy)"
192Linux="Debian Linux"
193Floppy="3 1/2 Floppy (A:)"
194MSWinders="Microsoft Windows (C:)"
195DriveD="Drive D:"
196
197; Load ReactOS from harddisk (drive C:)
198[ReactOSHD]
199BootType=Windows2003
200SystemPath=multi(0)disk(0)rdisk(0)partition(1)\reactos
201Options=/DEBUGPORT=SCREEN
202Kernel=\REACTOS\SYSTEM32\NTOSKRNL.EXE
203Hal=\REACTOS\SYSTEM32\HAL.DLL
204
205;[ReactOS_Debug]
206;BootType=Windows2003
207;SystemPath=multi(0)disk(0)rdisk(0)partition(1)\reactos
208;Options=/DEBUG /DEBUGPORT=COM1 /BAUDRATE=19200
209;Kernel=\NTOSKRNL.EXE
210;Hal=\HAL.DLL
211
212; Load ReactOS from floppy (drive A:)
213[ReactOSFloppy]
214BootType=Windows2003
215SystemPath=multi(0)disk(0)fdisk(0)
216Options=/DEBUGPORT=SCREEN
217Kernel=\reactos\NTOSKRNL.EXE
218Hal=\reactos\HAL.DLL
219
220[Linux]
221BootType=Linux
222BootPath=multi(0)disk(0)rdisk(1)partition(1)
223Kernel=/vmlinuz
224Initrd=/initrd.img
225CommandLine="root=/dev/sdb1"
226
227[Floppy]
228BootType=BootSector
229BootDrive=fd0
230
231[MSWinders]
232BootType=BootSector
233BootPath=multi(0)disk(0)rdisk(0)partition(1)
234;DriveMap=hd1,hd0
235;DriveMap=hd2,hd0
236;DriveMap=hd3,hd0
237
238[DriveD]
239BootType=BootSector
240BootPath=multi(0)disk(0)rdisk(1)partition(1)