re-worked ndis to do device detection from a win2k-style registry enum database,...
[reactos.git] / freeldr / FREELDR.INI
index b9c4800..0cea87a 100644 (file)
@@ -53,6 +53,7 @@
 ; BootType             - sets the boot type: ReactOS, Linux, BootSector, Partition, Drive
 ; BootDrive            - sets the boot drive: 0 - first floppy, 1 - second floppy, 0x80 - first hard disk, 0x81 - second hard disk
 ; BootPartition                - sets the boot partition
+; DriveMap             - maps a BIOS drive number to another (i.e. DriveMap=hd1,hd0 maps harddisk1 to harddisk0 or DriveMap=fd1,fd0)
 
 ; [BootSector OSType] Section Commands:
 ;
 ;                      multi(0)disk(0)rdisk(0)partition(1)\reactos
 ;                      multi(0)disk(0)fdisk(0)
 ; Options              - sets the command line options for the kernel being booted
-; Kernel               - sets the kernel filename
-; Driver               - sets the name of one or more drivers to be loaded (one entry per driver)
-
+; Kernel               - sets the kernel filename (default: ntoskrnl.exe)
+; Hal                  - sets the HAL filename (default: hal.dll)
 
 
 [FREELOADER]
-MessageLine=Welcome to FreeLoader!
-MessageLine=Copyright (c) 2002 by Brian Palmer <brianp@sginet.com>
-MessageLine=
-MessageBox=Edit your FREELDR.INI file to change your boot settings.
-OS=ReactOS (HD)
-OS=ReactOS (Floppy)
-;OS=ReactOS (Debug)
-OS=Linux
-OS=LinuxInitrd
-OS=3« Floppy (A:)
-OS=Microsoft Windows (C:)
-OS=Drive D:
-DefaultOS=ReactOS (Floppy)
+MessageBox=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.
+DefaultOS=ReactOSHD
 TimeOut=10
 
+; DisplayMode can be:
+; NORMAL_VGA for 80x25
+; EXTENDED_VGA for 80x50 on VGA 80x43 on EGA
+; 0x501C for 80x28
+; 0x501E for 80x30
+; 0x5022 for 80x34
+; 0x502B for 80x43
+; 0x503C for 80x60
 [Display]
-TitleText=Boot Menu
+DisplayMode=NORMAL_VGA
+TitleText=Brian\92s Custom FreeLoader Boot Disk 
 StatusBarColor=Cyan
 StatusBarTextColor=Black
 BackdropTextColor=White
@@ -101,67 +99,60 @@ MenuColor=Blue
 TextColor=Yellow
 SelectedTextColor=Black
 SelectedColor=Gray
+SpecialEffects=Yes
+
+[Operating Systems]
+ReactOSHD="ReactOS (HardDrive)"
+ReactOSFloppy="ReactOS (Floppy)"
+Linux="Debian Linux"
+Floppy="3 1/2 Floppy (A:)"
+MSWinders="Microsoft Windows (C:)"
+DriveD="Drive D:"
 
 ; Load ReactOS from harddisk (drive C:)
-[ReactOS (HD)]
-Name="ReactOS (HardDrive)"
+[ReactOSHD]
 BootType=ReactOS
 SystemPath=multi(0)disk(0)rdisk(0)partition(1)\reactos
 Options=/DEBUGPORT=SCREEN
 Kernel=\REACTOS\SYSTEM32\NTOSKRNL.EXE
 Hal=\REACTOS\SYSTEM32\HAL.DLL
-Driver=\REACTOS\SYSTEM32\DRIVERS\IDE.SYS
-Driver=\REACTOS\SYSTEM32\DRIVERS\VFATFS.SYS
 
 ; Load ReactOS from floppy (drive A:)
-[ReactOS (Floppy)]
-Name="ReactOS (Floppy)"
+[ReactOSFloppy]
 BootType=ReactOS
 SystemPath=multi(0)disk(0)fdisk(0)
 Options=/DEBUGPORT=SCREEN
 Kernel=\reactos\NTOSKRNL.EXE
 Hal=\reactos\HAL.DLL
-Driver=\reactos\IDE.SYS
-Driver=\reactos\VFATFS.SYS
 
 ;[ReactOS (Debug)]
-;Name="ReactOS (Debug)"
 ;BootType=ReactOS
-;BootDrive=0
+;SystemPath=multi(0)disk(0)rdisk(0)partition(1)\reactos
 ;Options=/DEBUG /DEBUGPORT=COM1 /BAUDRATE=19200
 ;Kernel=\NTOSKRNL.EXE
 ;Hal=\HAL.DLL
-;Driver=\DRIVERS\IDE.SYS
-;Driver=\DRIVERS\VFATFS.SYS
 
 [Linux]
-Name="Debian Linux 2.2.17"
 BootType=Linux
-BootDrive=0
-Kernel=/vmlinuz
-CommandLine="root=/dev/sdb1"
-
-[Linux]
-Name="Linux w/Initrd"
-BootType=Linux
-BootDrive=0x80
+BootDrive=hd1
 BootPartition=1
 Kernel=/vmlinuz
-Initrd=/initrd.gz
-CommandLine=
+Initrd=/initrd.img
+CommandLine="root=/dev/sdb1"
 
-[3« Floppy (A:)]
-Name="3« Floppy (A:)"
+[Floppy]
 BootType=Drive
-BootDrive=0
+BootDrive=fd0
 
-[Microsoft Windows (C:)]
-Name="Microsoft Windows (C:)"
-BootType=Drive
-BootDrive=0x80
+[MSWinders]
+BootType=Partition
+BootDrive=hd0
+BootPartition=1
+;DriveMap=hd1,hd0
+;DriveMap=hd2,hd0
+;DriveMap=hd3,hd0
 
-[Drive D:]
-Name="Drive D:"
+[DriveD]
 BootType=Partition
-BootDrive=0x81
+BootDrive=hd1
 BootPartition=1