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 bootup. 15; DefaultOS - specifies which OS listed is the default choice. 16; TimeOut - sets the timeout (in seconds) before the first OS listed 17; gets booted automatically. 18 19; [Display] Section Commands: 20; 21; DisplayMode - sets the video mode to be used by FreeLoader. 22; The following values are supported: 23; NORMAL_VGA for 80x25 24; EXTENDED_VGA for 80x50 on VGA 80x43 on EGA 25; 0x501C for 80x28 26; 0x501E for 80x30 27; 0x5022 for 80x34 28; 0x502B for 80x43 29; 0x503C for 80x60 30; 31; TitleText - text that is displayed in the title box. 32; StatusBarColor - color of status bar's background. 33; StatusBarTextColor - color of status bar's text. 34; BackdropTextColor - color of the backdrop's fill. 35; BackdropColor - color of the backdrop's background. 36; BackdropFillStyle - backdrop fill style - can be: Light, Medium, Dark. 37; TitleBoxTextColor - title box text color. 38; TitleBoxColor - title box background color. 39; MessageBoxTextColor - message box text color. 40; MessageBoxColor - message box background color. 41; MenuTextColor - menu text color. 42; MenuColor - menu color. 43; TextColor - normal text color. 44; SelectedTextColor - selected text color. 45; SelectedColor - selected text background color. 46; SpecialEffects - turns on ("Yes") or off ("No") video special effects. 47; 48; Background colors can be any one of the following: 49; Black, Blue, Green, Cyan, Red, Magenta, Brown, Gray. 50; 51; Text colors can be any one of the background colors and any of the following: 52; DarkGray, LightBlue, LightGreen, LightCyan, LightRed, LightMagenta, 53; Yellow, White, Default. 54; 55; Default color is the one that is being used by BIOS firmware by default. 56; On PC/AT-compatible machines it's Gray, and on NEC PC-98 series it's White. 57 58; [OS-General] Section Commands: 59; 60; BootType - specifies the boot type: Windows, WindowsNT40, Windows2003, 61; ReactOSSetup, Linux, BootSector, Partition, Drive 62; BootPath - ARC path, e.g. multi(0)disk(0)rdisk(x)partition(y) 63; DriveMap - maps a BIOS drive number to another (i.e. DriveMap=hd1,hd0 64; maps harddisk1 to harddisk0 or DriveMap=fd1,fd0). 65 66; ["Drive" OSType] Section Commands: 67; 68; BootDrive - specifies the BIOS drive number to be used. 69; 70; REMARK: If a "BootPath" ARC path is specified, its value takes precedence 71; over the "BootDrive" value. 72 73; ["Partition" OSType] Section Commands: 74; 75; BootDrive - specifies the BIOS drive number to be used. 76; BootPartition - specifies the partition number to be used (default: 0). 77; 78; REMARK: If a "BootPath" ARC path is specified, its value takes precedence 79; over both the "BootDrive" and "BootPartition" values. 80 81; ["BootSector" OSType] Section Commands: 82; 83; BootDrive - specifies the BIOS drive number to be used. 84; BootPartition - specifies the partition number to be used (cannot be 0). 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; BootSectorFile - specifies the file name of the bootsector to be loaded. 94; It can be either relative to "BootDrive" and "BootPartition" 95; (or to "BootPath"), or be an absolute ARC path, in which case 96; the "BootDrive" and "BootPartition" (or "BootPath") values 97; will only be used to set the boot partition. 98 99; ["Linux" OSType] Section Commands: 100; 101; BootDrive - specifies the BIOS drive number to be used. 102; BootPartition - specifies the partition number to be used (cannot be 0). 103; 104; REMARK: If a "BootPath" ARC path is specified, its value takes precedence 105; over both the "BootDrive" and "BootPartition" values. 106; 107; REMARK 2: The "BootDrive", "BootPartition" and "BootPath" values are optional. 108; If none of them are given and a relative file path is specified by the 109; "Kernel" or "Initrd" values, the default boot partition will be used instead. 110; 111; Kernel - specifies the kernel file name to be used. 112; It can be either relative to "BootDrive" and "BootPartition" 113; (or to "BootPath"), or be an absolute ARC path, in which case 114; the "BootDrive" and "BootPartition" (or "BootPath") values 115; will only be used to set the boot partition. 116; Initrd - specifies the optional init ramdisk file name to be used. 117; The same remarks about the path as for "Kernel" remain valid. 118; CommandLine - specifies the boot load options for the kernel. 119 120; ["Windows(NT40|2003)" OSType] Section Commands: 121; 122; SystemPath - specifies the system root path (must be a valid ARC path): 123; multi(0)disk(0)rdisk(0)partition(1)\reactos 124; multi(0)disk(0)fdisk(0) 125; Options - specifies the boot load options for the kernel. 126; Kernel - specifies the kernel file name (default: ntoskrnl.exe) 127; Hal - specifies the HAL file name (default: hal.dll) 128; 129; REMARK: The "Kernel" and "Hal" values can be either relative to "SystemPath", 130; or be an absolute ARC path. Also they can alternatively be specified using the 131; NT-compatible "/HAL=filename" and "/KERNEL=filename" option switches to the 132; "Options" value, in which case the latter ones take precedence. 133 134; ["ReactOSSetup" OSType] Section Commands: 135; 136; This OS type is used to start the SETUP portion of NT / ReactOS. 137; 138; SystemPath - specifies the system root path (must be a valid ARC path): 139; multi(0)disk(0)rdisk(0)partition(1)\reactos 140; multi(0)disk(0)fdisk(0) 141; Options - specifies extra boot load options for the kernel and the 142; setup environment (see REMARK 2 below). 143; 144; REMARK: Contrary to the "Windows" type, this OS type does not support separate 145; "Kernel" and "Hal" values. Instead, these values must be specified using the 146; NT-compatible "/HAL=filename" and "/KERNEL=filename" option switches. 147; 148; REMARK 2: The SETUP portion retrieves the default boot load options from the 149; TXTSETUP.SIF file present in the installation source (section "[SetupData]", 150; values "OsLoadOptions" and "SetupDebugOptions"). Thus, any options specified 151; using the "Options" value will supplement those already obtained from the 152; TXTSETUP.SIF file, unless the "/SIFOPTIONSOVERRIDE" option switch is specified, 153; in which case the "Options" value overrides those from TXTSETUP.SIF. 154 155 156[FREELOADER] 157MessageBox=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. 158DefaultOS=ReactOSHD 159TimeOut=10 160 161[Display] 162DisplayMode=NORMAL_VGA 163TitleText=Brian�s Custom FreeLoader Boot Disk 164StatusBarColor=Cyan 165StatusBarTextColor=Black 166BackdropTextColor=White 167BackdropColor=Blue 168BackdropFillStyle=Medium 169TitleBoxTextColor=White 170TitleBoxColor=Red 171MessageBoxTextColor=White 172MessageBoxColor=Blue 173MenuTextColor=White 174MenuColor=Blue 175TextColor=Yellow 176SelectedTextColor=Black 177SelectedColor=Gray 178SpecialEffects=Yes 179 180[Operating Systems] 181ReactOSHD="ReactOS (HardDrive)" 182ReactOSFloppy="ReactOS (Floppy)" 183Linux="Debian Linux" 184Floppy="3 1/2 Floppy (A:)" 185MSWinders="Microsoft Windows (C:)" 186DriveD="Drive D:" 187 188; Load ReactOS from harddisk (drive C:) 189[ReactOSHD] 190BootType=Windows2003 191SystemPath=multi(0)disk(0)rdisk(0)partition(1)\reactos 192Options=/DEBUGPORT=SCREEN 193Kernel=\REACTOS\SYSTEM32\NTOSKRNL.EXE 194Hal=\REACTOS\SYSTEM32\HAL.DLL 195 196; Load ReactOS from floppy (drive A:) 197[ReactOSFloppy] 198BootType=Windows2003 199SystemPath=multi(0)disk(0)fdisk(0) 200Options=/DEBUGPORT=SCREEN 201Kernel=\reactos\NTOSKRNL.EXE 202Hal=\reactos\HAL.DLL 203 204;[ReactOS (Debug)] 205;BootType=Windows2003 206;SystemPath=multi(0)disk(0)rdisk(0)partition(1)\reactos 207;Options=/DEBUG /DEBUGPORT=COM1 /BAUDRATE=19200 208;Kernel=\NTOSKRNL.EXE 209;Hal=\HAL.DLL 210 211[Linux] 212BootType=Linux 213BootPath=multi(0)disk(0)rdisk(1)partition(1) 214Kernel=/vmlinuz 215Initrd=/initrd.img 216CommandLine="root=/dev/sdb1" 217 218[Floppy] 219BootType=Drive 220BootDrive=fd0 221 222[MSWinders] 223BootType=Partition 224BootPath=multi(0)disk(0)rdisk(0)partition(1) 225;DriveMap=hd1,hd0 226;DriveMap=hd2,hd0 227;DriveMap=hd3,hd0 228 229[DriveD] 230BootType=Partition 231BootPath=multi(0)disk(0)rdisk(1)partition(1) 232