xref: /reactos/boot/freeldr/FREELDR.INI (revision 2752c42f)
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 BIOS 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: Windows, WindowsNT40, Windows2003,
73;             ReactOSSetup, Linux, BootSector, Partition, Drive
74; BootPath  - ARC path, e.g. multi(0)disk(0)rdisk(x)partition(y)
75; DriveMap  - Maps a BIOS drive number to another (i.e. DriveMap=hd1,hd0
76;             maps harddisk1 to harddisk0; or DriveMap=fd1,fd0).
77
78; ["Drive" OSType] Section Commands:
79;
80; BootDrive - BIOS drive number to be used.
81;
82; REMARK: If a "BootPath" ARC path is specified, its value takes precedence
83; over the "BootDrive" value.
84
85; ["Partition" OSType] Section Commands:
86;
87; BootDrive     - BIOS drive number to be used.
88; BootPartition - Partition number to be used (default: 0).
89;
90; REMARK: If a "BootPath" ARC path is specified, its value takes precedence
91; over both the "BootDrive" and "BootPartition" values.
92
93; ["BootSector" OSType] Section Commands:
94;
95; BootDrive      - BIOS drive number to be used.
96; BootPartition  - Partition number to be used (cannot be 0).
97;
98; REMARK: If a "BootPath" ARC path is specified, its value takes precedence
99; over both the "BootDrive" and "BootPartition" values.
100;
101; REMARK 2: The "BootDrive", "BootPartition" and "BootPath" values are optional.
102; If none of them are given and a relative file path is specified by the
103; "BootSectorFile" value, the default boot partition will be used instead.
104;
105; BootSectorFile - File name of the bootsector to be loaded.
106;                  It can be either relative to "BootDrive" and "BootPartition"
107;                  (or to "BootPath"), or be an absolute ARC path, in which case
108;                  the "BootDrive" and "BootPartition" (or "BootPath") values
109;                  will only be used to set the boot partition.
110
111; ["Linux" OSType] Section Commands:
112;
113; BootDrive     - BIOS drive number to be used.
114; BootPartition - Partition number to be used (cannot be 0).
115;
116; REMARK: If a "BootPath" ARC path is specified, its value takes precedence
117; over both the "BootDrive" and "BootPartition" values.
118;
119; REMARK 2: The "BootDrive", "BootPartition" and "BootPath" values are optional.
120; If none of them are given and a relative file path is specified by the
121; "Kernel" or "Initrd" values, the default boot partition will be used instead.
122;
123; Kernel        - Kernel file name to be used.
124;                 It can be either relative to "BootDrive" and "BootPartition"
125;                 (or to "BootPath"), or be an absolute ARC path, in which case
126;                 the "BootDrive" and "BootPartition" (or "BootPath") values
127;                 will only be used to set the boot partition.
128; Initrd        - Optional init ramdisk file name to be used.
129;                 The same remarks about the path for "Kernel" also apply here.
130; CommandLine   - Boot load options for the kernel.
131
132; ["Windows(NT40|2003)" OSType] Section Commands:
133;
134; SystemPath    - System root path (must be a valid ARC path), e.g.
135;                 multi(0)disk(0)rdisk(0)partition(1)\reactos
136;                 multi(0)disk(0)fdisk(0)
137; Options       - Boot load options for the kernel.
138; Kernel        - Kernel file name (default: ntoskrnl.exe)
139; Hal           - HAL file name (default: hal.dll)
140;
141; REMARK: The "Kernel" and "Hal" values can be either relative to "SystemPath",
142; or be an absolute ARC path. Also they can alternatively be specified using
143; the NT-compatible "/HAL=filename" and "/KERNEL=filename" option switches to
144; the "Options" value, in which case the latter ones take precedence.
145
146; ["ReactOSSetup" OSType] Section Commands:
147;
148; This OS type is used to start the SETUP portion of NT / ReactOS.
149;
150; SystemPath    - System root path (must be a valid ARC path), e.g.
151;                 multi(0)disk(0)rdisk(0)partition(1)\reactos
152;                 multi(0)disk(0)fdisk(0)
153; Options       - Extra boot load options for the kernel and the
154;                 setup environment (see REMARK 2 below).
155;
156; REMARK: Contrary to the "Windows" type, this OS type does not support separate
157; "Kernel" and "Hal" values. Instead, these values must be specified using the
158; NT-compatible "/HAL=filename" and "/KERNEL=filename" option switches.
159;
160; REMARK 2: The SETUP portion retrieves the default boot load options from the
161; TXTSETUP.SIF file present in the installation source (section "[SetupData]",
162; values "OsLoadOptions" and "SetupDebugOptions"). Thus, any options specified
163; using the "Options" value will supplement those already obtained from the
164; TXTSETUP.SIF file, unless the "/SIFOPTIONSOVERRIDE" option switch is specified,
165; in which case the "Options" value overrides those from TXTSETUP.SIF.
166
167
168[FREELOADER]
169MessageBox=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.
170DefaultOS=ReactOSHD
171TimeOut=10
172
173[Display]
174DisplayMode=NORMAL_VGA
175TitleText=Brian�s Custom FreeLoader Boot Disk
176StatusBarColor=Cyan
177StatusBarTextColor=Black
178BackdropTextColor=White
179BackdropColor=Blue
180BackdropFillStyle=Medium
181TitleBoxTextColor=White
182TitleBoxColor=Red
183MessageBoxTextColor=White
184MessageBoxColor=Blue
185MenuTextColor=White
186MenuColor=Blue
187TextColor=Yellow
188SelectedTextColor=Black
189SelectedColor=Gray
190ShowTime=Yes
191MenuBox=Yes
192CenterMenu=Yes
193MinimalUI=No
194SpecialEffects=Yes
195
196[Operating Systems]
197ReactOSHD="ReactOS (HardDrive)"
198ReactOSFloppy="ReactOS (Floppy)"
199Linux="Debian Linux"
200Floppy="3 1/2 Floppy (A:)"
201MSWinders="Microsoft Windows (C:)"
202DriveD="Drive D:"
203
204; Load ReactOS from harddisk (drive C:)
205[ReactOSHD]
206BootType=Windows2003
207SystemPath=multi(0)disk(0)rdisk(0)partition(1)\reactos
208Options=/DEBUGPORT=SCREEN
209Kernel=\REACTOS\SYSTEM32\NTOSKRNL.EXE
210Hal=\REACTOS\SYSTEM32\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;[ReactOS (Debug)]
221;BootType=Windows2003
222;SystemPath=multi(0)disk(0)rdisk(0)partition(1)\reactos
223;Options=/DEBUG /DEBUGPORT=COM1 /BAUDRATE=19200
224;Kernel=\NTOSKRNL.EXE
225;Hal=\HAL.DLL
226
227[Linux]
228BootType=Linux
229BootPath=multi(0)disk(0)rdisk(1)partition(1)
230Kernel=/vmlinuz
231Initrd=/initrd.img
232CommandLine="root=/dev/sdb1"
233
234[Floppy]
235BootType=Drive
236BootDrive=fd0
237
238[MSWinders]
239BootType=Partition
240BootPath=multi(0)disk(0)rdisk(0)partition(1)
241;DriveMap=hd1,hd0
242;DriveMap=hd2,hd0
243;DriveMap=hd3,hd0
244
245[DriveD]
246BootType=Partition
247BootPath=multi(0)disk(0)rdisk(1)partition(1)
248