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. 54 55; [OS-General] Section Commands: 56; 57; BootType - specifies the boot type: Windows, WindowsNT40, Windows2003, 58; ReactOSSetup, Linux, BootSector, Partition, Drive 59; BootPath - ARC path, e.g. multi(0)disk(0)rdisk(x)partition(y) 60; DriveMap - maps a BIOS drive number to another (i.e. DriveMap=hd1,hd0 61; maps harddisk1 to harddisk0 or DriveMap=fd1,fd0). 62 63; ["Drive" OSType] Section Commands: 64; 65; BootDrive - specifies the BIOS drive number to be used. 66; 67; REMARK: If a "BootPath" ARC path is specified, its value takes precedence 68; over the "BootDrive" value. 69 70; ["Partition" OSType] Section Commands: 71; 72; BootDrive - specifies the BIOS drive number to be used. 73; BootPartition - specifies the partition number to be used (default: 0). 74; 75; REMARK: If a "BootPath" ARC path is specified, its value takes precedence 76; over both the "BootDrive" and "BootPartition" values. 77 78; ["BootSector" OSType] Section Commands: 79; 80; BootDrive - specifies the BIOS drive number to be used. 81; BootPartition - specifies the partition number to be used (cannot be 0). 82; 83; REMARK: If a "BootPath" ARC path is specified, its value takes precedence 84; over both the "BootDrive" and "BootPartition" values. 85; 86; REMARK 2: The "BootDrive", "BootPartition" and "BootPath" values are optional. 87; If none of them are given and a relative file path is specified by the 88; "BootSectorFile" value, the default boot partition will be used instead. 89; 90; BootSectorFile - specifies the file name of the bootsector to be loaded. 91; It can be either relative to "BootDrive" and "BootPartition" 92; (or to "BootPath"), or be an absolute ARC path, in which case 93; the "BootDrive" and "BootPartition" (or "BootPath") values 94; will only be used to set the boot partition. 95 96; ["Linux" OSType] Section Commands: 97; 98; BootDrive - specifies the BIOS drive number to be used. 99; BootPartition - specifies the partition number to be used (cannot be 0). 100; 101; REMARK: If a "BootPath" ARC path is specified, its value takes precedence 102; over both the "BootDrive" and "BootPartition" values. 103; 104; REMARK 2: The "BootDrive", "BootPartition" and "BootPath" values are optional. 105; If none of them are given and a relative file path is specified by the 106; "Kernel" or "Initrd" values, the default boot partition will be used instead. 107; 108; Kernel - specifies the kernel file name to be used. 109; It can be either relative to "BootDrive" and "BootPartition" 110; (or to "BootPath"), or be an absolute ARC path, in which case 111; the "BootDrive" and "BootPartition" (or "BootPath") values 112; will only be used to set the boot partition. 113; Initrd - specifies the optional init ramdisk file name to be used. 114; The same remarks about the path as for "Kernel" remain valid. 115; CommandLine - specifies the command line options for the kernel. 116 117; ["Windows(NT40|2003)" OSType] Section Commands: 118; 119; SystemPath - specifies the system root path (must be a valid ARC path): 120; multi(0)disk(0)rdisk(0)partition(1)\reactos 121; multi(0)disk(0)fdisk(0) 122; Options - specifies the command line options for the kernel being booted. 123; Kernel - specifies the kernel file name (default: ntoskrnl.exe) 124; Hal - specifies the HAL file name (default: hal.dll) 125; 126; REMARK: The "Kernel" and "Hal" values can be either relative to "SystemPath", 127; or be an absolute ARC path. Also they can alternatively be specified using the 128; NT-compatible "/HAL=filename" and "/KERNEL=filename" option switches to the 129; "Options" value, in which case the latter ones take precedence. 130 131; ["ReactOSSetup" OSType] Section Commands: 132; 133; No options defined for the moment. This OS type is used to tell FreeLdr 134; to start the SETUP portion of NT / ReactOS. 135 136 137[FREELOADER] 138MessageBox=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. 139DefaultOS=ReactOSHD 140TimeOut=10 141 142[Display] 143DisplayMode=NORMAL_VGA 144TitleText=Brian�s Custom FreeLoader Boot Disk 145StatusBarColor=Cyan 146StatusBarTextColor=Black 147BackdropTextColor=White 148BackdropColor=Blue 149BackdropFillStyle=Medium 150TitleBoxTextColor=White 151TitleBoxColor=Red 152MessageBoxTextColor=White 153MessageBoxColor=Blue 154MenuTextColor=White 155MenuColor=Blue 156TextColor=Yellow 157SelectedTextColor=Black 158SelectedColor=Gray 159SpecialEffects=Yes 160 161[Operating Systems] 162ReactOSHD="ReactOS (HardDrive)" 163ReactOSFloppy="ReactOS (Floppy)" 164Linux="Debian Linux" 165Floppy="3 1/2 Floppy (A:)" 166MSWinders="Microsoft Windows (C:)" 167DriveD="Drive D:" 168 169; Load ReactOS from harddisk (drive C:) 170[ReactOSHD] 171BootType=Windows2003 172SystemPath=multi(0)disk(0)rdisk(0)partition(1)\reactos 173Options=/DEBUGPORT=SCREEN 174Kernel=\REACTOS\SYSTEM32\NTOSKRNL.EXE 175Hal=\REACTOS\SYSTEM32\HAL.DLL 176 177; Load ReactOS from floppy (drive A:) 178[ReactOSFloppy] 179BootType=Windows2003 180SystemPath=multi(0)disk(0)fdisk(0) 181Options=/DEBUGPORT=SCREEN 182Kernel=\reactos\NTOSKRNL.EXE 183Hal=\reactos\HAL.DLL 184 185;[ReactOS (Debug)] 186;BootType=Windows2003 187;SystemPath=multi(0)disk(0)rdisk(0)partition(1)\reactos 188;Options=/DEBUG /DEBUGPORT=COM1 /BAUDRATE=19200 189;Kernel=\NTOSKRNL.EXE 190;Hal=\HAL.DLL 191 192[Linux] 193BootType=Linux 194BootPath=multi(0)disk(0)rdisk(1)partition(1) 195Kernel=/vmlinuz 196Initrd=/initrd.img 197CommandLine="root=/dev/sdb1" 198 199[Floppy] 200BootType=Drive 201BootDrive=fd0 202 203[MSWinders] 204BootType=Partition 205BootPath=multi(0)disk(0)rdisk(0)partition(1) 206;DriveMap=hd1,hd0 207;DriveMap=hd2,hd0 208;DriveMap=hd3,hd0 209 210[DriveD] 211BootType=Partition 212BootPath=multi(0)disk(0)rdisk(1)partition(1) 213