Differences between current version and revision by previous author of lilo.conf(5).
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Saturday, August 7, 2004 11:25:40 am | by LinuxLarry | |
Older page: | version 1 | Last edited on Monday, June 3, 2002 6:55:58 pm | by perry | Revert |
@@ -21,21 +21,17 @@
It might look as follows:
-
-# lilo.conf
-#
-#
global options:
-
boot=/dev/hda
-prompt
-timeout=150
-lba32
-compact
-vga=normal
-root=/dev/hda1
-read-only
-menu-title=
+ boot=/dev/hda
+ prompt
+ timeout=150
+ lba32
+ compact
+ vga=normal
+ root=/dev/hda1
+ read-only
+ menu-title=
This configuration file specifies that lilo uses the Master
Boot Record on /dev/hda. (For a discussion of the various
@@ -132,20 +128,20 @@
Defines boot-time changes to partition type numbers
(`hiding').
+ change-rules
+ reset
+ type=DOS12
+ normal=1
+ hidden=0x11
+ type=DOS16_small
+ normal=4
+ hidden=0x14
+ type=DOS16_big
+ normal=0x06
+ hidden=0x16
-change-rules
-reset
-type=DOS12
-normal=1
-hidden=0x11
-type=DOS16_small
-normal=4
-hidden=0x14
-type=DOS16_big
-normal=0x06
-hidden=0x16
The above excerpt from a configuration file specifies that all default ''change-rules'' are removed (''reset'', the three types specified would have been added to the existing default change-rules. Normally, the default rules are sufficient. The strings which define the partition types are used in a ''change'' section (see below), with the suffixes ''
__compact__
@@ -186,13 +182,13 @@
Defines non-standard parameters for the specified disk. See
section
+ disk=/dev/sda
+ bios=0x80
+ disk=/dev/hda
+ bios=0x81
- disk=/dev/sda
-bios=0x80
-disk=/dev/hda
-bios=0x81
would say that your SCSI disk is the first BIOS disk, and your (primary master) IDE disk is the second BIOS disk.
__disktab=__''''
@@ -689,21 +685,23 @@
keyword were specified. The keyword __change__ alone,
without any rules following, will suppress automatic
change-rules. For example,
+ other=/dev/hda2
+ label=dos
+ table=/dev/hda
+ change
+ automatic
+ partition=/dev/hda1
+ set=DOS12_hidden
+ deactivate
+ partition=/dev/hda2
+ set=DOS16_big_normal
+ activate
+
+specifies that when primary partition /dev/hda2 is booted, automatic change-rules will be in effect; plus, partition 1, a DOS12 partition, will be set hidden, and deactivated. In addition, partition 2, will be set normal, and activated. Activation sets the boot-flag in the partition table. The ''automatic'' keyword may confict with default change rules, so the ''set='' lines above may be redundant. Also see ''change-rules'' above.
- other=/dev/hda2
-label=dos
-table=/dev/hda
-change
-automatic
-partition=/dev/hda1
-set=DOS12_hidden
-deactivate
-partition=/dev/hda2
-set=DOS16_big_normal
-activate
-specifies that when primary partition /dev/hda2 is booted, automatic change-rules will be in effect; plus, partition 1, a DOS12 partition, will be set hidden, and deactivated. In addition, partition 2, will be set normal, and activated. Activation sets the boot-flag in the partition table. The ''automatic'' keyword may confict with default change rules, so the
''set='' lines above may
be redundant.
+(A list of
''set='' parameters for common file systems would
be very helpful)
__map-drive=__''''
@@ -713,11 +711,11 @@
__
map-drive=0x80
-to=0x81
-map-drive=0x81
-to=0x80
+
to=0x81
+
map-drive=0x81
+
to=0x80
__unsafe__
@@ -727,9 +725,9 @@
check. If the boot sector is on a fixed-format floppy disk
device, using UNSAFE avoids the need to put a readable disk
into the drive when running the map installer. `unsafe' and
`table' are mutually incompatible.
-!!COMMON OPTIONS (image= !!
+!!COMMON OPTIONS (''either''
image= ''or'' other=)
In both the __image=__ and __other=__ cases, the
following options apply.