Difference between revisions of "Talk:FreeLoader"

From ReactOS Wiki
Jump to: navigation, search
Line 166: Line 166:
 
BootPath=multi(0)disk(0)rdisk(1)partition(1)
 
BootPath=multi(0)disk(0)rdisk(1)partition(1)
 
</pre>
 
</pre>
I found it in ReactOS-0.3.1-REL-src.zip at [http://sourceforge.net/project/showfiles.php?group_id=6553&package_id=6629&release_id=492696  ReactOS Sourceforge download directory] and it's a sample file to discuss about. [[User:rursus|rursus]] 16:53, 30 May 2007 (CEST)
+
I found it in ReactOS-0.3.1-REL-src.zip at [http://sourceforge.net/project/showfiles.php?group_id=6553&package_id=6629&release_id=492696  ReactOS Sourceforge download directory] and it's a sample file to discuss about. [[User:rursus|rursus]] 16:56, 30 May 2007 (CEST)

Revision as of 14:56, 30 May 2007

FREELDR.INI

Is there any documentation as to how Freeloader's config file has to look like? For some reason Reactos setup says that it was unable to install the boot loader. It is a FAT32 partition with no OS, but ntldr and boot.ini are present. Windows xp resides on the second primary partition in NTFS format. I'd like to manually set up freeldr and launch it from GRUB. --j.rohr 22:48, 11 March 2007 (CET)

I cannot enlighten you, because I'm new to ReactOS, and struggling with FREELDR.INI myself, but I'm as bold as to dump a sample FREELDR.INI here, that we may discuss around:
; FreeLoader by Brian Palmer
; FREELDR.INI - FreeLoader Initialization file
;
; Each line must be less than 1024 characters long
; and must be either a section heading (i.e. [section_name])
; or a setting (i.e. name=value) or a blank line.
; Comments start with a ';' character.
;
; Background colors can be any one of the following:
; Black
; Blue
; Green
; Cyan
; Red
; Magenta
; Brown
; Gray

; Text colors can be any one of the background
; colors and any of the following:
; DarkGray
; LightBlue
; LightGreen
; LightCyan
; LightRed
; LightMagenta
; Yellow
; White

; [FREELOADER] Section Commands:
;
; MessageBox		- displays the specified text in a message box upon bootup
; MessageLine		- adds a new line of text to a message box (must come \n
before MessageBox command)
; TitleText		- text that is displayed in the title box
; StatusBarColor	- color of status bar's background
; StatusBarTextColor	- color of status bar's text
; BackdropTextColor	- color of the backdrop's fill
; BackdropColor		- color of the backdrop's background
; BackdropFillStyle	- backdrop fill style - can be Light, Medium, or Dark
; TitleBoxTextColor	- title box text color
; TitleBoxColor		- title box background color
; MessageBoxTextColor	- message box text color
; MessageBoxColor	- message box background color
; MenuTextColor		- menu text color
; MenuColor		- menu color
; TextColor		- normal text color
; SelectedTextColor	- selected text color
; SelectedColor		- selected text background color
; TimeOut		- sets the timeout (in seconds) before the first OS listed gets \n
booted automagically

; [OS-General] Section Commands:
;
; BootType		- sets the boot type: ReactOS, Linux, BootSector, Partition, Drive
; BootPath		- ARC path e.g. multi(0)disk(0)rdisk(x)partition(y)
; DriveMap		- maps a BIOS drive number to another (i.e. DriveMap=hd1,hd0 maps \n
harddisk1 to harddisk0 or DriveMap=fd1,fd0)

; [BootSector OSType] Section Commands:
;
; BootSector		- sets the filename of the bootsector to be loaded

; [ReactOS OSType] Section Commands:
;
; SystemPath	- sets the system root path (must be a valid ARC - Path):
;			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 (default: ntoskrnl.exe)
; Hal			- sets the HAL filename (default: hal.dll)


[FREELOADER]
MessageBox=Welcome to FreeLoader!\nCopyright (c) 2003 by Brian Palmer \n
<brianp@sginet.com>\n\nThis is a sample FreeLoader configuration file.\n
Edit 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]
DisplayMode=NORMAL_VGA
TitleText=Brian’s Custom FreeLoader Boot Disk 
StatusBarColor=Cyan
StatusBarTextColor=Black
BackdropTextColor=White
BackdropColor=Blue
BackdropFillStyle=Medium
TitleBoxTextColor=White
TitleBoxColor=Red
MessageBoxTextColor=White
MessageBoxColor=Blue
MenuTextColor=White
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:)
[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

; Load ReactOS from floppy (drive A:)
[ReactOSFloppy]
BootType=ReactOS
SystemPath=multi(0)disk(0)fdisk(0)
Options=/DEBUGPORT=SCREEN
Kernel=\reactos\NTOSKRNL.EXE
Hal=\reactos\HAL.DLL

;[ReactOS (Debug)]
;BootType=ReactOS
;SystemPath=multi(0)disk(0)rdisk(0)partition(1)\reactos
;Options=/DEBUG /DEBUGPORT=COM1 /BAUDRATE=19200
;Kernel=\NTOSKRNL.EXE
;Hal=\HAL.DLL

[Linux]
BootType=Linux
BootPath=multi(0)disk(0)rdisk(1)partition(1)
Kernel=/vmlinuz
Initrd=/initrd.img
CommandLine="root=/dev/sdb1"

[Floppy]
BootType=Drive
BootDrive=fd0

[MSWinders]
BootType=Partition
BootPath=multi(0)disk(0)rdisk(0)partition(1)
;DriveMap=hd1,hd0
;DriveMap=hd2,hd0
;DriveMap=hd3,hd0

[DriveD]
BootType=Partition
BootPath=multi(0)disk(0)rdisk(1)partition(1)

I found it in ReactOS-0.3.1-REL-src.zip at ReactOS Sourceforge download directory and it's a sample file to discuss about. rursus 16:56, 30 May 2007 (CEST)