LILO:

LILO, . , Linux Windows 95/98, LILO (MBR)

. 蠠 Linux Windows NT 堠 ,

Windows NT MBR ,

. , Linux Windows NT, a LILO Linux . Windows NT LILO, Linux. To

Windows 2000, NT. Linux Windows NT/2000 .

Linux LILO , MS-DOS, Windows 95/98 OS/2. Linux LILO ; . LILO (MBR) , Linux. LILO - , (/etc/lilo.conf)4>amm (/boot/), , lilo (/sbin/lilo), LILO.

LILO MBR, MS-DOS. LILO , :

Linux :

% /sbin/lilo -u

DOS ^, MBR:

:> fdisk/mbr

, LILO : lilo. lilo . , Linux .

LILO

, , /etc/lUo.conf. , lilo , , .

, , /efc/ZiZo.con/- , lilo, .

, . . ( # ):

boot = /dev/hda ti /dev/hda

map = /boot/map # /boot/nap

install = /boot/boot.b # ,

prompt #

timeout =30 it 3 (30 )

Linux - . , ( - , )

. Linux image=. , Linux :

image = /boot/vmlinuz it

label = linux # , root = /dev/hda2 ft vga = ask # VGA-

read-only # " -1"

fsck

-Linux other= image=. :

other = /dev/hda1 it

label = dos

table = /dev/hda ft

, LILO, , /etc/lilo.conf,a - . , .

/etc/lilo.con/ , /dev/ hda2 Linux.

##

boot = /dev/hda2

map = /boot/map

delay = 30

timeout = 50

prompt

vga=ask

# : Linux image = /boot/vmlinuz

label = linux

root = /dev/hda2

install = /boot/boot.b

map = /boot/map

read-only

fl# : Linux image=/testvmlinuz

label = testlinu

root = /dev/hda2

install = /boot/boot.b

map = /boot/map

read-only

optional # ,

## : DOS

other = /dev/hda1

label = dos

= /boot/chain.b

table = /dev/hda n

ft ft : Windows 95

other = /dev/hda1

label = win95

loader = /boot/chain.b

table = /dev/hda

, LILO append, read-only, read-write, root vga ( , ).

backup=backup- file

backup-file, /boot/boot., - , .

bootboot-device

, . boot - , ( fdev/hda2). ( /dev/hda) LILO . , /dev/hda2.

compact

. compact , , . linear.

default=raa/ne

. default , ,

.

delay=£secs

( ) . serial, delay 20. .

o\isk=device-name

device-name, LILO . , . disk , , :

disk = /dev/sda

bios = 0x80 # - 0x80, - 0x81 sectors = ... heads = ...

, , hd. , disk LILO, a hd - . ,

disk. LILO, .

bios=bios-device-code

, BIOS . .

cylinders=cz//mders

.

headsheads

. inaccessible

LILO, BIOS ; , LILO , BIOS .

partition=partition-device

. , start=partition-offsetKOTOvafi ( ).

partition=/dev/sda1 start=2048

sectors=sec£ors

.

disktab=disktab-file

disk=. fix-table

// . , , , MS-DOS. lilo.conf.

{orce-back\ip=backup-file

backup, , .

ignore-table

. install=boo* -sector

. /boot/boot.b.

Iba32

32- //, 8,4 . 1024 . LILO 21-4 EDD BIOS.1

1 BIOS 1998 ., .

linear

, . LILO , linear; , disk=. linear compact.

lock

LILO , , . lock , .

m.av=map-file

( - /boot/

).

message=message-file

, . (<CTRL>+<L>) . (message-file) , , . 65 535 .

nowarn

.

optional

, . optional , .

password=password

, , . ( ), , / . password , , .

prompt

, <Shift>, <Alt> <Scroll Lock>. , prompt timeout .

restricted

password , , LILO. restricted , .

senal=parameters

, . <Shift>, . , (,

). serial delay 20 (. . ), . parameters :

port[, bps[parity[bits]]]

, -

:

serial=0,2400n8 : port

. 0, 1 (/1/80) 0 3, .

bps

. bps: 110, 300, 1200, 2400, 4800, 9600, 19200 38400. 2400.

parity

. N , , . , , () .

bits

(7 8). - 8 , 7.

timeout=£secs

( ). , . timeout . .

verbose-level

. level, . -v , . 5.

: alias-name

, , label.

\m&_e=-pathname

, Linux. image , Linux. . range.

label

, . ( ).

loader=c/iam-Zoader

, , Linux. /boot/chain.b. , .

lock

lock, . .

optional

, . , .

password=password

password. , .

range=secfors

image, ( image=/dev/fdOjinn , . (sectors) start-end start+num-ber, start end ( ), a number start. start, . :

image = /dev/fdO

range = 1+512 512 , 1 restricted

. table=device

( , Linux) , . table , . , /sbin/ . unsafe.

unsafe

-Linux , . unsafe, . ,

. table.

,

/etc/lilo.conf , :

append=sfrmg

, string, , . . , 64 (,

BIOS), append : append = "mem=128M" initrd=/zZename

, /dev/initrd RAM-. . load_ramdisk ( , ) prompt ramdisk, ramdisk_size ramdisk_start ( initrd: RAM-).

literal=string

append, string , .

noinitrd

-

.

prompt_ramdisk=/i

( ) , RAM-, , :

- . , , RAM-.

1 - . . ramdisk=size

; 1.3.48. . load_ram-disk ( , ), prompt_

ramdisk, ramdisk_size ramdisk_start .

ramdisk_size=re

( ), RAM-. 4096, . . 4 .

ramdisk_start=o/7seit

, , RAM-. (offset) RAM- .

TOot=root-device

, . current, , . .

vga=mode

VGA, . mode . .

ask

. <Enter> .

extended ( ext)

- 80x50 .

normal

- 80x25 .

number

, (number). , vga=ask <Enter>,

( /etc/lilo.conf .

:

lilo [options]

/etc/lilo.

conf.

boot=bootdev

b bootdev

compact

-c

delay= tsecs

-d tsecs

default=/a£>eZ

-D label

disktab=/i/e

-f file

install=boot sector

bootsector

lba.32

-II

linear

map=mapfUe

m mapfile

fix-table

-Pfix

ignore-table

ignore

backup=/7Ze

file

force-backup=/4/e

-S file

verbose=/eueZ

v

; , //.[ , . , ; .

. , :

% - -V

- config-file

. ( /etc/lilo.conf)\ilo , .

-I label

, label, , . :

% lilo -I linux

/boot/vmlinuz-2.0.34-0.6

-q , . lilo ( /boot/map), . lilo . ( ):

% -q linux *

test

- root-directory

lilo chroot root-directory . - , . , :

% mount /dev/hda2 /mnt % - /mnt

. -R command-line

, , . , , shutdown -.

t . . -v, , .

-u device-name

, /boot/boot., , device-name , LILO, /dev/hda2.

Loadlin: MS-DOS

-U device-name

, . -V lilo.