Imported Upstream version 24.0 upstream/24.0
authorJoachim Wiedorn <ad_debian@joonet.de>
Sun, 9 Jun 2013 19:14:10 +0000 (21:14 +0200)
committerJoachim Wiedorn <ad_debian@joonet.de>
Sun, 9 Jun 2013 19:14:10 +0000 (21:14 +0200)
138 files changed:
CHANGELOG
COPYING
Makefile
NEWS
TODO
TOOLS
doc/Makefile [deleted file]
doc/Makefile.old [new file with mode: 0644]
doc/html/index.html [new file with mode: 0644]
doc/html/tech_21-5.css [new file with mode: 0644]
doc/html/tech_21-5.html [new file with mode: 0644]
doc/html/tech_21-50x.png [new file with mode: 0644]
doc/html/tech_21-51x.png [new file with mode: 0644]
doc/html/tech_21-52.html [new file with mode: 0644]
doc/html/tech_21-52x.png [new file with mode: 0644]
doc/html/tech_21-53.html [new file with mode: 0644]
doc/html/tech_21-53x.png [new file with mode: 0644]
doc/html/tech_21-54x.png [new file with mode: 0644]
doc/html/tech_21-55x.png [new file with mode: 0644]
doc/html/user_21-5.css [new file with mode: 0644]
doc/html/user_21-5.html [new file with mode: 0644]
doc/html/user_21-50x.png [new file with mode: 0644]
doc/html/user_21-510.html [new file with mode: 0644]
doc/html/user_21-510x.png [new file with mode: 0644]
doc/html/user_21-511.html [new file with mode: 0644]
doc/html/user_21-511x.png [new file with mode: 0644]
doc/html/user_21-512.html [new file with mode: 0644]
doc/html/user_21-512x.png [new file with mode: 0644]
doc/html/user_21-513.html [new file with mode: 0644]
doc/html/user_21-513x.png [new file with mode: 0644]
doc/html/user_21-514.html [new file with mode: 0644]
doc/html/user_21-514x.png [new file with mode: 0644]
doc/html/user_21-515.html [new file with mode: 0644]
doc/html/user_21-516.html [new file with mode: 0644]
doc/html/user_21-517.html [new file with mode: 0644]
doc/html/user_21-518.html [new file with mode: 0644]
doc/html/user_21-519.html [new file with mode: 0644]
doc/html/user_21-51x.png [new file with mode: 0644]
doc/html/user_21-52.html [new file with mode: 0644]
doc/html/user_21-520.html [new file with mode: 0644]
doc/html/user_21-520x.png [new file with mode: 0644]
doc/html/user_21-521.html [new file with mode: 0644]
doc/html/user_21-521x.png [new file with mode: 0644]
doc/html/user_21-522.html [new file with mode: 0644]
doc/html/user_21-522x.png [new file with mode: 0644]
doc/html/user_21-523.html [new file with mode: 0644]
doc/html/user_21-524.html [new file with mode: 0644]
doc/html/user_21-525.html [new file with mode: 0644]
doc/html/user_21-526.html [new file with mode: 0644]
doc/html/user_21-527.html [new file with mode: 0644]
doc/html/user_21-528.html [new file with mode: 0644]
doc/html/user_21-529.html [new file with mode: 0644]
doc/html/user_21-52x.png [new file with mode: 0644]
doc/html/user_21-53.html [new file with mode: 0644]
doc/html/user_21-530.html [new file with mode: 0644]
doc/html/user_21-53x.png [new file with mode: 0644]
doc/html/user_21-54.html [new file with mode: 0644]
doc/html/user_21-54x.png [new file with mode: 0644]
doc/html/user_21-55.html [new file with mode: 0644]
doc/html/user_21-55x.png [new file with mode: 0644]
doc/html/user_21-56.html [new file with mode: 0644]
doc/html/user_21-56x.png [new file with mode: 0644]
doc/html/user_21-57.html [new file with mode: 0644]
doc/html/user_21-574x.png [new file with mode: 0644]
doc/html/user_21-57x.png [new file with mode: 0644]
doc/html/user_21-58.html [new file with mode: 0644]
doc/html/user_21-58x.png [new file with mode: 0644]
doc/html/user_21-59.html [new file with mode: 0644]
doc/html/user_21-59x.png [new file with mode: 0644]
lilo.lsm
make.vars
man/Makefile
man/lilo-uuid-diskid.8 [new file with mode: 0644]
man/lilo-uuid-diskid.pod [new file with mode: 0644]
man/lilo.8
man/lilo.conf.5
man/lilo.pod [new file with mode: 0644]
man/liloconfig.8 [new file with mode: 0644]
man/liloconfig.pod [new file with mode: 0644]
man/pod2manpage [new file with mode: 0644]
mkrescue
sample/lilo.old-raid.conf
scripts/liloconfig
src/Makefile
src/bdata.h
src/biosdata.S
src/bitmap.S
src/bitmap.h
src/boot.h
src/bsect.c
src/bsect.h
src/cfg.c
src/cfg.h
src/chain.S
src/common.c
src/common.h
src/config.h
src/crt.S
src/device.c
src/device.h
src/disk.S
src/display4.S
src/dparam.S
src/dump.S
src/edit.c
src/edit.h
src/first.S
src/geometry.c
src/geometry.h
src/graph.S
src/identify.c
src/identify.h
src/lilo.c
src/lilo.h
src/loader.h
src/map.c
src/map.h
src/mapper.S
src/mbr.S
src/md-int.h
src/menu.S
src/partition.c
src/partition.h
src/probe.c
src/probe.h
src/pseudo.S
src/raid.c
src/raid.h
src/read.S
src/second.S
src/shs2.c
src/shs2.h
src/shs3.S
src/strlen.S
src/temp.h
src/version.h
src/vesainfo.h
src/volume.S

index 287b8135dc3a9a5434594f830c62999304de53f9..b4684122421cb8d08215e5e3d53341265f8833ad 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,31 @@
+Changes for version 24.0 (unreleased) - Joachim Wiedorn
+
+  Documentations
+  --------------
+    - Update of lilo.conf.5 manpage with some corrections.
+    - Add new manpages as pod files (sources):
+      * liloconfig.pod     (from Debian)
+      * lilo-uuid-diskid.pod   (from Debian)
+      * lilo.pod  (converted from lilo.8)
+    - Add script man/pod2manpages for converting pod files.
+    - Create manpages from pod files.
+    - Deactivate Makefile for docs. Don't generate html/pdf.
+    - Add complete html documentation for history (v21.5).
+
+  Sources
+  -------
+    - Support for kernel images on GPT hard disks in the first 15
+        partitions, otherwise set comments (src/geometry.c, src/lilo.h)
+    - Update src/Makefile to always stipping lilo and lilo.static.
+
+  General
+  -------
+    - Fix abort problem in script mkrescue. (thanks to S. R. Wright)
+    - Update script liloconf to find kernel versions 3.x, too.
+    - Remove some more hints to obsolete OS/2 (source, doc).
+    - Fix to be compatible to gcc 4.8 and higher (use -ffreestanding)
+
+
 Changes for version 23.2 (09-Apr-2011) - Joachim Wiedorn
 
   Documentations
 Changes for version 23.2 (09-Apr-2011) - Joachim Wiedorn
 
   Documentations
diff --git a/COPYING b/COPYING
index 0586be011356afc990266d55db50fbfe634f484b..d18efbd0e942acc4f1dc6b604c535604a88cbddf 100644 (file)
--- a/COPYING
+++ b/COPYING
@@ -2,7 +2,7 @@ LInux LOader (LILO) program code, documentation, and auxiliary programs:
 
 Copyright 1992-1998 Werner Almesberger
 Copyright 1999-2007 John Coffman
 
 Copyright 1992-1998 Werner Almesberger
 Copyright 1999-2007 John Coffman
-Copyright 2009-2011 Joachim Wiedorn
+Copyright 2009-2013 Joachim Wiedorn
 All rights reserved.
 
 
 All rights reserved.
 
 
index e16f6bb3e1c6a5898cb8140eb62d50c438eb5cb9..f135b425091e4ecc53527952b8e0e805e3ce5f60 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 # -*- makefile -*-
 #
 # -*- makefile -*-
 #
-# Copyright 2009-2011 Joachim Wiedorn
+# Copyright 2009-2013 Joachim Wiedorn
 # All rights reserved.
 # 
 # Licensed under the terms contained in the file 'COPYING'
 # All rights reserved.
 # 
 # Licensed under the terms contained in the file 'COPYING'
@@ -17,7 +17,7 @@ help:
        @echo "  make dosexe      # DOS lilo.com utility"
        @echo "  make diagnostic  # standalone diagnostics"
        @echo "  make alles       # all above + static binary"
        @echo "  make dosexe      # DOS lilo.com utility"
        @echo "  make diagnostic  # standalone diagnostics"
        @echo "  make alles       # all above + static binary"
-       @echo "  make docs        # doc/[user,tech].[pdf,dvi] docs"
+       @echo "  make docs        # doc/[user,tech].html docs"
        @echo "  make floppy      # 2 standalone bootable diagnostic floppies"
        @echo ""
        @echo "  make install     # install binaries++ into root directory"
        @echo "  make floppy      # 2 standalone bootable diagnostic floppies"
        @echo ""
        @echo "  make install     # install binaries++ into root directory"
@@ -51,7 +51,6 @@ alles: test
 # documentation files
 #
 docs:
 # documentation files
 #
 docs:
-       $(MAKE) -C doc all
 
 #
 # if you have the 'bcc' compiler, then you can make the diagnostics, too
 
 #
 # if you have the 'bcc' compiler, then you can make the diagnostics, too
@@ -116,7 +115,6 @@ tidy:
        $(MAKE) -C src tidy
        $(MAKE) -C diagnose tidy
        $(MAKE) -C dos tidy
        $(MAKE) -C src tidy
        $(MAKE) -C diagnose tidy
        $(MAKE) -C dos tidy
-       $(MAKE) -C doc tidy
 
 clean: tidy
        rm -f test.img
 
 clean: tidy
        rm -f test.img
@@ -124,7 +122,6 @@ clean: tidy
        $(MAKE) -C images clean
        $(MAKE) -C diagnose clean
        $(MAKE) -C dos clean
        $(MAKE) -C images clean
        $(MAKE) -C diagnose clean
        $(MAKE) -C dos clean
-       $(MAKE) -C doc clean
 
 spotless: distclean
 distclean: clean
 
 spotless: distclean
 distclean: clean
diff --git a/NEWS b/NEWS
index 0de9b0ba03502b3aca3a8784e1add69cb6d87930..83b9b212dc296ecf1a84580ce407bfa781694ff0 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -3,7 +3,16 @@ NEWS about project LILO
 (For details see file 'CHANGELOG' in the source directory)
 
 
 (For details see file 'CHANGELOG' in the source directory)
 
 
-Version 23.2  (major and bugfix update of 23.1)
+Version 24.0  (major and bugfix update of 23.2)
+
+ o Update many manpages and add some from Debian.
+ o Add old documentation as (static) html.
+ o Better support for GPT hard disks.
+ o Support for use with kernel 3.x.
+ o Fix to be compatible with gcc 4.8 and higher.
+
+
+Version 23.2  (minor and bugfix update of 23.1)
 
  o Many fixes in source code and fixes for some error messages.
  o Remove all obsolete OS/2 code and information.
 
  o Many fixes in source code and fixes for some error messages.
  o Remove all obsolete OS/2 code and information.
@@ -13,7 +22,7 @@ Version 23.2  (major and bugfix update of 23.1)
  o Add new scripts 'liloconfig' and 'lilo-uuid-diskid'.
 
 
  o Add new scripts 'liloconfig' and 'lilo-uuid-diskid'.
 
 
-Version 23.1  (major and bugfix update of 23.0)
+Version 23.1  (minor and bugfix update of 23.0)
 
  o Many fixes of typos in sources and documentation.
  o LVM volumes can now be used as root device.
 
  o Many fixes of typos in sources and documentation.
  o LVM volumes can now be used as root device.
diff --git a/TODO b/TODO
index 1e7dbdfc92dc676a2041ea913d7208654eeae72f..66ac4b9f60d67f669732f8613f5c374faed86939 100644 (file)
--- a/TODO
+++ b/TODO
@@ -5,10 +5,8 @@ TODO for project LILO
   behaviour of 'large-memory'.
 
 * patching sources because of some warnings while compiling
   behaviour of 'large-memory'.
 
 * patching sources because of some warnings while compiling
-  with gcc 4.4.x
+  with gcc 4.4.x and higher
 
 
-* Upgrade of all manpages.
-
-* Upgrade of all documentations.
+* Upgrade of all manpages (move to po files).
 
 * code cleanup.
 
 * code cleanup.
diff --git a/TOOLS b/TOOLS
index 764f36d3814b66c62e97bb52c16fa42c7572c5bf..ff3427d4e93edf26d423c779cfb6e6a81894e02c 100644 (file)
--- a/TOOLS
+++ b/TOOLS
@@ -8,17 +8,17 @@ they can be found in:
                at least       tested         programs
 package        version        until          inside
 -----------------------------------------------------------------
                at least       tested         programs
 package        version        until          inside
 -----------------------------------------------------------------
-coreutils      6.4.10         8.           (general)
+coreutils      6.4.10         8.13           (general)
                      
 bcc            0.16.14        0.16.17        bcc
                      
 bin86          0.16.14        0.16.17        as86, ld86
                      
                      
 bcc            0.16.14        0.16.17        bcc
                      
 bin86          0.16.14        0.16.17        as86, ld86
                      
-gcc            3.3.5          4.4.5          gcc
+gcc            3.3.5          4.8.0          gcc
                      
                      
-sharutils      4.6.3          4.9            uuencode, uudecode
+sharutils      4.6.3          4.11.1         uuencode, uudecode
                      
                      
-texlive-latex-base  2007-01   2009-11        ifpdf.sty
+perl           5.8.4          5.14.2         pod2man
 
 
 
 
 
 
@@ -32,8 +32,8 @@ they can be found in:
                at least       tested         programs
 package        version        until          inside
 -----------------------------------------------------------------
                at least       tested         programs
 package        version        until          inside
 -----------------------------------------------------------------
-perl           5.8.8          5.10.1         (general)
+perl           5.8.8          5.14.2         (general)
 
 
-perl-modules   5.8.8          5.10.1         Getopt::Std,
+perl-modules   5.8.8          5.14.2         Getopt::Std,
                                              Pod::Usage
                                              File::Copy
                                              Pod::Usage
                                              File::Copy
diff --git a/doc/Makefile b/doc/Makefile
deleted file mode 100644 (file)
index fec66b4..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-# -*- makefile -*-
-
-LATEX=latex
-PDFLATEX=pdflatex
-RLATEX=./rlatex
-FIG2DEV=fig2dev
-SHELL=/bin/sh
-
-IMAGES=bootloader.tex map.tex image.tex parameter.tex other.tex
-
-.SUFFIXES:     .fig .tex .dvi .ps
-
-.fig.tex:
-               $(FIG2DEV) -L latex $*.fig $*.tex
-
-.tex.dvi:
-               $(RLATEX) $*
-
-all:           user.dvi tech.dvi user.pdf tech.pdf
-
-user.ps:       user.dvi
-               dvips -o user.ps user.dvi
-
-tech.ps:       tech.dvi
-               dvips -o tech.ps tech.dvi
-
-user.dvi:      user.tex
-
-tech.dvi:      tech.tex $(IMAGES)
-
-user.pdf:      user.dvi
-               $(PDFLATEX) user
-               $(PDFLATEX) user
-
-tech.pdf:      tech.dvi
-               $(PDFLATEX) tech
-               $(PDFLATEX) tech
-
-html:          user.ps tech.ps
-               latex2html -split 2 -link 2 -toc_depth 2 user
-               latex2html -split 1 -link 1 -toc_depth 1 tech
-
-again:
-               $(PDFLATEX) user
-               $(PDFLATEX) tech
-
-tidy:
-               rm -f *~ *.toc *.aux *.log *.out
-
-clean:         tidy
-               rm -f *.ps *.dvi *.pdf
-               rm -Rf user tech
-
-distclean:     clean
-
-
-dummies:
-               for n in $(IMAGES); do echo '(omitted)' >$$n; done
diff --git a/doc/Makefile.old b/doc/Makefile.old
new file mode 100644 (file)
index 0000000..fec66b4
--- /dev/null
@@ -0,0 +1,58 @@
+# -*- makefile -*-
+
+LATEX=latex
+PDFLATEX=pdflatex
+RLATEX=./rlatex
+FIG2DEV=fig2dev
+SHELL=/bin/sh
+
+IMAGES=bootloader.tex map.tex image.tex parameter.tex other.tex
+
+.SUFFIXES:     .fig .tex .dvi .ps
+
+.fig.tex:
+               $(FIG2DEV) -L latex $*.fig $*.tex
+
+.tex.dvi:
+               $(RLATEX) $*
+
+all:           user.dvi tech.dvi user.pdf tech.pdf
+
+user.ps:       user.dvi
+               dvips -o user.ps user.dvi
+
+tech.ps:       tech.dvi
+               dvips -o tech.ps tech.dvi
+
+user.dvi:      user.tex
+
+tech.dvi:      tech.tex $(IMAGES)
+
+user.pdf:      user.dvi
+               $(PDFLATEX) user
+               $(PDFLATEX) user
+
+tech.pdf:      tech.dvi
+               $(PDFLATEX) tech
+               $(PDFLATEX) tech
+
+html:          user.ps tech.ps
+               latex2html -split 2 -link 2 -toc_depth 2 user
+               latex2html -split 1 -link 1 -toc_depth 1 tech
+
+again:
+               $(PDFLATEX) user
+               $(PDFLATEX) tech
+
+tidy:
+               rm -f *~ *.toc *.aux *.log *.out
+
+clean:         tidy
+               rm -f *.ps *.dvi *.pdf
+               rm -Rf user tech
+
+distclean:     clean
+
+
+dummies:
+               for n in $(IMAGES); do echo '(omitted)' >$$n; done
diff --git a/doc/html/index.html b/doc/html/index.html
new file mode 100644 (file)
index 0000000..55a36c6
--- /dev/null
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title>LILO
+Generic boot loader for Linux
+Version 21.5 Documentation</title> 
+<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> 
+<meta name="generator" content="Bluefish 2.2.3" /> 
+<meta name="date" content="2013-06-07T14:28:57+0200" /> 
+<link rel="stylesheet" type="text/css" href="tech_21-5.css" /> 
+</head><body 
+>
+<div class="maketitle">
+
+
+
+<h2 class="titleHead">LILO<br />
+Generic boot loader for Linux<br />
+Version 21.5<br />
+July 17, 2000</h2>
+
+<h3 class="likesectionHead">Documentation</h3>
+
+<p class="author" ><span 
+class="cmr-12"><a href="user_21-5.html">User’s guide</a> <br />
+(written by Werner Almesberger and John R. Coffman)</span>
+</p>
+
+<p class="author" ><span 
+class="cmr-12"><a href="tech_21-5.html">Technical overview</a> <br />
+(written by Werner Almesberger and John R. Coffman)</span>
+</p>
+
+<p><span 
+class="cmti-10x-x-109"><br />
+(Documentation reconstructed by Joachim Wiedorn on January 29, 2011)</span>
+</p>
+
+</body></html> 
+
+
+
diff --git a/doc/html/tech_21-5.css b/doc/html/tech_21-5.css
new file mode 100644 (file)
index 0000000..cba9cc6
--- /dev/null
@@ -0,0 +1,141 @@
+/* start css.sty */
+
+description { margin-top: 1em; }
+dt.description { margin-top: 1em; }
+dd.description { margin-top: 0.5em; }
+
+.line-10{font-size:90%;}
+.cmr-10{font-size:90%;}
+.cmr-10x-x-109{}
+.cmr-17{font-size:154%;}
+.cmr-12x-x-120{font-size:130%;}
+.cmbx-12x-x-120{font-size:130%; font-weight: bold;}
+.cmbx-12x-x-120{ font-weight: bold;}
+.cmr-12{font-size:109%;}
+.cmr-6{font-size:54%;}
+.cmti-12{font-size:109%; font-style: italic;}
+.cmtt-10x-x-109{font-family: monospace;}
+.cmtt-10x-x-109{font-family: monospace;}
+.cmbx-10x-x-109{ font-weight: bold;}
+.cmbx-10x-x-109{ font-weight: bold;}
+.cmss-10x-x-109{  font-family: sans-serif;}
+.cmr-9{font-size:81%;}
+.cmtt-10{font-size:90%;font-family: monospace;}
+.cmtt-10{font-family: monospace;}
+.cmti-10x-x-109{ font-style: italic;}
+p.noindent { text-indent: 0em }
+td p.noindent { text-indent: 0em; margin-top:0em; }
+p.nopar { text-indent: 0em; }
+p.indent{ text-indent: 1.5em }
+@media print {div.crosslinks {visibility:hidden;}}
+a img { border-top: 0; border-left: 0; border-right: 0; }
+center { margin-top:1em; margin-bottom:1em; }
+td center { margin-top:0em; margin-bottom:0em; }
+.Canvas { position:relative; }
+img.math{vertical-align:middle;}
+li p.indent { text-indent: 0em }
+li p:first-child{ margin-top:0em; }
+li p:last-child, li div:last-child { margin-bottom:0.5em; }
+li p~ul:last-child, li p~ol:last-child{ margin-bottom:0.5em; }
+.enumerate1 {list-style-type:decimal;}
+.enumerate2 {list-style-type:lower-alpha;}
+.enumerate3 {list-style-type:lower-roman;}
+.enumerate4 {list-style-type:upper-alpha;}
+div.newtheorem { margin-bottom: 2em; margin-top: 2em;}
+.obeylines-h,.obeylines-v {white-space: nowrap; }
+div.obeylines-v p { margin-top:0; margin-bottom:0; }
+.overline{ text-decoration:overline; }
+.overline img{ border-top: 1px solid black; }
+td.displaylines {text-align:center; white-space:nowrap;}
+.centerline {text-align:center;}
+.rightline {text-align:right;}
+div.verbatim {font-family: monospace; white-space: nowrap; text-align:left; clear:both; }
+.fbox {padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+div.fbox {display:table}
+div.center div.fbox {text-align:center; clear:both; padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+div.minipage{width:100%;}
+div.center, div.center div.center {text-align: center; margin-left:1em; margin-right:1em;}
+div.center div {text-align: left;}
+div.flushright, div.flushright div.flushright {text-align: right;}
+div.flushright div {text-align: left;}
+div.flushleft {text-align: left;}
+.underline{ text-decoration:underline; }
+.underline img{ border-bottom: 1px solid black; margin-bottom:1pt; }
+.framebox-c, .framebox-l, .framebox-r { padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+.framebox-c {text-align:center;}
+.framebox-l {text-align:left;}
+.framebox-r {text-align:right;}
+span.thank-mark{ vertical-align: super }
+span.footnote-mark sup.textsuperscript, span.footnote-mark a sup.textsuperscript{ font-size:80%; }
+div.tabular, div.center div.tabular {text-align: center; margin-top:0.5em; margin-bottom:0.5em; }
+table.tabular td p{margin-top:0em;}
+table.tabular {margin-left: auto; margin-right: auto;}
+td p:first-child{ margin-top:0em; }
+td p:last-child{ margin-bottom:0em; }
+div.td00{ margin-left:0pt; margin-right:0pt; }
+div.td01{ margin-left:0pt; margin-right:5pt; }
+div.td10{ margin-left:5pt; margin-right:0pt; }
+div.td11{ margin-left:5pt; margin-right:5pt; }
+table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; }
+td.td00{ padding-left:0pt; padding-right:0pt; }
+td.td01{ padding-left:0pt; padding-right:5pt; }
+td.td10{ padding-left:5pt; padding-right:0pt; }
+td.td11{ padding-left:5pt; padding-right:5pt; }
+table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; }
+.hline hr, .cline hr{ height : 1px; margin:0px; }
+.tabbing-right {text-align:right;}
+span.TEX {letter-spacing: -0.125em; }
+span.TEX span.E{ position:relative;top:0.5ex;left:-0.0417em;}
+a span.TEX span.E {text-decoration: none; }
+span.LATEX span.A{ position:relative; top:-0.5ex; left:-0.4em; font-size:85%;}
+span.LATEX span.TEX{ position:relative; left: -0.4em; }
+div.float, div.figure {margin-left: auto; margin-right: auto;}
+div.float img {text-align:center;}
+div.figure img {text-align:center;}
+.marginpar {width:20%; float:right; text-align:left; margin-left:auto; margin-top:0.5em; font-size:85%; text-decoration:underline;}
+.marginpar p{margin-top:0.4em; margin-bottom:0.4em;}
+table.equation {width:100%;}
+.equation td{text-align:center; }
+td.equation { margin-top:1em; margin-bottom:1em; } 
+td.equation-label { width:5%; text-align:center; }
+td.eqnarray4 { width:5%; white-space: normal; }
+td.eqnarray2 { width:5%; }
+table.eqnarray-star, table.eqnarray {width:100%;}
+div.eqnarray{text-align:center;}
+div.array {text-align:center;}
+div.pmatrix {text-align:center;}
+table.pmatrix {width:100%;}
+span.pmatrix img{vertical-align:middle;}
+div.pmatrix {text-align:center;}
+table.pmatrix {width:100%;}
+span.bar-css {text-decoration:overline;}
+img.cdots{vertical-align:middle;}
+.partToc a, .partToc, .likepartToc a, .likepartToc {line-height: 200%; font-weight:bold; font-size:110%;}
+.index-item, .index-subitem, .index-subsubitem {display:block}
+div.caption {text-indent:-2em; margin-left:3em; margin-right:1em; text-align:left;}
+div.caption span.id{font-weight: bold; white-space: nowrap; }
+h1.partHead{text-align: center}
+p.bibitem { text-indent: -2em; margin-left: 2em; margin-top:0.6em; margin-bottom:0.6em; }
+p.bibitem-p { text-indent: 0em; margin-left: 2em; margin-top:0.6em; margin-bottom:0.6em; }
+.paragraphHead, .likeparagraphHead { margin-top:2em; font-weight: bold;}
+.subparagraphHead, .likesubparagraphHead { font-weight: bold;}
+.quote {margin-bottom:0.25em; margin-top:0.25em; margin-left:1em; margin-right:1em; text-align:justify;}
+.verse{white-space:nowrap; margin-left:2em}
+div.maketitle {text-align:center;}
+h2.titleHead{text-align:center;}
+div.maketitle{ margin-bottom: 2em; }
+div.author, div.date {text-align:center;}
+div.thanks{text-align:left; margin-left:10%; font-size:85%; font-style:italic; }
+div.author{white-space: nowrap;}
+.quotation {margin-bottom:0.25em; margin-top:0.25em; margin-left:1em; }
+.abstract p {margin-left:5%; margin-right:5%;}
+div.abstract {width:100%;}
+.figure img.graphics {margin-left:10%;}
+.caption span.id{font-weight: bold;}
+ .wrapfig-r, .wrapfig-ri, .wrapfig-ir, .wrapfig-ro, .wrapfig-or {float:right; text-align:left; margin-left:auto; margin-top:0.5em;} 
+ .wrapfig-l, .wrapfig-li, .wrapfig-il, .wrapfig-lo, .wrapfig-ol {float:left; text-align:left; margin-right:auto; margin-top:0.5em;} 
+.wrapfig-r .caption td.content, .wrapfig-ri .caption td.content, .wrapfig-ir .caption td.content, .wrapfig-ro .caption td.content, .wrapfig-or .caption td.content, .wrapfig-l .caption td.content, .wrapfig-li .caption td.content, .wrapfig-il .caption td.content, .wrapfig-lo .caption td.content, .wrapfig-ol .caption td.content {white-space: normal; }
+.wrapfig-r .caption, .wrapfig-ri .caption, .wrapfig-ir .caption, .wrapfig-ro .caption, .wrapfig-or .caption, .wrapfig-l .caption, .wrapfig-li .caption, .wrapfig-il .caption, .wrapfig-lo .caption, .wrapfig-ol .caption {width:30%; }
+/* end css.sty */
+
diff --git a/doc/html/tech_21-5.html b/doc/html/tech_21-5.html
new file mode 100644 (file)
index 0000000..4b2c77d
--- /dev/null
@@ -0,0 +1,522 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title>LILO
+Generic boot loader for Linux
+Version 21.5
+Technical overview</title> 
+<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> 
+<meta name="generator" content="Bluefish 2.2.3" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="tech_21-5.tex" /> 
+<meta name="date" content="2013-06-07T14:17:05+0200" /> 
+<link rel="stylesheet" type="text/css" href="tech_21-5.css" /> 
+</head><body 
+>
+<div class="maketitle">
+
+
+
+<h2 class="titleHead">LILO<br />
+Generic boot loader for Linux<br />
+Version 21.5<br />
+&#x00A0;<br />
+Technical overview</h2>
+        <div class="author" ><span 
+class="cmr-12">Werner Almesberger</span>
+<br />         <span 
+class="cmr-12">John R. Coffman</span>
+<br /><span 
+class="cmti-12">(reconstructed by Joachim Wiedorn)</span></div>
+<br />
+<div class="date" ><span 
+class="cmr-12">July 17, 2000</span></div>
+</div>
+<h3 class="likesectionHead"><a 
+ id="x1-1000"></a>Contents</h3>
+<div class="tableofcontents">
+<span class="sectionToc" >1 <a 
+href="#x1-20001" id="QQ2-1-2">Load sequence</a></span>
+<br /><span class="sectionToc" >2 <a 
+href="#x1-30002" id="QQ2-1-3">File references</a></span>
+<br /><span class="sectionToc" >3 <a 
+href="#x1-40003" id="QQ2-1-4">Configuration parameters</a></span>
+<br /><span class="sectionToc" >4 <a 
+href="#x1-50004" id="QQ2-1-5">Parameter line interface</a></span>
+<br /><span class="sectionToc" >5 <a 
+href="#x1-60005" id="QQ2-1-6">External interface</a></span>
+<br /><span class="sectionToc" >6 <a 
+href="#x1-70006" id="QQ2-1-7">Default command line in map file</a></span>
+</div>
+<!--l. 72--><p class="noindent" >This document describes internals of LILO&#x00A0;and related parts of its environment (kernel, etc.). It is not
+necessary to read or understand this document in order to install or use LILO. A general introduction and
+installation instructions can be found in the user&#8217;s guide.
+</p><!--l. 77--><p class="noindent" ><span 
+class="cmbx-10x-x-109">This document has only been partially updated and does reflect the status of Linux (until</span>
+<span 
+class="cmbx-10x-x-109">2.2.16) and of LILO</span><span 
+class="cmbx-10x-x-109">&#x00A0;(until 21.5) in the year 2000.</span>
+</p><!--l. 80--><p class="noindent" >
+
+</p>
+<h3 class="sectionHead"><span class="titlemark">1   </span> <a 
+ id="x1-20001"></a>Load sequence</h3>
+<!--l. 87--><p class="noindent" >The boot sector is loaded by the ROM-BIOS at address 0x07C00. It moves itself to address 0x96A00, sets
+up the stack (growing downwards from 0x96A00 to 0x96800), loads the secondary boot loader at address
+0x96C00 and transfers control to it. It displays an &#8220;L&#8221; after moving itself and an &#8220;I&#8221; before starting the
+secondary boot loader. If a read error occurs when loading the secondary boot loader, a two-digit hex
+code is displayed after the &#8220;L&#8221;. This results in an endless stream of error codes if the problem
+is permanent. Displaying these error codes is disabled if the build-time option <span 
+class="cmtt-10x-x-109">NO1STDIAG </span>is
+set.
+</p><!--l. 97--><p class="noindent" >The secondary boot loader loads the descriptor table at 0x98800 and the sector containing the
+default command line at 0x98C00. If the default command line is enabled, its magic number is
+invalidated and the sector is written back to disk. This potentially dangerous operation can be
+disabled by defining <span 
+class="cmtt-10x-x-109">LCF</span><span 
+class="cmtt-10x-x-109">_READONLY </span>when passing <span 
+class="cmtt-10x-x-109">second.S </span>through <span 
+class="cmss-10x-x-109">cpp</span>. Next, the secondary
+boot loader checks for user input. If either the default is used or if the user has specified an
+alternate image, the options sector is loaded at 0x98C00 and the parameter line is constructed at
+0x99000. If the resulting line contains the option <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">lock</span></span></span>, the command line as entered by the
+user (it is saved before the final line is constructed) is written to the disk as the new default
+command line. Also, if a fallback command line is set, it is copied to the default command line
+sector.
+</p><!--l. 111--><p class="noindent" >If the user has supplied an initial RAM disk image, this file is loaded below the end of physical memory or
+16 MB, whichever is lower. The start address is lowered to the next page boundary so that the memory area
+occupied by the initial RAM disk can later be easily returned to the system&#8217;s free memory pool. The 16 MB
+limit exists because the BIOS functions used to transfer data in memory are only specified for an 24 bit
+address space.
+</p><!--l. 119--><p class="noindent" >Next, the floppy boot sector of that image is loaded at
+0x90000<span class="footnote-mark"><a 
+href="tech_21-52.html#fn1x0"><sup class="textsuperscript">1</sup></a></span><a 
+ id="x1-2001f1"></a>,
+the setup part is loaded at 0x90200 and the kernel part is loaded at 0x10000, or, if the kernel has been
+compiled for being loaded &#8220;high&#8221; (i.e. with <span 
+class="cmtt-10x-x-109">make bzImage</span>), it is loaded at 0x100000 instead. During the
+load operations, the sectors of the map file are loaded at 0x98600.
+</p><!--l. 126--><p class="noindent" >If the loaded image is a kernel image, control is transferred to its setup code. If a different operating system
+is booted, things are a bit more difficult: the chain loader is loaded at 0x90200 and the boot sector of the
+other OS is loaded at 0x90400. The chain loader moves the partition table (loaded at 0x903BE as part of
+the chain loader) to 0x00600 and the boot sector to 0x07C00. After that, it passes control to the boot
+sector.
+</p><!--l. 134--><p class="noindent" >Chain loaders that allow booting from a second drive (either floppy or hard disk) also install a
+small function to intercept BIOS calls and to swap the drive numbers at the top of available
+memory.
+</p><!--l. 138--><p class="noindent" >The secondary boot loader displays an &#8220;L&#8221; after being started and an &#8220;O&#8221; after loading the descriptor table
+and the default command line. Before loading the descriptor table, it checks, whether it has been loaded at
+
+the correct location and displays a question mark if it hasn&#8217;t. If the descriptor table has an incorrect
+checksum, a minus sign is displayed.
+</p><!--l. 144--><p class="noindent" >
+</p>
+<center class="math-display" >
+<img 
+src="tech_21-50x.png" alt="0x00000  |-------------------------------|1982 bytes
+         |-------------------------------|
+0x007BE  |--------Partition-table---------|64 bytes
+0x007FE  |-------------------------------|29 kB
+0x07C00  |--------Boot-load-area---------|512 bytes
+0x07E00  |-------------------------------|32.5 kB
+0x10000  |                               |448 kB
+         |                               |
+         |            Kernel             |
+         |                               |
+         |                               |
+         |-------------------------------|
+0x90000  |------Floppy-boot-sector-------|512 bytes
+0x90200  |---------Setup-(kernel)---------|39.5 kB (2 kB used)
+0x9A000  |------Primary--boot-loader-------|512 bytes
+0x9A200  |             Stack              |3.5 kB
+0x9B000  |-----Secondary-boot-loader------|8 kB (3.5 kB used)
+0x9D000  |--------Map--load-area---------|512 bytes
+         |-------------------------------|
+0x9D200  |--------Descriptor-table---------|1 kB
+0x9D600  |---Default command--line, etc.--|512 bytes
+0x9D800  |---Keyboard-translation-table----|512 bytes
+0x9DA00  |Parameter-line-construction-area-|1 kB
+0x9DC00  |                               |7.5 kB
+         |                               |
+         |--------Drive-swapper----------|1 kB
+         ---------------------------------
+0xA0000
+" class="math-display"  /></center>
+<!--l. 192--><p class="noindent" >The area 0x90020-0x90023 is overlaid by a command-line descriptor while the secondary boot loader is
+running.
+</p><!--l. 195--><p class="noindent" >If the build-time configuration option <span 
+class="cmtt-10x-x-109">LARGE</span><span 
+class="cmtt-10x-x-109">_EBDA </span>is set, all the addresses in the area 0x90000-0x9FFFF are
+changed to 0x80000-0x8FFFF, with the exception of the location of the driver swapper, which automatically
+follows the end of the available memory.
+</p><!--l. 200--><p class="noindent" >
+
+</p>
+<h3 class="sectionHead"><span class="titlemark">2   </span> <a 
+ id="x1-30002"></a>File references</h3>
+<!--l. 206--><p class="noindent" >This section describes the references among files involved in the boot procedures.
+</p><!--l. 209--><p class="noindent" >
+</p>
+<center class="math-display" >
+<img 
+src="tech_21-51x.png" alt="                          --------------|
+                          |  Default    |
+                         /|             |
+                      //  -command--line---
+                     /    |  Image      |
+                   /   // |             |
+                  /  /    |-descriptors-- |
+                 / /      |             |
+              // /        |             |
+-------------/-/          |   map       |
+|Boot sector  /\ |
+|            \\|\
+-------------\\\\  \ \ \   |-------------|
+              \ \\      \ \  Primary    |
+               \ \ \      | boot loader  |
+                \\\  \ \  ---------------
+                  \\    \ |             |
+                   \ \\   |             |
+                    \  \  |- --- --- -- |
+                     \   \| Secondary   |
+                      \\  | boot loader  |
+                        \ |- --- --- -- |
+                         \\|             |
+                          |             |
+                          ---------------
+                            boot.b
+" class="math-display"  /></center>
+<!--l. 213--><p class="noindent" >The boot sector contains the primary boot loader, the address of the default command line sector, the
+address of both descriptor table sectors and the addresses of the sectors of the secondary boot loader. The
+generic boot sector is copied from <span 
+class="cmtt-10x-x-109">boot.b</span>.
+</p><!--l. 218--><p class="noindent" >The primary boot loader can store up to eight sector addresses of the secondary boot loader.
+</p><!--l. 221--><p class="noindent" >
+
+</p>
+<center class="math-display" >
+<img 
+src="tech_21-52x.png" alt="|-------------|
+|   Default   |
+|             |
+--command--line-|
+|             |
+|    Image    |
+- --- --- --- -
+|             |
+|  descriptors  |
+--------------|
+|             |
+|  Zero sector  |
+--------------|
+|  Keyboard   |
+|             |
+--trans. table-|
+|    First    |
+|             |
+----section----|
+|             |
+|   Second    |
+- --- --/ --- -
+|    //       |
+|   section    |
+--------------|
+|    Third    |
+|             |
+----section----|
+" class="math-display"  /></center>
+<!--l. 225--><p class="noindent" >The map file consists of so-called sections and of special data sectors. Each section spans an integral number
+of disk sectors and contains addresses of sectors of other files.
+</p><!--l. 230--><p class="noindent" >There are three exceptions: 1. If a &#8220;hole&#8221; is being covered or if the floppy boot sector of an unstripped
+kernel has been omitted, the address of the zero sector is used. This sector is part of the map file. 2. When
+booting a different operating system, the first sector is the merged chain loader that has been written to the
+map file before that section. 3. Each map section describing an image is followed by a sector containing the
+options line of that image.
+</p><!--l. 238--><p class="noindent" >The last address slot of each map sector is either unused (if the map section ends in this sector) or contains
+the address of the next map sector in the section.
+</p><!--l. 242--><p class="noindent" >The ifive sectors at the beginning of the map file are special: the first sector contains the default command
+line, the next two sectors contain the boot image descriptor table and the fourth sector is filled with zero
+bytes. This sector is mapped whenever a file contains a &#8220;hole&#8221;. The fifth sector contains the keyboard
+translation table.
+</p><!--l. 248--><p class="noindent" >
+
+</p>
+<center class="math-display" >
+<img 
+src="tech_21-53x.png" alt="|-----------|                       --------------|
+|Descriptor  |                       |             |
+------------                        |             |
+   |    | \    |-------------|     //-- -- --- -- -
+    ||   || \\  |             |    / |             |
+     |    |    |   Fallback    |   /  |             |
+     |    |    |             |  /  /|             |
+      |    |   -- --- -- --- - /  / --- -- --- -- -
+      |     |  |   Options    |////// |             |
+       ||    || |             // /   |             |
+        |    | |- --- -- ---///     --- -- --- --
+        |     |||            //      |             |
+        |      |            /|      |             |
+         |     -- -// /-/--- -
+         ||    |             |      |             |
+          |    |             |      |             |
+           |   -------------\-\     --- -- --- -- -
+           |                   \ \\ |             |
+            |    Map section         |             |
+            ||                      ---------------
+             |
+    optional   |                       Kernel image
+              |
+               |
+               ||----------------------------------|
+               |             |      |             |
+               |             |      |             |
+               -- --/ /-/--- -      --- -- --- -- -
+               |   /         |      |             |
+               |             |      |             |
+               -------------\-
+                             \      |             |
+                 Map section   \     |             |
+                                \   --- -- --- -- -
+                                 \\ |             |
+                                    |             |
+                                    |             |
+                                    ---------------
+                                   Initial RAM  disk
+" class="math-display"  /></center>
+<!--l. 252--><p class="noindent" >A kernel image consists simply of a sequence of sectors being loaded. The map section also contains a sector
+with a fallback command line and a sector with parameter line options. Optionally, a RAM disk image,
+specified by a second map section, can be loaded.
+</p><!--l. 257--><p class="noindent" >
+
+</p>
+<center class="math-display" >
+<img 
+src="tech_21-54x.png" alt="                             |--------------|         |-------------|
+                             |              |         |  Original   |
+                             |  chain.b     |         |  partition   |
+|-----------|                -----/---------|        /----table------
+|           |                    /                 /
+-Descriptor--                    /              / /
+       \                      //           / /
+         \\ |--------------|  /           /
+           |              | /         //
+           |   Fallback    |/        /
+           - --- -- --- --/     / /
+           |            //| / /
+           |   (Options)/  /
+           | --- -- --/// /-|
+           |              \
+           | Chain loader  |\ |
+           | --- -- --- --cccccccccccmmmmmmmmmmmcmcmcmcmcmcmcmccccrmrmrmrmrmrrrrrrrrrrrrrmmmmnnnnnmmmmmmmmmmmmmrmrmrmrm.....n.nnnnnnnnnnnnnnnn................
+           |            cccccccmmcmcmcmcccccc/mmmmmcmcmcmcmcmcmcmcrrrrrmmmmmmcmcmcmccccccrrrrrrrrrrrrmmmmmmrmrmrmrrrrrrmmmmmmcmcmcmcmccmmmmmmmmmmmmrmnnnnnnnnmmmmmmrmrmrmrrrrrrrmmnnnnnnnnnnnnn........n.nnnnnnnnmmmmmmmrmrm.....................n.nnnnnnnn........     |-------------|
+           |            /-|----------|Boot sector   |
+           ---------------|          |             |
+                                     ---------------
+             Map  section
+" class="math-display"  /></center>
+<!--l. 261--><p class="noindent" >When booting another operating system, the chain loader (<span 
+class="cmtt-10x-x-109">chain.b</span>) is merged with the patched partition
+table<span class="footnote-mark"><a 
+href="tech_21-53.html#fn2x0"><sup class="textsuperscript">2</sup></a></span><a 
+ id="x1-3001f2"></a>
+and written into the map file. The map section of this boot image starts after that sector and contains only
+the address of a dummy floppy boot sector (the zero sector, but its contents are irrelevant), the loader
+sector and the boot sector of the other operating system. Not that the map section also contains the
+fallback sector and a (useless) sector for options.
+</p>
+<h3 class="sectionHead"><span class="titlemark">3   </span> <a 
+ id="x1-40003"></a>Configuration parameters</h3>
+<!--l. 275--><p class="noindent" >The boot sector of each kernel contains a set of configuration parameters that have to be available at boot
+time before the kernel can access file systems. These parameters can be set when the kernel is
+compiled and later be changed with programs like <span 
+class="cmss-10x-x-109">rdev</span>. LILO&#x00A0;can supersede the parameters (in
+memory) at boot time by placing the corresponding items on the parameter line passed to the
+kernel.
+
+</p><!--l. 282--><p class="noindent" >The parameters are stored at the following (decimal) offsets:
+</p><!--l. 284--><p class="noindent" >
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmbx-10x-x-109">497</span> </dt><dd 
+class="description">the size of the setup code in sectors (512 bytes). Older kernels may put a zero at this place.
+     </dd><dt class="description">
+<span 
+class="cmbx-10x-x-109">498-499</span> </dt><dd 
+class="description">is a flag specifying whether the root file system should be mounted read-only (if non-zero)
+     or read-write (if zero).
+     </dd><dt class="description">
+<span 
+class="cmbx-10x-x-109">500-501</span> </dt><dd 
+class="description">the size of the kernel, counted in paragraphs (16 bytes).
+     </dd><dt class="description">
+<span 
+class="cmbx-10x-x-109">502-503</span> </dt><dd 
+class="description">this parameter is currently unused.
+     </dd><dt class="description">
+<span 
+class="cmbx-10x-x-109">504-505</span> </dt><dd 
+class="description">the size of the RAM disk in kilobytes. No RAM disk is created if this parameter is set to
+     zero.
+     </dd><dt class="description">
+<span 
+class="cmbx-10x-x-109">506-507</span> </dt><dd 
+class="description">the text mode the VGA is set to.
+          <dl class="description"><dt class="description">
+     <span 
+class="cmbx-10x-x-109">0xFFFD</span> </dt><dd 
+class="description">the user is asked to specify the VGA mode at boot time.
+          </dd><dt class="description">
+     <span 
+class="cmbx-10x-x-109">0xFFFE</span> </dt><dd 
+class="description">uses 80x50 (&#8220;extended&#8221;) mode.
+          </dd><dt class="description">
+     <span 
+class="cmbx-10x-x-109">0xFFFF</span> </dt><dd 
+class="description">uses 80x25 (&#8220;normal&#8221;) mode.</dd></dl>
+     <!--l. 299--><p class="noindent" >Any other value selects the corresponding mode as displayed in the interactive VGA mode selection
+     menu. This is the only option that is set by LILO by patching the boot sector instead of passing it on
+     the parameter line.
+     </p></dd><dt class="description">
+<span 
+class="cmbx-10x-x-109">508</span> </dt><dd 
+class="description">the minor number of the device that should be mounted as root.
+     </dd><dt class="description">
+<span 
+class="cmbx-10x-x-109">509</span> </dt><dd 
+class="description">the major number of the device that should be mounted as root.</dd></dl>
+<!--l. 309--><p class="noindent" >
+</p>
+<h3 class="sectionHead"><span class="titlemark">4   </span> <a 
+ id="x1-50004"></a>Parameter line interface</h3>
+<!--l. 311--><p class="noindent" >The kernel supports processing of parameters that are provided by the boot loader. The parameter string is
+a NUL-terminated ASCII string that contains space-separated words or <span 
+class="cmti-10x-x-109">variable</span><span 
+class="cmtt-10x-x-109">=</span><span 
+class="cmti-10x-x-109">value </span>pairs. A description
+of how they are interpreted can be found in the section of the user&#8217;s guide labeled &#8220;The boot
+prompt&#8221;.
+</p><!--l. 318--><p class="noindent" >The following descriptor has to be set up to pass a parameter string to the kernel:
+
+</p><!--l. 321--><p class="noindent" >
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmbx-10x-x-109">0x90020</span> </dt><dd 
+class="description">the magic number 0xA33F.
+     </dd><dt class="description">
+<span 
+class="cmbx-10x-x-109">0x90022</span> </dt><dd 
+class="description">the offset of the first byte of the parameter line relative to 0x90000.</dd></dl>
+<!--l. 327--><p class="noindent" >The boot loader composes the parameter line from the command line, from the options sector and from
+some internally generated prefixes (typically <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">auto</span></span></span> and <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">BOOT_IMAGE=</span></span></span>), as follows:
+</p><!--l. 331--><p class="noindent" >
+</p>
+<center class="math-display" >
+<img 
+src="tech_21-55x.png" alt="                  |---------------------------------------|
+                  |  Image    |                            |
+Command  line      |  name    |    Command  -line options    |
+                  ---------------------------\------------
+                       |                       \ \ \
+                       |                             \ \
+                       |                                 \ \
+                       |                                    \ \ \
+           |-----------|----------------------------------|-------\\-------------------|
+           | Pre- |  Image    |                            |                            |
+           |fixes  |  name    |       Static options         |    Command  -line options    |
+           --------------------------------|--------------------------------------------
+Parameter string                            |
+passed to the kernel                         |
+                                           |
+                                           |
+                             |----------------------------|
+Options sector                |       Static options         |
+                             |                            |
+                             ------------------------------
+" class="math-display"  /></center>
+<!--l. 335--><p class="noindent" >Example: <br 
+class="newline" />Command line: <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">vmlinuz</span><span 
+class="cmtt-10x-x-109">&#x00A0;root=802</span></span></span><br 
+class="newline" />Options sector: <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">root=801</span><span 
+class="cmtt-10x-x-109">&#x00A0;ro</span></span></span>
+</p><!--l. 339--><p class="noindent" >yields <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">BOOT_IMAGE=vmlinuz</span><span 
+class="cmtt-10x-x-109">&#x00A0;root=801</span><span 
+class="cmtt-10x-x-109">&#x00A0;ro</span><span 
+class="cmtt-10x-x-109">&#x00A0;root=802</span></span></span>
+</p><!--l. 341--><p class="noindent" >Because parameter line options can typically be overridden, the first <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">root</span></span></span> option is ignored by the
+kernel.
+
+</p><!--l. 346--><p class="noindent" >
+</p>
+<h3 class="sectionHead"><span class="titlemark">5   </span> <a 
+ id="x1-60005"></a>External interface</h3>
+<!--l. 348--><p class="noindent" >LILO&#x00A0;is able to receive its command line from a program that is booted before it. This externally provided
+command line is only used if the user does not use the normal mechanism to invoke the boot
+prompt.
+</p><!--l. 352--><p class="noindent" >The following register contents are expected:
+</p><!--l. 354--><p class="noindent" >
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmbx-10x-x-109">DL</span> </dt><dd 
+class="description">contains the value 0xFE.
+     </dd><dt class="description">
+<span 
+class="cmbx-10x-x-109">ES:SI</span> </dt><dd 
+class="description">points to the string &#8220;LILO&#8221;. The string must be in upper case and no terminating character
+     is needed. The string must not cross segment boundaries, i.e. <span 
+class="cmbx-10x-x-109">SI </span>must be below 0xFFFD.
+     </dd><dt class="description">
+<span 
+class="cmbx-10x-x-109">ES:BX</span> </dt><dd 
+class="description">points to a NUL-terminated string that is used as the command line. This string has a
+     maximum length of 78 characters (not including the terminating NUL) and must not cross
+     segment boundaries.</dd></dl>
+<!--l. 364--><p class="noindent" >There are two values of the externally provided command line that have a special meaning:
+</p>
+     <ul class="itemize1">
+     <li class="itemize">an empty string (<span 
+class="cmbx-10x-x-109">ES:BX </span>points to a NUL byte) is interpreted as a request to enter the boot
+     prompt and to accept keyboard input.
+     </li>
+     <li class="itemize">a string that consists only of blanks is interpreted as a request to boot the default boot image.</li></ul>
+<!--l. 374--><p class="noindent" >LILO&#x00A0;can also obtain the default command line from the map file. It is only used if no externally provided
+command line is available.
+</p><!--l. 379--><p class="noindent" >
+</p>
+<h3 class="sectionHead"><span class="titlemark">6   </span> <a 
+ id="x1-70006"></a>Default command line in map file</h3>
+<!--l. 381--><p class="noindent" >The first sector of the map file is reserved for a default command line. Unless the user invokes the boot
+prompt by pressing a shift key or unless an externally provided command line is present, the command line
+in the map file is interpreted as if it had been typed on the keyboard.
+</p><!--l. 386--><p class="noindent" >The first two bytes of the first sector of the map file have to contain the magic number <span 
+class="cmtt-10x-x-109">DC</span><span 
+class="cmtt-10x-x-109">_MAGIC </span>(0xF4F2)
+in little-endian byte order. They are followed by a NUL-terminated string with a maximum length of 510
+bytes, including the NUL. Note that the boot loader limits command lines to 78 characters after removing
+duplicate spaces.
+
+</p><!--l. 392--><p class="noindent" >The command line is disabled by either clobbering the magic number or by using an empty string (i.e. only
+a NUL byte) as the command line.
+</p>
+<div class="center" 
+>
+<!--l. 397--><p class="noindent" >
+</p><!--l. 398--><p class="noindent" ><span 
+class="cmti-10x-x-109">Last updated by John R. Coffman on July 17, 2000</span><br />
+<span 
+class="cmti-10x-x-109">reconstructed by Joachim Wiedorn on January 29, 2011</span></p></div>
+</body></html> 
+
+
+
diff --git a/doc/html/tech_21-50x.png b/doc/html/tech_21-50x.png
new file mode 100644 (file)
index 0000000..720d30d
Binary files /dev/null and b/doc/html/tech_21-50x.png differ
diff --git a/doc/html/tech_21-51x.png b/doc/html/tech_21-51x.png
new file mode 100644 (file)
index 0000000..efd7e5d
Binary files /dev/null and b/doc/html/tech_21-51x.png differ
diff --git a/doc/html/tech_21-52.html b/doc/html/tech_21-52.html
new file mode 100644 (file)
index 0000000..2231347
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="tech_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:36:00" /> 
+<link rel="stylesheet" type="text/css" href="tech_21-5.css" /> 
+</head><body 
+>
+  <div class="footnote-text">
+  <!--l. 120--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn1x0">   <sup class="textsuperscript">1</sup></a></span><span 
+class="cmr-9">The floppy boot sector is only used as a source of setup information.</span></p></div>
+      
+</body></html> 
diff --git a/doc/html/tech_21-52x.png b/doc/html/tech_21-52x.png
new file mode 100644 (file)
index 0000000..c8d2395
Binary files /dev/null and b/doc/html/tech_21-52x.png differ
diff --git a/doc/html/tech_21-53.html b/doc/html/tech_21-53.html
new file mode 100644 (file)
index 0000000..c728b63
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="tech_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:36:00" /> 
+<link rel="stylesheet" type="text/css" href="tech_21-5.css" /> 
+</head><body 
+>
+  <div class="footnote-text">
+  <!--l. 263--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn2x0">   <sup class="textsuperscript">2</sup></a></span><span 
+class="cmr-9">If the partition table is omitted, that area is filled with zero bytes.</span></p></div>
+      
+</body></html> 
diff --git a/doc/html/tech_21-53x.png b/doc/html/tech_21-53x.png
new file mode 100644 (file)
index 0000000..be1d7ea
Binary files /dev/null and b/doc/html/tech_21-53x.png differ
diff --git a/doc/html/tech_21-54x.png b/doc/html/tech_21-54x.png
new file mode 100644 (file)
index 0000000..2346490
Binary files /dev/null and b/doc/html/tech_21-54x.png differ
diff --git a/doc/html/tech_21-55x.png b/doc/html/tech_21-55x.png
new file mode 100644 (file)
index 0000000..7e0f05f
Binary files /dev/null and b/doc/html/tech_21-55x.png differ
diff --git a/doc/html/user_21-5.css b/doc/html/user_21-5.css
new file mode 100644 (file)
index 0000000..d5563ce
--- /dev/null
@@ -0,0 +1,152 @@
+/* start css.sty */
+
+description { margin-top: 1em; }
+dt.description { margin-top: 1em; }
+dd.description { margin-top: 0.5em; }
+
+.cmex-10{font-size:90%;}
+.cmr-10{font-size:90%;}
+.cmr-10x-x-109{}
+.cmr-17{font-size:154%;}
+.cmr-12x-x-120{font-size:130%;}
+.cmbx-12x-x-120{font-size:130%; font-weight: bold;}
+.cmbx-12x-x-120{ font-weight: bold;}
+.cmr-12{font-size:109%;}
+.cmr-8{font-size:72%;}
+.cmr-6{font-size:54%;}
+.cmti-12{font-size:109%; font-style: italic;}
+.cmtt-10x-x-109{font-family: monospace;}
+.cmtt-10x-x-109{font-family: monospace;}
+.cmss-10x-x-109{  font-family: sans-serif;}
+.cmss-10x-x-109{  font-family: sans-serif;}
+.cmbx-10x-x-109{ font-weight: bold;}
+.cmbx-10x-x-109{ font-weight: bold;}
+.cmr-9{font-size:81%;}
+.cmmi-9{font-size:81%;font-style: italic;}
+.cmsy-9{font-size:81%;}
+.cmmi-10x-x-109{font-style: italic;}
+.cmsy-10x-x-109{}
+.cmss-9{font-size:81%;  font-family: sans-serif;}
+.cmss-9{  font-family: sans-serif;}
+.cmtt-9{font-size:81%;font-family: monospace;}
+.cmtt-9{font-family: monospace;}
+.cmti-9{font-size:81%; font-style: italic;}
+.cmti-10x-x-109{ font-style: italic;}
+.tctt-0900{font-size:81%;font-family: monospace;}
+
+p.noindent { text-indent: 0em }
+td p.noindent { text-indent: 0em; margin-top:0em; }
+p.nopar { text-indent: 0em; }
+p.indent{ text-indent: 1.5em }
+@media print {div.crosslinks {visibility:hidden;}}
+a img { border-top: 0; border-left: 0; border-right: 0; }
+center { margin-top:1em; margin-bottom:1em; }
+td center { margin-top:0em; margin-bottom:0em; }
+.Canvas { position:relative; }
+img.math{vertical-align:middle;}
+li p.indent { text-indent: 0em }
+li p:first-child{ margin-top:0em; }
+li p:last-child, li div:last-child { margin-bottom:0.5em; }
+li p~ul:last-child, li p~ol:last-child{ margin-bottom:0.5em; }
+.enumerate1 {list-style-type:decimal;}
+.enumerate2 {list-style-type:lower-alpha;}
+.enumerate3 {list-style-type:lower-roman;}
+.enumerate4 {list-style-type:upper-alpha;}
+div.newtheorem { margin-bottom: 2em; margin-top: 2em;}
+.obeylines-h,.obeylines-v {white-space: nowrap; }
+div.obeylines-v p { margin-top:0; margin-bottom:0; }
+.overline{ text-decoration:overline; }
+.overline img{ border-top: 1px solid black; }
+td.displaylines {text-align:center; white-space:nowrap;}
+.centerline {text-align:center;}
+.rightline {text-align:right;}
+div.verbatim {font-family: monospace; white-space: nowrap; text-align:left; clear:both; }
+.fbox {padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+div.fbox {display:table}
+div.center div.fbox {text-align:center; clear:both; padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+div.minipage{width:100%;}
+div.center, div.center div.center {text-align: center; margin-left:1em; margin-right:1em;}
+div.center div {text-align: left;}
+div.flushright, div.flushright div.flushright {text-align: right;}
+div.flushright div {text-align: left;}
+div.flushleft {text-align: left;}
+.underline{ text-decoration:underline; }
+.underline img{ border-bottom: 1px solid black; margin-bottom:1pt; }
+.framebox-c, .framebox-l, .framebox-r { padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+.framebox-c {text-align:center;}
+.framebox-l {text-align:left;}
+.framebox-r {text-align:right;}
+span.thank-mark{ vertical-align: super }
+span.footnote-mark sup.textsuperscript, span.footnote-mark a sup.textsuperscript{ font-size:80%; }
+div.tabular, div.center div.tabular {text-align: center; margin-top:0.5em; margin-bottom:0.5em; }
+table.tabular td p{margin-top:0em;}
+table.tabular {margin-left: auto; margin-right: auto;}
+td p:first-child{ margin-top:0em; }
+td p:last-child{ margin-bottom:0em; }
+div.td00{ margin-left:0pt; margin-right:0pt; }
+div.td01{ margin-left:0pt; margin-right:5pt; }
+div.td10{ margin-left:5pt; margin-right:0pt; }
+div.td11{ margin-left:5pt; margin-right:5pt; }
+table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; }
+td.td00{ padding-left:0pt; padding-right:0pt; }
+td.td01{ padding-left:0pt; padding-right:5pt; }
+td.td10{ padding-left:5pt; padding-right:0pt; }
+td.td11{ padding-left:5pt; padding-right:5pt; }
+table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; }
+.hline hr, .cline hr{ height : 1px; margin:0px; }
+.tabbing-right {text-align:right;}
+span.TEX {letter-spacing: -0.125em; }
+span.TEX span.E{ position:relative;top:0.5ex;left:-0.0417em;}
+a span.TEX span.E {text-decoration: none; }
+span.LATEX span.A{ position:relative; top:-0.5ex; left:-0.4em; font-size:85%;}
+span.LATEX span.TEX{ position:relative; left: -0.4em; }
+div.float, div.figure {margin-left: auto; margin-right: auto;}
+div.float img {text-align:center;}
+div.figure img {text-align:center;}
+.marginpar {width:20%; float:right; text-align:left; margin-left:auto; margin-top:0.5em; font-size:85%; text-decoration:underline;}
+.marginpar p{margin-top:0.4em; margin-bottom:0.4em;}
+table.equation {width:100%;}
+.equation td{text-align:center; }
+td.equation { margin-top:1em; margin-bottom:1em; } 
+td.equation-label { width:5%; text-align:center; }
+td.eqnarray4 { width:5%; white-space: normal; }
+td.eqnarray2 { width:5%; }
+table.eqnarray-star, table.eqnarray {width:100%;}
+div.eqnarray{text-align:center;}
+div.array {text-align:center;}
+div.pmatrix {text-align:center;}
+table.pmatrix {width:100%;}
+span.pmatrix img{vertical-align:middle;}
+div.pmatrix {text-align:center;}
+table.pmatrix {width:100%;}
+span.bar-css {text-decoration:overline;}
+img.cdots{vertical-align:middle;}
+.partToc a, .partToc, .likepartToc a, .likepartToc {line-height: 200%; font-weight:bold; font-size:110%;}
+.index-item, .index-subitem, .index-subsubitem {display:block}
+div.caption {text-indent:-2em; margin-left:3em; margin-right:1em; text-align:left;}
+div.caption span.id{font-weight: bold; white-space: nowrap; }
+h1.partHead{text-align: center}
+p.bibitem { text-indent: -2em; margin-left: 2em; margin-top:0.6em; margin-bottom:0.6em; }
+p.bibitem-p { text-indent: 0em; margin-left: 2em; margin-top:0.6em; margin-bottom:0.6em; }
+.paragraphHead, .likeparagraphHead { margin-top:2em; font-weight: bold;}
+.subparagraphHead, .likesubparagraphHead { font-weight: bold;}
+.quote {margin-bottom:0.25em; margin-top:0.25em; margin-left:1em; margin-right:1em; text-align:justify;}
+.verse{white-space:nowrap; margin-left:2em}
+div.maketitle {text-align:center;}
+h2.titleHead{text-align:center;}
+div.maketitle{ margin-bottom: 2em; }
+div.author, div.date {text-align:center;}
+div.thanks{text-align:left; margin-left:10%; font-size:85%; font-style:italic; }
+div.author{white-space: nowrap;}
+.quotation {margin-bottom:0.25em; margin-top:0.25em; margin-left:1em; }
+.abstract p {margin-left:5%; margin-right:5%;}
+div.abstract {width:100%;}
+.figure img.graphics {margin-left:10%;}
+.caption span.id{font-weight: bold;}
+.wrapfig-r, .wrapfig-ri, .wrapfig-ir, .wrapfig-ro, .wrapfig-or {float:right; text-align:left; margin-left:auto; margin-top:0.5em;} 
+.wrapfig-l, .wrapfig-li, .wrapfig-il, .wrapfig-lo, .wrapfig-ol {float:left; text-align:left; margin-right:auto; margin-top:0.5em;} 
+.wrapfig-r .caption td.content, .wrapfig-ri .caption td.content, .wrapfig-ir .caption td.content, .wrapfig-ro .caption td.content, .wrapfig-or .caption td.content, .wrapfig-l .caption td.content, .wrapfig-li .caption td.content, .wrapfig-il .caption td.content, .wrapfig-lo .caption td.content, .wrapfig-ol .caption td.content {white-space: normal; }
+.wrapfig-r .caption, .wrapfig-ri .caption, .wrapfig-ir .caption, .wrapfig-ro .caption, .wrapfig-or .caption, .wrapfig-l .caption, .wrapfig-li .caption, .wrapfig-il .caption, .wrapfig-lo .caption, .wrapfig-ol .caption {width:30%; }
+
+/* end css.sty */
diff --git a/doc/html/user_21-5.html b/doc/html/user_21-5.html
new file mode 100644 (file)
index 0000000..61cc50f
--- /dev/null
@@ -0,0 +1,4412 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title>LILO
+Generic boot loader for Linux
+Version 21.5
+User&#8217;s guide</title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="Bluefish 2.2.3" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2013-06-07T14:16:51+0200" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+<div class="maketitle">
+
+
+
+<h2 class="titleHead">LILO<br />
+Generic boot loader for Linux<br />
+Version 21.5<br />
+&#x00A0;<br />
+User&#8217;s guide</h2>
+        <div class="author" ><span 
+class="cmr-12">Werner Almesberger</span>
+<br />         <span 
+class="cmr-12">John R. Coffman</span>
+<br /><span 
+class="cmti-12">(reconstructed by Joachim Wiedorn)</span></div>
+<br />
+<div class="date" ><span 
+class="cmr-12">July 17, 2000</span></div>
+</div>
+<h3 class="likesectionHead"><a 
+ id="x1-1000"></a>Contents</h3>
+<div class="tableofcontents">
+<span class="sectionToc" >1 <a 
+href="#x1-20001" id="QQ2-1-2">Overview</a></span>
+<br />&#x00A0;<span class="subsectionToc" >1.1 <a 
+href="#x1-30001.1" id="QQ2-1-3">Easy rules</a></span>
+<br />&#x00A0;<span class="subsectionToc" >1.2 <a 
+href="#x1-40001.2" id="QQ2-1-4">System overview</a></span>
+<br /><span class="sectionToc" >2 <a 
+href="#x1-50002" id="QQ2-1-5">Introduction</a></span>
+<br />&#x00A0;<span class="subsectionToc" >2.1 <a 
+href="#x1-60002.1" id="QQ2-1-6">Disk organization</a></span>
+<br />&#x00A0;<span class="subsectionToc" >2.2 <a 
+href="#x1-70002.2" id="QQ2-1-7">Booting basics</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >2.2.1 <a 
+href="#x1-80002.2.1" id="QQ2-1-8">MS-DOS alone</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >2.2.2 <a 
+href="#x1-90002.2.2" id="QQ2-1-9">LOADLIN</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >2.2.3 <a 
+href="#x1-100002.2.3" id="QQ2-1-10">LILO started by DOS-MBR</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >2.2.4 <a 
+href="#x1-110002.2.4" id="QQ2-1-11">Several alternate branches</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >2.2.5 <a 
+href="#x1-120002.2.5" id="QQ2-1-12">LILO started by <span 
+class="cmss-10x-x-109">BOOTACTV</span><span class="footnote-mark"><sup class="textsuperscript">1</sup></span></a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >2.2.6 <a 
+href="#x1-130002.2.6" id="QQ2-1-13">LILO alone</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >2.2.7 <a 
+href="#x1-140002.2.7" id="QQ2-1-14">Names</a></span>
+<br />&#x00A0;<span class="subsectionToc" >2.3 <a 
+href="#x1-150002.3" id="QQ2-1-15">Choosing the &#8220;right&#8221; boot concept</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >2.3.1 <a 
+href="#x1-160002.3.1" id="QQ2-1-16">BIOS restrictions</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >2.3.2 <a 
+href="#x1-170002.3.2" id="QQ2-1-17">One disk, Linux on a primary partition</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >2.3.3 <a 
+href="#x1-180002.3.3" id="QQ2-1-18">One disk, Linux on a logical partition</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >2.3.4 <a 
+href="#x1-190002.3.4" id="QQ2-1-19">Two disks, Linux (at least partially) on the first disk</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >2.3.5 <a 
+href="#x1-200002.3.5" id="QQ2-1-20">Two disks, Linux on second disk, first disk has an extended partition</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >2.3.6 <a 
+href="#x1-210002.3.6" id="QQ2-1-21">Two disks, Linux on second disk, first disk has no extended partition</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >2.3.7 <a 
+href="#x1-220002.3.7" id="QQ2-1-22">More than two disks</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >2.3.8 <a 
+href="#x1-230002.3.8" id="QQ2-1-23"><span 
+class="cmtt-10x-x-109">/boot </span>on a DOS partition</a></span>
+<br /><span class="sectionToc" >3 <a 
+href="#x1-240003" id="QQ2-1-24">The boot prompt</a></span>
+<br />&#x00A0;<span class="subsectionToc" >3.1 <a 
+href="#x1-250003.1" id="QQ2-1-25">Boot command-line options</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >3.1.1 <a 
+href="#x1-260003.1.1" id="QQ2-1-26">Standard options</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >3.1.2 <a 
+href="#x1-270003.1.2" id="QQ2-1-27">Device-specific options</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >3.1.3 <a 
+href="#x1-280003.1.3" id="QQ2-1-28">Other options</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >3.1.4 <a 
+href="#x1-290003.1.4" id="QQ2-1-29">Repeating options</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >3.1.5 <a 
+href="#x1-300003.1.5" id="QQ2-1-30">Implicit options</a></span>
+<br />&#x00A0;<span class="subsectionToc" >3.2 <a 
+href="#x1-310003.2" id="QQ2-1-31">Boot image selection</a></span>
+<br /><span class="sectionToc" >4 <a 
+href="#x1-320004" id="QQ2-1-32">Map installer</a></span>
+<br />&#x00A0;<span class="subsectionToc" >4.1 <a 
+href="#x1-330004.1" id="QQ2-1-33">Command-line options</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >4.1.1 <a 
+href="#x1-340004.1.1" id="QQ2-1-34">Show current installation</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >4.1.2 <a 
+href="#x1-350004.1.2" id="QQ2-1-35">Create or update map</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >4.1.3 <a 
+href="#x1-360004.1.3" id="QQ2-1-36">Change default command line</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >4.1.4 <a 
+href="#x1-370004.1.4" id="QQ2-1-37">Kernel name translation</a></span>
+
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >4.1.5 <a 
+href="#x1-380004.1.5" id="QQ2-1-38">De-installation</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >4.1.6 <a 
+href="#x1-390004.1.6" id="QQ2-1-39">Print version number</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >4.1.7 <a 
+href="#x1-400004.1.7" id="QQ2-1-40">Options corresponding to configuration variables</a></span>
+<br />&#x00A0;<span class="subsectionToc" >4.2 <a 
+href="#x1-410004.2" id="QQ2-1-41">Configuration</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >4.2.1 <a 
+href="#x1-420004.2.1" id="QQ2-1-42">Syntax</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >4.2.2 <a 
+href="#x1-430004.2.2" id="QQ2-1-43">Global options</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >4.2.3 <a 
+href="#x1-440004.2.3" id="QQ2-1-44">General per-image options</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >4.2.4 <a 
+href="#x1-450004.2.4" id="QQ2-1-45">Per-image options for kernels</a></span>
+<br />&#x00A0;<span class="subsectionToc" >4.3 <a 
+href="#x1-460004.3" id="QQ2-1-46">Boot image types</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >4.3.1 <a 
+href="#x1-470004.3.1" id="QQ2-1-47">Booting kernel images from a file</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >4.3.2 <a 
+href="#x1-480004.3.2" id="QQ2-1-48">Booting kernel images from a device</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >4.3.3 <a 
+href="#x1-490004.3.3" id="QQ2-1-49">Booting a foreign operating system</a></span>
+<br />&#x00A0;<span class="subsectionToc" >4.4 <a 
+href="#x1-500004.4" id="QQ2-1-50">Disk geometry</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >4.4.1 <a 
+href="#x1-510004.4.1" id="QQ2-1-51">Obtaining the geometry</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >4.4.2 <a 
+href="#x1-520004.4.2" id="QQ2-1-52">Specifying the geometry</a></span>
+<br />&#x00A0;<span class="subsectionToc" >4.5 <a 
+href="#x1-530004.5" id="QQ2-1-53">Partition table manipulation</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >4.5.1 <a 
+href="#x1-540004.5.1" id="QQ2-1-54">Partition activation</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >4.5.2 <a 
+href="#x1-550004.5.2" id="QQ2-1-55">Partition type change rules</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >4.5.3 <a 
+href="#x1-560004.5.3" id="QQ2-1-56">Partition type changes</a></span>
+<br />&#x00A0;<span class="subsectionToc" >4.6 <a 
+href="#x1-570004.6" id="QQ2-1-57">Keyboard translation</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >4.6.1 <a 
+href="#x1-580004.6.1" id="QQ2-1-58">Compiling keyboard translation tables</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >4.6.2 <a 
+href="#x1-590004.6.2" id="QQ2-1-59">Using keyboard translation tables</a></span>
+<br /><span class="sectionToc" >5 <a 
+href="#x1-600005" id="QQ2-1-60">Installation and updates</a></span>
+<br />&#x00A0;<span class="subsectionToc" >5.1 <a 
+href="#x1-610005.1" id="QQ2-1-61">Installation</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >5.1.1 <a 
+href="#x1-620005.1.1" id="QQ2-1-62">Compatibility</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >5.1.2 <a 
+href="#x1-630005.1.2" id="QQ2-1-63">Quick installation</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >5.1.3 <a 
+href="#x1-640005.1.3" id="QQ2-1-64">Files</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >5.1.4 <a 
+href="#x1-650005.1.4" id="QQ2-1-65">Normal first-time installation</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >5.1.5 <a 
+href="#x1-660005.1.5" id="QQ2-1-66">Build-time configuration</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >5.1.6 <a 
+href="#x1-670005.1.6" id="QQ2-1-67">Floppy disk installation</a></span>
+<br />&#x00A0;<span class="subsectionToc" >5.2 <a 
+href="#x1-680005.2" id="QQ2-1-68">Updates</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >5.2.1 <a 
+href="#x1-690005.2.1" id="QQ2-1-69">LILO update</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >5.2.2 <a 
+href="#x1-700005.2.2" id="QQ2-1-70">Kernel update</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >5.2.3 <a 
+href="#x1-710005.2.3" id="QQ2-1-71">System upgrade</a></span>
+<br />&#x00A0;<span class="subsectionToc" >5.3 <a 
+href="#x1-720005.3" id="QQ2-1-72">LILO de-installation</a></span>
+<br />&#x00A0;<span class="subsectionToc" >5.4 <a 
+href="#x1-730005.4" id="QQ2-1-73">Installation of other operating systems</a></span>
+<br /><span class="sectionToc" >6 <a 
+href="#x1-740006" id="QQ2-1-74">Troubleshooting</a></span>
+<br />&#x00A0;<span class="subsectionToc" >6.1 <a 
+href="#x1-750006.1" id="QQ2-1-75">Map installer warnings and errors</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >6.1.1 <a 
+href="#x1-760006.1.1" id="QQ2-1-76">Fatal errors</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >6.1.2 <a 
+href="#x1-770006.1.2" id="QQ2-1-77">Warnings</a></span>
+<br />&#x00A0;<span class="subsectionToc" >6.2 <a 
+href="#x1-780006.2" id="QQ2-1-78">Boot loader messages</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >6.2.1 <a 
+href="#x1-790006.2.1" id="QQ2-1-79">LILO start message</a></span>
+<br />&#x00A0;&#x00A0;<span class="subsubsectionToc" >6.2.2 <a 
+href="#x1-800006.2.2" id="QQ2-1-80">Disk error codes</a></span>
+<br />&#x00A0;<span class="subsectionToc" >6.3 <a 
+href="#x1-810006.3" id="QQ2-1-81">Other problems</a></span>
+</div>
+<!--l. 124--><p class="noindent" >&#x00A0;<br 
+class="newline" /><span 
+class="cmbx-10x-x-109">This document has only been partially updated and does reflect the status of Linux (until</span>
+<span 
+class="cmbx-10x-x-109">2.2.16) and of LILO</span><span 
+class="cmbx-10x-x-109">&#x00A0;(until 21.5) in the year 2000. </span>&#x00A0;<br 
+class="newline" />
+</p><!--l. 132--><p class="noindent" >
+</p>
+<h3 class="sectionHead"><span class="titlemark">1   </span> <a 
+ id="x1-20001"></a>Overview</h3>
+<!--l. 134--><p class="noindent" >LILO&#x00A0;is a versatile boot loader for Linux. It does not depend on a specific file system, can boot Linux kernel
+images from floppy disks and from hard disks and can even act as a &#8220;boot manager&#8221; for other operating
+systems.<span class="footnote-mark"><a 
+href="user_21-52.html#fn2x0"><sup class="textsuperscript">2</sup></a></span><a 
+ id="x1-2001f2"></a>
+
+</p><!--l. 141--><p class="noindent" >One of up to sixteen different images can be selected at boot time. Various parameters, such as the root
+device, can be set independently for each kernel. LILO&#x00A0;can even be used as the master boot
+record.
+</p><!--l. 146--><p class="noindent" >This document introduces the basics of disk organization and booting, continues with an overview of
+common boot techniques and finally describes installation and use of LILO&#x00A0;in greater detail. The
+troubleshooting section at the end describes diagnostic messages and contains suggestions for most problems
+that have been observed in the past.
+</p><!--l. 152--><p class="noindent" >Please read at least the sections about installation and configuration if you&#8217;re already using an older version
+of LILO. This distribution is accompanied by a file named <span 
+class="cmtt-10x-x-109">INCOMPAT </span>that describes further incompatibilities
+to older versions.
+</p><!--l. 157--><p class="noindent" >For the impatient: there is a quick-installation script to create a simple but quite usable installation. See
+section <a 
+href="#x1-630005.1.2">5.1.2<!--tex4ht:ref: quickinst --></a> for details.
+</p>
+<h4 class="subsectionHead"><span class="titlemark">1.1   </span> <a 
+ id="x1-30001.1"></a>Easy rules</h4>
+<!--l. 164--><p class="noindent" >But wait <span 
+class="cmmi-10x-x-109">&#x2026;</span> here are a few easy rules that will help you to avoid most problems people experience with
+LILO:
+</p>
+     <ul class="itemize1">
+     <li class="itemize"><span 
+class="cmbx-10x-x-109">Don&#8217;t panic. </span>If something doesn&#8217;t work, try to find out what is wrong, try to verify your
+     assumption and only then attempt to fix it.
+     </li>
+     <li class="itemize">Read the documentation. Especially if what the system does doesn&#8217;t correspond to what you
+     think it should do.
+     </li>
+     <li class="itemize">Make sure you have an emergency boot disk, that you know how to use it, and that it is always
+     kept up to date.
+     </li>
+     <li class="itemize">Run <span 
+class="cmtt-10x-x-109">/sbin/lilo </span><span 
+class="cmbx-10x-x-109">whenever </span>the kernel or any part of LILO, including its configuration file,
+     has changed. When in doubt, run it. You can&#8217;t run <span 
+class="cmtt-10x-x-109">/sbin/lilo </span>too many times.
+     </li>
+     <li class="itemize">If  performing  a  destructive  upgrade  and/or  erasing  your  Linux  partitions,  de-install
+     LILO&#x00A0;<span 
+class="cmbx-10x-x-109">before </span>that if using it as the MBR.
+     </li>
+     <li class="itemize">Don&#8217;t trust setup scripts. Always verify the <span 
+class="cmtt-10x-x-109">/etc/lilo.conf </span>they create before booting.
+     </li>
+     <li class="itemize">If using a big disk, be prepared for inconveniences: you may have to use the <span 
+class="cmtt-10x-x-109">linear </span>option.</li></ul>
+
+<!--l. 188--><p class="noindent" >
+</p>
+<h4 class="subsectionHead"><span class="titlemark">1.2   </span> <a 
+ id="x1-40001.2"></a>System overview</h4>
+<!--l. 190--><p class="noindent" >LILO&#x00A0;is a collection of several programs and other files:
+</p><!--l. 192--><p class="noindent" >
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmbx-10x-x-109">The map installer</span> </dt><dd 
+class="description">is the program you run under Linux to put all files belonging to LILO&#x00A0;at the
+     appropriate places and to record information about the location of data needed at boot time.
+     This program normally resides in <span 
+class="cmtt-10x-x-109">/sbin/lilo</span>. It has to be run to refresh that information
+     whenever any part of the system that LILO&#x00A0;knows about changes, e.g. after installing a new
+     kernel.
+     </dd><dt class="description">
+<span 
+class="cmbx-10x-x-109">Various files</span> </dt><dd 
+class="description">contain data LILO&#x00A0;needs at boot time, e.g. the boot loader. Those files normally reside
+     in <span 
+class="cmtt-10x-x-109">/boot</span>. The most important files are the boot loader (see below) and the map file (<span 
+class="cmtt-10x-x-109">/boot/map</span>),
+     where the map installer records the location of the kernel(s).<span class="footnote-mark"><a 
+href="user_21-53.html#fn3x0"><sup class="textsuperscript">3</sup></a></span><a 
+ id="x1-4001f3"></a>
+     Another important file is the configuration file, which is normally called <span 
+class="cmtt-10x-x-109">/etc/lilo.conf</span>
+     </dd><dt class="description">
+<span 
+class="cmbx-10x-x-109">The boot loader</span> </dt><dd 
+class="description">is the part of LILO&#x00A0;that is loaded by the BIOS and that loads kernels or the
+     boot sectors of other operating systems. It also provides a simple command-line interface to
+     interactively select the item to boot and to add boot options.</dd></dl>
+<!--l. 215--><p class="noindent" >LILO&#x00A0;primarily accesses the following parts of the system:
+</p><!--l. 217--><p class="noindent" >
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmbx-10x-x-109">The root file system partition</span> </dt><dd 
+class="description">is important for two reasons: first, LILO&#x00A0;sometimes has to tell
+     the kernel where to look for it. Second, it is frequently a convenient place for many other items
+     LILO&#x00A0;uses, such as the boot sector, the <span 
+class="cmtt-10x-x-109">/boot </span>directory, and the kernels.
+     </dd><dt class="description">
+<span 
+class="cmbx-10x-x-109">The boot sector</span> </dt><dd 
+class="description">contains the first part of LILO&#8217;s boot loader. It loads the much larger second-stage
+     loader. Both loaders are typically stored in the file <span 
+class="cmtt-10x-x-109">/boot/boot.b</span>
+     </dd><dt class="description">
+<span 
+class="cmbx-10x-x-109">The kernel</span> </dt><dd 
+class="description">is loaded and started by the boot loader. Kernels typically reside in the root directory
+     or in <span 
+class="cmtt-10x-x-109">/boot</span>.</dd></dl>
+<!--l. 229--><p class="noindent" >Note that many of the files LILO&#x00A0;needs at boot time have to be accessible with the BIOS. This creates
+certain restrictions, see section <a 
+href="#x1-160002.3.1">2.3.1<!--tex4ht:ref: broken --></a>.
+</p><!--l. 233--><p class="noindent" >
+
+</p>
+<h3 class="sectionHead"><span class="titlemark">2   </span> <a 
+ id="x1-50002"></a>Introduction</h3>
+<!--l. 236--><p class="noindent" >The following sections describe how PCs boot in general and what has to be known when booting Linux
+and using LILO&#x00A0;in particular.
+</p><!--l. 241--><p class="noindent" >
+</p>
+<h4 class="subsectionHead"><span class="titlemark">2.1   </span> <a 
+ id="x1-60002.1"></a>Disk organization</h4>
+<!--l. 244--><p class="noindent" >When designing a boot concept, it is important to understand some of the subtleties of how
+PCs typically organize disks. The most simple case are floppy disks. They consist of a boot
+sector, some administrative data (FAT or super block, etc.) and the data area. Because that
+administrative data is irrelevant as far as booting is concerned, it is regarded as part of the data area for
+simplicity.
+</p><!--l. 251--><p class="noindent" >
+</p>
+<center class="math-display" >
+<img 
+src="user_21-50x.png" alt="|------------|----------------------|
+|-Boot-sector--                      |
+|                                   |
+|             Data area             |
+|                                   |
+ ------------------------------------
+" class="math-display"  /></center>
+<!--l. 271--><p class="noindent" >The entire disk appears as one device (e.g. <span 
+class="cmtt-10x-x-109">/dev/fd0</span>) on Linux.
+</p><!--l. 273--><p class="noindent" >The MS-DOS boot sector has the following structure:
+</p><!--l. 275--><p class="noindent" >
+</p>
+<center class="math-display" >
+<img 
+src="user_21-51x.png" alt="       0x000 |Jump--to-the-program--code-|
+             |--------------------------|
+       0x003 |                          |
+             |     Disk parameters      |
+             |--------------------------|
+0x02C/0x03E  |                          |
+             |      Program  code       |
+             |                          |
+             |                          |
+       0x1FE |-Magic-number--(0xAA55-)--|
+             ---------------------------|
+" class="math-display"  /></center>
+<!--l. 308--><p class="noindent" >LILO&#x00A0;uses a similar boot sector, but it does not contain the disk parameters part. This is no problem for
+Minix, Ext2 or similar file systems, because they don&#8217;t look at the boot sector, but putting a LILO&#x00A0;boot
+sector on an MS-DOS file system would make it inaccessible for MS-DOS.
+</p><!--l. 314--><p class="noindent" >Hard disks are organized in a more complex way than floppy disks. They contain several data areas called
+partitions. Up to four so-called primary partitions can exist on an MS-DOS hard disk. If more partitions are
+needed, one primary partition is used as an extended partition that contains several logical
+partitions.
+</p><!--l. 320--><p class="noindent" >The first sector of each hard disk contains a partition table, and an extended partition and <span 
+class="cmbx-10x-x-109">each </span>logical
+partition contains a partition table too.
+</p><!--l. 324--><p class="noindent" >
+</p>
+<center class="math-display" >
+<img 
+src="user_21-52x.png" alt="|------------------------------------------|
+|Partition table                  /dev/hda   |
+| |Partition-1-------------------/dev/hda1--|
+| |                                        |
+| |----------------------------------------|
+| |Partition 2                   /dev/hda2  |
+--------------------------------------------
+" class="math-display"  /></center>
+<!--l. 347--><p class="noindent" >The entire disk can be accessed as <span 
+class="cmtt-10x-x-109">/dev/hda</span>, <span 
+class="cmtt-10x-x-109">/dev/hdb</span>, <span 
+class="cmtt-10x-x-109">/dev/sda</span>, etc. The primary partitions are
+<span 
+class="cmtt-10x-x-109">/dev/hda1</span> <span 
+class="cmmi-10x-x-109">&#x2026;</span> <span 
+class="cmtt-10x-x-109">/dev/hda4</span>.
+</p><!--l. 351--><p class="noindent" >
+</p>
+
+<center class="math-display" >
+<img 
+src="user_21-53x.png" alt="|------------------------------------------|
+|Partition-table------------------/dev/hda---|
+| |Partition 1                   /dev/hda1  |
+| |----------------------------------------|
+| |Partition 2                   /dev/hda2  |
+| |                                        |
+| |Extended--partition------------/dev/hda3--|
+| | |--------------------------------------|
+| | |Extended--partition-table---------------|
+| | |Partition 3                 /dev/hda5  |
+| | |--------------------------------------|
+| | |Extended--partition-table---------------|
+| | |Partition 4                 /dev/hda6  |
+| | |                                      |
+--------------------------------------------
+" class="math-display"  /></center>
+<!--l. 398--><p class="noindent" >This hard disk has two primary partitions and an extended partition that contains two logical partitions.
+They are accessed as <span 
+class="cmtt-10x-x-109">/dev/hda5</span> <span 
+class="cmmi-10x-x-109">&#x2026;</span>
+</p><!--l. 402--><p class="noindent" >Note that the partition tables of logical partitions are not accessible as the first blocks of some devices,
+while the main partition table, all boot sectors and the partition tables of extended partitions
+are.
+</p><!--l. 406--><p class="noindent" >Partition tables are stored in partition boot sectors. Normally, only the partition boot sector of the entire
+disk is used as a boot sector. It is also frequently called the master boot record (MBR). Its structure is as
+follows:
+</p><!--l. 411--><p class="noindent" >
+</p>
+<center class="math-display" >
+<img 
+src="user_21-54x.png" alt="       |------------------------|
+0x000  |                        |
+       |     Program code       |
+       |                        |
+       |------------------------|
+0x1BE  |     Partition table     |
+       |                        |
+       |------------------------|
+0x1FE  -Magic-number--(0xAA55--)--
+" class="math-display"  /></center>
+<!--l. 438--><p class="noindent" >The LILO&#x00A0;boot sector is designed to be usable as a partition boot sector. (I.e. there is room for the
+partition table.) Therefore, the LILO&#x00A0;boot sector can be stored at the following locations:
+</p>
+
+     <ul class="itemize1">
+     <li class="itemize">boot sector of a Linux floppy disk. (<span 
+class="cmtt-10x-x-109">/dev/fd0</span>, <span 
+class="cmmi-10x-x-109">&#x2026;</span>)
+     </li>
+     <li class="itemize">MBR of the first hard disk. (<span 
+class="cmtt-10x-x-109">/dev/hda</span>, <span 
+class="cmtt-10x-x-109">/dev/sda</span>, <span 
+class="cmmi-10x-x-109">&#x2026;</span>)
+     </li>
+     <li class="itemize">boot sector of a primary Linux file system partition on the first hard disk. (<span 
+class="cmtt-10x-x-109">/dev/hda1</span>, <span 
+class="cmmi-10x-x-109">&#x2026;</span>)
+     </li>
+     <li class="itemize">partition boot sector of an extended partition on the first hard disk. (<span 
+class="cmtt-10x-x-109">/dev/hda1</span>, <span 
+class="cmmi-10x-x-109">&#x2026;</span>)<span class="footnote-mark"><a 
+href="user_21-54.html#fn4x0"><sup class="textsuperscript">4</sup></a></span><a 
+ id="x1-6001f4"></a></li></ul>
+<!--l. 455--><p class="noindent" >It <span 
+class="cmbx-10x-x-109">can&#8217;t </span>be stored at any of the following locations:
+</p>
+     <ul class="itemize1">
+     <li class="itemize">boot sector of a non-Linux floppy disk or primary partition.
+     </li>
+     <li class="itemize">a Linux swap partition.
+     </li>
+     <li class="itemize">boot sector of a logical partition in an extended partition.<span class="footnote-mark"><a 
+href="user_21-55.html#fn5x0"><sup class="textsuperscript">5</sup></a></span><a 
+ id="x1-6002f5"></a>
+     </li>
+     <li class="itemize">on the second hard disk. (Unless for backup installations, if the current first disk will be removed
+     or disabled, or if some other boot loader is used, that is capable of loading boot sectors from
+     other drives.)</li></ul>
+<!--l. 471--><p class="noindent" >Although LILO&#x00A0;tries to detect attempts to put its boot sector at an invalid location, you should not rely on
+that.
+</p><!--l. 475--><p class="noindent" >
+</p>
+<h4 class="subsectionHead"><span class="titlemark">2.2   </span> <a 
+ id="x1-70002.2"></a>Booting basics</h4>
+<!--l. 477--><p class="noindent" >When booting from a floppy disk, the first sector of the disk, the so-called boot sector, is loaded. That boot
+sector contains a small program that loads the respective operating system. MS-DOS boot sectors also
+contain a data area, where disk and file system parameters (cluster size, number of sectors, number of
+heads, etc.) are stored.
+</p><!--l. 483--><p class="noindent" >When booting from a hard disk, the very first sector of that disk, the so-called master boot
+record (MBR) is loaded. This sector contains a loader program and the partition table of the
+disk. The loader program usually loads the boot sector, as if the system was booting from a
+floppy.
+
+</p><!--l. 488--><p class="noindent" >Note that there is no functional difference between the MBR and the boot sector other than that the MBR
+contains the partition information but doesn&#8217;t contain any file system-specific information (e.g. MS-DOS
+disk parameters).
+</p><!--l. 493--><p class="noindent" >The first 446 (0x1BE) bytes of the MBR are used by the loader program. They are followed by the partition
+table, with a length of 64 (0x40) bytes. The last two bytes contain a magic number that is sometimes used
+to verify that a given sector really is a boot sector.
+</p><!--l. 498--><p class="noindent" >There is a large number of possible boot configurations. The most common ones are described in the
+following sections.
+</p><!--l. 502--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">2.2.1   </span> <a 
+ id="x1-80002.2.1"></a>MS-DOS alone</h5>
+<!--l. 504--><p class="noindent" >
+</p>
+<center class="math-display" >
+<img 
+src="user_21-55x.png" alt="|--------------------------------------------------------|
+|Master-Boot-Record-Boot-sector---------Operating system--|
+-DOS--MBR--------&#x2192;----MS--DOS--------&#x2192;----COMMAND.COM--------
+" class="math-display"  /></center>
+<!--l. 511--><p class="noindent" >This is what usually happens when MS-DOS boots from a hard disk: the DOS-MBR determines the active
+partition and loads the MS-DOS boot sector. This boot sector loads MS-DOS and finally passes control to
+<span 
+class="cmtt-10x-x-109">COMMAND.COM</span>. (This is greatly simplified.)
+</p><!--l. 517--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">2.2.2   </span> <a 
+ id="x1-90002.2.2"></a>LOADLIN</h5>
+<!--l. 520--><p class="noindent" >
+</p>
+
+<center class="math-display" >
+<img 
+src="user_21-56x.png" alt="|--------------------------------------------------------------|
+|MasterBoot-Record-Boot--sector-------Operating-systems-----------
+|DOS -MBR  ----&#x2192;   MS  -DOS  --- -&#x2192;   COMMAND.COM
+---------------&#x2192;---LOADLIN-------&#x2192;---Linux----------------------
+" class="math-display"  /></center>
+<!--l. 528--><p class="noindent" >A typical <span 
+class="cmss-10x-x-109">LOADLIN </span>setup: everything happens like when booting MS-DOS, but in <span 
+class="cmtt-10x-x-109">CONFIG.SYS </span>or
+<span 
+class="cmtt-10x-x-109">AUTOEXEC.BAT</span>, LOADLIN is invoked. Typically, a program like <span 
+class="cmtt-10x-x-109">BOOT.SYS </span>is used to choose among
+configuration sections in <span 
+class="cmtt-10x-x-109">CONFIG.SYS </span>and <span 
+class="cmtt-10x-x-109">AUTOEXEC.BAT</span>. This approach has the pleasant property that no
+boot sectors have to be altered.
+</p><!--l. 535--><p class="noindent" >Please refer to the documentation accompanying the LOADLIN package for installation instructions and
+further details.
+</p><!--l. 539--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">2.2.3   </span> <a 
+ id="x1-100002.2.3"></a>LILO&#x00A0;started by DOS-MBR</h5>
+<!--l. 542--><p class="noindent" >
+</p>
+<center class="math-display" >
+<img 
+src="user_21-57x.png" alt="|--------------------------------------------------------|
+|Master Boot Record Boot sector        Operating system   |
+|DOS---MBR-------&#x2192;---LILO-----------&#x2192;---Linux-------------|
+|                                                        |
+----------------&#x2192;---other-OS-----------------------------
+" class="math-display"  /></center>
+<!--l. 550--><p class="noindent" >This is a &#8220;safe&#8221; LILO&#x00A0;setup: LILO&#x00A0;is booted by the DOS-MBR. No other boot sectors have to be touched.
+If the other OS (or one of them, if there are several other operating systems being used) should
+be booted without using LILO, the other partition has to be marked &#8220;active&#8221; with <span 
+class="cmss-10x-x-109">fdisk </span>or
+<span 
+class="cmss-10x-x-109">activate</span>.
+</p><!--l. 556--><p class="noindent" >Installation: </p>
+     <ul class="itemize1">
+     <li class="itemize">install LILO&#x00A0;with its boot sector on the Linux partition.
+     </li>
+     <li class="itemize">use <span 
+class="cmss-10x-x-109">fdisk </span>or <span 
+class="cmss-10x-x-109">activate </span>to make that partition active.
+     </li>
+     <li class="itemize">reboot.</li></ul>
+
+<!--l. 563--><p class="noindent" >Deinstallation: </p>
+     <ul class="itemize1">
+     <li class="itemize">make a different partition active.
+     </li>
+     <li class="itemize">install whatever should replace LILO&#x00A0;and/or Linux.</li></ul>
+<!--l. 570--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">2.2.4   </span> <a 
+ id="x1-110002.2.4"></a>Several alternate branches</h5>
+<!--l. 575--><p class="noindent" >
+</p>
+<center class="math-display" >
+<img 
+src="user_21-58x.png" alt="|--------------------------------------------------------------|
+|MasterBoot-Record-Boot--sector-------Operating-systems-----------
+|DOS -MBR  ----&#x2192;   MS  -DOS  --- -&#x2192;   COMMAND.COM
+|             -&#x2192;   LOADLIN    ---&#x2192;   Linux
+|             -&#x2192;   LILO  ----- --&#x2192;   Linux
+---------------&#x2192;---MS---DOS--&#8212;--&#x22C5;&#x22C5;&#x22C5;------------------------------
+" class="math-display"  /></center>
+<!--l. 585--><p class="noindent" >An extended form of the above setup: the MBR is not changed and both branches can either boot Linux or
+MS-DOS. (LILO&#x00A0;could also boot other operating systems.)
+</p><!--l. 590--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">2.2.5   </span> <a 
+ id="x1-120002.2.5"></a>LILO&#x00A0;started by <span 
+class="cmss-10x-x-109">BOOTACTV</span><span class="footnote-mark"><a 
+href="user_21-56.html#fn6x0"><sup class="textsuperscript">6</sup></a></span></h5>
+<!--l. 593--><p class="noindent" ><a 
+ id="x1-12001f6"></a>
+</p><!--l. 596--><p class="noindent" >
+
+</p>
+<center class="math-display" >
+<img 
+src="user_21-59x.png" alt="|--------------------------------------------------------|
+|Master-Boot-Record-Boot-sector--------Operating-system---|
+|BOOTACTV     --&#x2192;   LILO  ------- -&#x2192;   Linux             |
+|             - &#x2192;   other OS
+---------------------------------------------------------
+" class="math-display"  /></center>
+<!--l. 604--><p class="noindent" >Here, the MBR is replaced by <span 
+class="cmss-10x-x-109">BOOTACTV </span>(or any other interactive boot partition
+selector) and the choice between Linux and the other operating system(s) can be made
+at boot time. This approach should be used if LILO&#x00A0;fails to boot the other operating
+system(s).<span class="footnote-mark"><a 
+href="user_21-57.html#fn7x0"><sup class="textsuperscript">7</sup></a></span><a 
+ id="x1-12002f7"></a>
+</p><!--l. 612--><p class="noindent" >Installation: </p>
+     <ul class="itemize1">
+     <li class="itemize">boot Linux.
+     </li>
+     <li class="itemize">make a backup copy of your MBR on a floppy disk, e.g. <br 
+class="newline" /><span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">dd</span><span 
+class="cmtt-10x-x-109">&#x00A0;if=/dev/hda</span><span 
+class="cmtt-10x-x-109">&#x00A0;of=/fd/MBR</span><span 
+class="cmtt-10x-x-109">&#x00A0;bs=512</span><span 
+class="cmtt-10x-x-109">&#x00A0;count=1</span></span></span>
+     </li>
+     <li class="itemize">install LILO&#x00A0;with the boot sector on the Linux partition.
+     </li>
+     <li class="itemize">install <span 
+class="cmss-10x-x-109">BOOTACTV </span>as the MBR, e.g. <br 
+class="newline" /><span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">dd</span><span 
+class="cmtt-10x-x-109">&#x00A0;if=bootactv.bin</span><span 
+class="cmtt-10x-x-109">&#x00A0;of=/dev/hda</span><span 
+class="cmtt-10x-x-109">&#x00A0;bs=446</span><span 
+class="cmtt-10x-x-109">&#x00A0;count=1</span></span></span>
+     </li>
+     <li class="itemize">reboot.</li></ul>
+<!--l. 623--><p class="noindent" >Deinstallation: </p>
+     <ul class="itemize1">
+     <li class="itemize">boot Linux.
+     </li>
+     <li class="itemize">restore the old MBR, e.g. <br 
+class="newline" /><span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">dd</span><span 
+class="cmtt-10x-x-109">&#x00A0;if=/MBR</span><span 
+class="cmtt-10x-x-109">&#x00A0;of=/dev/hda</span><span 
+class="cmtt-10x-x-109">&#x00A0;bs=446</span><span 
+class="cmtt-10x-x-109">&#x00A0;count=1</span></span></span> <br 
+class="newline" />or <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">FDISK</span><span 
+class="cmtt-10x-x-109">&#x00A0;/MBR</span></span></span> under MS-DOS.</li></ul>
+<!--l. 631--><p class="noindent" >If replacing the MBR appears undesirable and if a second Linux partition exists (e.g. <span 
+class="cmtt-10x-x-109">/usr</span>,
+<span 
+class="cmbx-10x-x-109">not </span>a swap partition), <span 
+class="cmss-10x-x-109">BOOTACTV </span>can be merged with the partition table and stored as the
+
+&#8220;boot sector&#8221; of that partition. Then, the partition can be marked active to be booted by the
+DOS-MBR.
+</p><!--l. 637--><p class="noindent" >Example:
+
+</p>
+<div class="verbatim" id="verbatim-1">
+#&#x00A0;dd&#x00A0;if=/dev/hda&#x00A0;of=/dev/hda3&#x00A0;bs=512&#x00A0;count=1
+&#x00A0;<br />#&#x00A0;dd&#x00A0;if=bootactv.bin&#x00A0;of=/dev/hda3&#x00A0;bs=446&#x00A0;count=1</div>
+<!--l. 641--><p class="nopar" >
+</p><!--l. 643--><p class="noindent" ><span 
+class="cmbx-10x-x-109">WARNING: </span>Whenever the disk is re-partitioned, the merged boot sector on that &#8220;spare&#8221; Linux partition
+has to be updated too.
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">2.2.6   </span> <a 
+ id="x1-130002.2.6"></a>LILO&#x00A0;alone</h5>
+<!--l. 650--><p class="noindent" >
+</p>
+<center class="math-display" >
+<img 
+src="user_21-510x.png" alt="|------------------------------------|
+|MasterBoot-Record-Operating-system--|
+|LILO --- -----&#x2192;   Linux             |
+|             -&#x2192;   other OS          |
+--------------------------------------
+" class="math-display"  /></center>
+<!--l. 658--><p class="noindent" >LILO&#x00A0;can also take over the entire boot procedure. If installed as the MBR, LILO&#x00A0;is responsible for either
+booting Linux or any other OS. This approach has the disadvantage, that the old MBR is overwritten and
+has to be restored (either from a backup copy, with <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">FDISK</span><span 
+class="cmtt-10x-x-109">&#x00A0;/MBR</span></span></span> on recent versions of MS-DOS or
+by overwriting it with something like <span 
+class="cmss-10x-x-109">BOOTACTV</span>) if Linux should ever be removed from the
+system.
+</p><!--l. 665--><p class="noindent" >You should verify that LILO&#x00A0;is able to boot your other operating system(s) before relying on this
+method.
+</p><!--l. 668--><p class="noindent" >Installation: </p>
+     <ul class="itemize1">
+     <li class="itemize">boot Linux.
+     </li>
+     <li class="itemize">make a backup copy of your MBR on a floppy disk, e.g. <br 
+class="newline" /><span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">dd</span><span 
+class="cmtt-10x-x-109">&#x00A0;if=/dev/hda</span><span 
+class="cmtt-10x-x-109">&#x00A0;of=/fd/MBR</span><span 
+class="cmtt-10x-x-109">&#x00A0;bs=512</span><span 
+class="cmtt-10x-x-109">&#x00A0;count=1</span></span></span>
+     </li>
+     <li class="itemize">install LILO&#x00A0;with its boot sector as the MBR.
+
+     </li>
+     <li class="itemize">reboot.</li></ul>
+<!--l. 677--><p class="noindent" >Deinstallation: </p>
+     <ul class="itemize1">
+     <li class="itemize">boot Linux.
+     </li>
+     <li class="itemize">restore the old MBR, e.g. <br 
+class="newline" /><span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">dd</span><span 
+class="cmtt-10x-x-109">&#x00A0;if=/fd/MBR</span><span 
+class="cmtt-10x-x-109">&#x00A0;of=/dev/hda</span><span 
+class="cmtt-10x-x-109">&#x00A0;bs=446</span><span 
+class="cmtt-10x-x-109">&#x00A0;count=1</span></span></span></li></ul>
+<!--l. 684--><p class="noindent" >If you&#8217;ve installed LILO&#x00A0;as the master boot record, you have to explicitly specify the boot sector
+(configuration variable <span 
+class="cmtt-10x-x-109">boot=</span><span 
+class="cmmi-10x-x-109">&#x2026;</span>) when updating the map. Otherwise, it will try to use the boot sector of
+your current root partition, which will usually work, but it will probably leave your system
+unbootable.
+</p><!--l. 691--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">2.2.7   </span> <a 
+ id="x1-140002.2.7"></a>Names</h5>
+<!--l. 693--><p class="noindent" >The following names have been used to describe boot sectors or parts of operating systems:
+</p><!--l. 696--><p class="noindent" >
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmbx-10x-x-109">&#8220;DOS-MBR&#8221;</span> </dt><dd 
+class="description">is the original MS-DOS MBR. It scans the partition table for a partition that is
+     marked &#8220;active&#8221; and loads the boot sector of that partition. Programs like MS-DOS&#8217; <span 
+class="cmss-10x-x-109">FDISK</span>,
+     Linux <span 
+class="cmss-10x-x-109">fdisk </span>or <span 
+class="cmss-10x-x-109">activate </span>(accompanies LILO) can change the active marker in the partition table.
+     </dd><dt class="description">
+<span 
+class="cmbx-10x-x-109">&#8220;MS-DOS&#8221;</span> </dt><dd 
+class="description">denotes the MS-DOS boot sector that loads the other parts of the system (<span 
+class="cmtt-10x-x-109">IO.SYS</span>,
+     etc.).
+     </dd><dt class="description">
+<span 
+class="cmbx-10x-x-109">&#8220;COMMAND.COM&#8221;</span> </dt><dd 
+class="description">is the standard command interpreter of MS-DOS.
+     </dd><dt class="description">
+<span 
+class="cmbx-10x-x-109">&#8220;LOADLIN&#8221;</span> </dt><dd 
+class="description">is a program that loads a Linux kernel image from an MS-DOS partition into memory
+     and executes it. It is usually invoked from <span 
+class="cmtt-10x-x-109">CONFIG.SYS </span>and is used in combination with a
+     <span 
+class="cmtt-10x-x-109">CONFIG.SYS </span>configuration switcher, like BOOT.SYS.<span class="footnote-mark"><a 
+href="user_21-58.html#fn8x0"><sup class="textsuperscript">8</sup></a></span><a 
+ id="x1-14001f8"></a>
+     </dd><dt class="description">
+<span 
+class="cmbx-10x-x-109">&#8220;LILO&#8221;</span> </dt><dd 
+class="description">can either load a Linux kernel or the boot sector of any other operating system. It has a first
+
+     stage boot sector that loads the remaining parts of LILO&#x00A0;from various locations.<span class="footnote-mark"><a 
+href="user_21-59.html#fn9x0"><sup class="textsuperscript">9</sup></a></span><a 
+ id="x1-14002f9"></a>
+     </dd><dt class="description">
+<span 
+class="cmbx-10x-x-109">&#8220;BOOTACTV&#8221;</span> </dt><dd 
+class="description">permits interactive selection of the partition from which the boot sector should
+     be read. If no key is pressed within a given interval, the partition marked active is booted.
+     <span 
+class="cmss-10x-x-109">BOOTACTV </span>is included in the <span 
+class="cmss-10x-x-109">pfdisk </span>package. There are also several similar programs, like
+     PBOOT and OS-BS.<span class="footnote-mark"><a 
+href="user_21-510.html#fn10x0"><sup class="textsuperscript">10</sup></a></span><a 
+ id="x1-14003f10"></a></dd></dl>
+<!--l. 739--><p class="noindent" >
+</p>
+<h4 class="subsectionHead"><span class="titlemark">2.3   </span> <a 
+ id="x1-150002.3"></a>Choosing the &#8220;right&#8221; boot concept</h4>
+<!--l. 741--><p class="noindent" >Although LILO&#x00A0;can be installed in many different ways, the choice is usually limited by the present
+setup and therefore, typically only a small number of configurations which fit naturally into an
+existing system remains. The following sections describe various possible cases. See also section
+<a 
+href="#x1-160002.3.1">2.3.1<!--tex4ht:ref: broken --></a>.
+</p><!--l. 747--><p class="noindent" >The configuration file <span 
+class="cmtt-10x-x-109">/etc/lilo.conf </span>for the examples could look like this:
+
+</p>
+<div class="verbatim" id="verbatim-2">
+boot&#x00A0;=&#x00A0;/dev/hda2
+&#x00A0;<br />compact
+&#x00A0;<br />image&#x00A0;=&#x00A0;/vmlinuz
+&#x00A0;<br />image&#x00A0;=&#x00A0;/vmlinuz.old
+&#x00A0;<br />other&#x00A0;=&#x00A0;/dev/hda1
+&#x00A0;<br />&#x00A0;&#x00A0;table&#x00A0;=&#x00A0;/dev/hda
+&#x00A0;<br />&#x00A0;&#x00A0;label&#x00A0;=&#x00A0;msdos</div>
+<!--l. 758--><p class="nopar" >
+</p><!--l. 760--><p class="noindent" >It installs a Linux kernel image (<span 
+class="cmtt-10x-x-109">/vmlinuz</span>), an alternate Linux kernel image (<span 
+class="cmtt-10x-x-109">/vmlinuz.old</span>) and a chain
+loader to boot MS-DOS from <span 
+class="cmtt-10x-x-109">/dev/hda1</span>. The option <span 
+class="cmtt-10x-x-109">compact </span>on the second line instructs the map installer
+to optimize loading.
+</p><!--l. 765--><p class="noindent" >In all examples, the names of the IDE-type hard disk devices (<span 
+class="cmtt-10x-x-109">/dev/hda</span><span 
+class="cmmi-10x-x-109">&#x2026;</span>) are used. Everything applies to
+other disk types (e.g. SCSI disks; <span 
+class="cmtt-10x-x-109">/dev/sda</span><span 
+class="cmmi-10x-x-109">&#x2026;</span>) too.
+</p><!--l. 770--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">2.3.1   </span> <a 
+ id="x1-160002.3.1"></a>BIOS restrictions</h5>
+<!--l. 773--><p class="noindent" >Nowadays, an increasing number of systems is equipped with comparably large disks or even with
+multiple disks. At the time the disk interface of the standard PC BIOS has been designed (about
+16 years ago), such configurations were apparently considered to be too unlikely to be worth
+supporting.
+</p><!--l. 778--><p class="noindent" >The most common BIOS restrictions that affect LILO&#x00A0;are the limitation to two hard disks and the inability
+to access more than 1024 cylinders per disk. LILO&#x00A0;can detect both conditions, but in order to work around
+the underlying problems, manual intervention is necessary.
+</p><!--l. 783--><p class="noindent" >The drive limit does not exist in every BIOS. Some modern motherboards and disk controllers
+are equipped with a BIOS that supports more (typically four) disk drives. When attempting
+to access the third, fourth, etc. drive, LILO&#x00A0;prints a warning message but continues. Unless
+the BIOS really supports more than two drives, the system will <span 
+class="cmbx-10x-x-109">not </span>be able to boot in that
+case.<span class="footnote-mark"><a 
+href="user_21-511.html#fn11x0"><sup class="textsuperscript">11</sup></a></span><a 
+ id="x1-16001f11"></a>
+</p><!--l. 792--><p class="noindent" >The cylinder limit is a very common problem with IDE disks. There, the number of cylinders may already
+exceed 1024 if the drive has a capacity of more than 504 MB. Many SCSI driver BIOSes present the disk
+geometry in a way that makes the limit occur near 1 GB. Modern disk controllers may even push
+
+the limit up to about 8 GB. All cylinders beyond the 1024th are inaccessible for the BIOS.
+LILO&#x00A0;detects this problem and aborts the installation (unless the <span 
+class="cmtt-10x-x-109">linear </span>option is used, see section
+<a 
+href="#x1-430004.2.2">4.2.2<!--tex4ht:ref: cfgglo --></a>).
+</p><!--l. 801--><p class="noindent" >Note that large partitions that only partially extend into the &#8220;forbidden zone&#8221; are still in jeopardy even
+if they appear to work at first, because the file system does not know about the restrictions
+and may allocate disk space from the area beyond the 1024th cylinder when installing new
+kernels. LILO&#x00A0;therefore prints a warning message but continues as long as no imminent danger
+exists.
+</p><!--l. 808--><p class="noindent" >There are four approaches of how such problems can be solved: </p>
+     <ul class="itemize1">
+     <li class="itemize">use of a different partition which is on an accessible disk and which does not exceed the 1024
+     cylinder limit. If there is only a DOS partition which fulfills all the criteria, that partition can
+     be used to store the relevant files. (See section <a 
+href="#x1-230002.3.8">2.3.8<!--tex4ht:ref: viados --></a>.)
+     </li>
+     <li class="itemize">rearranging partitions and disks. This is typically a destructive operation, so extra care should
+     be taken to make good backups.
+     </li>
+     <li class="itemize">if the system is running DOS or Windows 95, <span 
+class="cmss-10x-x-109">LOADLIN </span>can be used instead of LILO.
+     </li>
+     <li class="itemize">if all else fails, installation of a more capable BIOS, a different controller or a different disk
+     configuration.</li></ul>
+<!--l. 822--><p class="noindent" >LILO&#x00A0;depends on the BIOS to load the following items: </p>
+     <ul class="itemize1">
+     <li class="itemize"><span 
+class="cmtt-10x-x-109">/boot/boot.b</span>
+     </li>
+     <li class="itemize"><span 
+class="cmtt-10x-x-109">/boot/map </span>(created when running <span 
+class="cmtt-10x-x-109">/sbin/lilo</span>)
+     </li>
+     <li class="itemize">all kernels
+     </li>
+     <li class="itemize">the boot sectors of all other operating systems it boots
+     </li>
+     <li class="itemize">the startup message, if one has been defined</li></ul>
+<!--l. 831--><p class="noindent" >Normally, this implies that the Linux root file system should be in the &#8220;safe&#8221; area. However, it is already
+sufficient to put all kernels into <span 
+class="cmtt-10x-x-109">/boot </span>and to either mount a &#8220;good&#8221; partition on <span 
+class="cmtt-10x-x-109">/boot </span>or to let <span 
+class="cmtt-10x-x-109">/boot </span>be a
+symbolic link pointing to or into such a partition.
+</p><!--l. 837--><p class="noindent" >See also <span 
+class="cmtt-10x-x-109">/usr/src/linux/Documentation/ide.txt </span>(or <span 
+class="cmtt-10x-x-109">/usr/src/linux/drivers/block/README.ide </span>in
+older kernels) for a detailed description of problems with large disks.
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">2.3.2   </span> <a 
+ id="x1-170002.3.2"></a>One disk, Linux on a primary partition</h5>
+
+<!--l. 844--><p class="noindent" >If at least one primary partition of the first hard disk is used as a Linux file system (<span 
+class="cmtt-10x-x-109">/</span>, <span 
+class="cmtt-10x-x-109">/usr</span>, etc. but <span 
+class="cmbx-10x-x-109">not </span>as
+a swap partition), the LILO&#x00A0;boot sector should be stored on that partition and it should be booted by the
+original master boot record or by a program like <span 
+class="cmss-10x-x-109">BOOTACTV</span>.
+</p><!--l. 851--><p class="noindent" >
+</p>
+<center class="math-display" >
+<img 
+src="user_21-511x.png" alt="   |------------------------|
+   |MBR----------/dev/hda---|
+   | |MS--DOS----/dev/hda1--|
+&#x2192;  ---Linux-/----/dev/hda2---
+" class="math-display"  /></center>
+<!--l. 870--><p class="noindent" >In this example, the <span 
+class="cmtt-10x-x-109">boot </span>variable could be omitted, because the boot sector is on the root
+partition.
+</p><!--l. 874--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">2.3.3   </span> <a 
+ id="x1-180002.3.3"></a>One disk, Linux on a logical partition</h5>
+<!--l. 876--><p class="noindent" >If no primary partition is available for Linux, but at least one logical partition of an extended partition on
+the first hard disk contains a Linux file system, the LILO&#x00A0;boot sector should be stored in the partition
+sector of the extended partition and it should be booted by the original master boot record or by a program
+like <span 
+class="cmss-10x-x-109">BOOTACTV</span>.
+</p><!--l. 882--><p class="noindent" >
+</p>
+<center class="math-display" >
+<img 
+src="user_21-512x.png" alt="   |------------------------|
+   |MBR----------/dev/hda---|
+   | |MS -DOS    /dev/hda1  |
+&#x2192;  | |Extended---/dev/hda2--|
+   | |  |Linux---/dev/hda5--|
+   | |  |-------------------|
+   ------...-----/dev/hda6---
+" class="math-display"  /></center>
+
+<!--l. 909--><p class="noindent" >Because many disk partitioning programs refuse to make an extended partition (in our example <span 
+class="cmtt-10x-x-109">/dev/hda2</span>)
+active, you might have to use <span 
+class="cmss-10x-x-109">activate</span>, which comes with the LILO&#x00A0;distribution.
+</p><!--l. 913--><p class="noindent" >OS/2 BootManager should be able to boot LILO&#x00A0;boot sectors from logical partitions. The installation on
+the extended partition itself is not necessary in this case.
+</p><!--l. 918--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">2.3.4   </span> <a 
+ id="x1-190002.3.4"></a>Two disks, Linux (at least partially) on the first disk</h5>
+<!--l. 920--><p class="noindent" >This case is equivalent to the configurations where only one disk is in the system. The Linux boot sector
+resides on the first hard disk and the second disk is used later in the boot process.
+</p><!--l. 924--><p class="noindent" >Only the location of the boot sector matters &#8211; everything else (<span 
+class="cmtt-10x-x-109">/boot/boot.b</span>, <span 
+class="cmtt-10x-x-109">/boot/map</span>, the root file
+system, a swap partition, other Linux file systems, etc.) can be located anywhere on the second disk,
+provided that the constraints described in section <a 
+href="#x1-160002.3.1">2.3.1<!--tex4ht:ref: broken --></a> are met.
+</p><!--l. 932--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">2.3.5   </span> <a 
+ id="x1-200002.3.5"></a>Two disks, Linux on second disk, first disk has an extended partition</h5>
+<!--l. 934--><p class="noindent" >If there is no Linux partition on the first disk, but there is an extended partition, the LILO&#x00A0;boot sector can
+be stored in the partition sector of the extended partition and it should be booted by the original master
+boot record or by a program like <span 
+class="cmss-10x-x-109">BOOTACTV</span>.
+</p><!--l. 939--><p class="noindent" >
+</p>
+<center class="math-display" >
+<img 
+src="user_21-513x.png" alt="   |-------First-disk-------|  |-----Second--disk-------|
+   |MBR          /dev/hda   |  |MBR          /dev/hdb   |
+   |  |MS--DOS----/dev/hda1--|  | |Linux------/dev/hdb1--|
+&#x2192;  |  |Extended--/dev/hda2--|  | |...--------/dev/hdb2--|
+   |  | |-------------------|  | |                      |
+   |  | |...-----/dev/hda5--|  | |                      |
+   ------...-----/dev/hda6---  --------------------------
+" class="math-display"  /></center>
+<!--l. 974--><p class="noindent" >The program <span 
+class="cmss-10x-x-109">activate</span>, that accompanies LILO, may have to be used to set the active marker on an extended
+partition, because MS-DOS&#8217; <span 
+class="cmss-10x-x-109">FDISK </span>and some older version of Linux <span 
+class="cmss-10x-x-109">fdisk </span>refuse to do that. (Which is
+generally a good idea.)
+
+</p><!--l. 981--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">2.3.6   </span> <a 
+ id="x1-210002.3.6"></a>Two disks, Linux on second disk, first disk has no extended partition</h5>
+<!--l. 983--><p class="noindent" >If there is neither a Linux partition nor an extended partition on the first disk, then there&#8217;s only one place
+left, where a LILO&#x00A0;boot sector could be stored: the master boot record.
+</p><!--l. 987--><p class="noindent" >In this configuration, LILO&#x00A0;is responsible for booting all other operating systems too.
+</p><!--l. 991--><p class="noindent" >
+</p>
+<center class="math-display" >
+<img 
+src="user_21-514x.png" alt="   |-------First-disk-------|  |-----Second--disk-------|
+&#x2192;  |MBR----------/dev/hda---|  |MBR----------/dev/hdb---|
+   |  |MS--DOS----/dev/hda1--|  | |Linux------/dev/hdb1--|
+   ----...-------/dev/hda2---  ---...--------/dev/hdb2---
+" class="math-display"  /></center>
+<!--l. 1019--><p class="noindent" >You should back up your old MBR before installing LILO&#x00A0;and verify that LILO&#x00A0;is able to boot your other
+operating system(s) before relying on this approach.
+</p><!--l. 1023--><p class="noindent" >The line <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">boot</span><span 
+class="cmtt-10x-x-109">&#x00A0;=</span><span 
+class="cmtt-10x-x-109">&#x00A0;/dev/hda2</span></span></span> in <span 
+class="cmtt-10x-x-109">/etc/lilo.conf </span>would have to be changed to <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">boot</span><span 
+class="cmtt-10x-x-109">&#x00A0;=</span><span 
+class="cmtt-10x-x-109">&#x00A0;/dev/hda</span></span></span> in this
+example.
+</p><!--l. 1027--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">2.3.7   </span> <a 
+ id="x1-220002.3.7"></a>More than two disks</h5>
+<!--l. 1029--><p class="noindent" >On systems with more than two disks, typically only the first two can be accessed. The configuration choices
+are therefore the same as with two disks.
+</p><!--l. 1033--><p class="noindent" >When attempting to access one of the extra disks, LILO&#x00A0;displays a warning message (<span 
+class="cmtt-10x-x-109">Warning: BIOS</span>
+<span 
+class="cmtt-10x-x-109">drive 0x</span><span 
+class="cmti-10x-x-109">number  </span><span 
+class="cmtt-10x-x-109">may not be accessible</span>) but does not abort. This is done in order to allow the lucky
+few whose BIOS (or controller-BIOS) does support more than two drives to make use of this feature. By all
+others, this warning should be considered a fatal error.
+</p><!--l. 1040--><p class="noindent" >Note that the two disks restriction is only imposed by the BIOS. Linux normally has no problems using all
+disks once it is booted.
+
+</p><!--l. 1044--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">2.3.8   </span> <a 
+ id="x1-230002.3.8"></a><span 
+class="cmtt-10x-x-109">/boot </span>on a DOS partition</h5>
+<!--l. 1047--><p class="noindent" >Recent kernels support all the functions LILO&#x00A0;needs to map files also on MS-DOS (or UMSDOS) file
+systems. Since DOS partitions tend to occupy exactly the places where BIOS restrictions (see section <a 
+href="#x1-160002.3.1">2.3.1<!--tex4ht:ref: broken --></a>)
+are invisible, they&#8217;re an ideal location for <span 
+class="cmtt-10x-x-109">/boot </span>if the native Linux file systems can&#8217;t be used because of
+BIOS problems.
+</p><!--l. 1053--><p class="noindent" >In order to accomplish this, the DOS partition is mounted read-write, a directory (e.g. <span 
+class="cmtt-10x-x-109">/dos/linux</span>) is
+created, all files from <span 
+class="cmtt-10x-x-109">/boot </span>are moved to that directory, <span 
+class="cmtt-10x-x-109">/boot </span>is replaced by a symbolic link to it, the
+kernels are also moved to the new directory, their new location is recorded in <span 
+class="cmtt-10x-x-109">/etc/lilo.conf</span>, and finally
+<span 
+class="cmtt-10x-x-109">/sbin/lilo </span>is run.
+</p><!--l. 1060--><p class="noindent" >From then on, new kernels must always be copied into that directory on the DOS partition
+before running <span 
+class="cmtt-10x-x-109">/sbin/lilo</span>, e.g. when recompiling a kernel, the standard procedure changes
+from
+
+</p>
+<div class="verbatim" id="verbatim-3">
+#&#x00A0;make&#x00A0;zlilo</div>
+<!--l. 1066--><p class="nopar" >
+</p><!--l. 1068--><p class="noindent" >to
+
+</p>
+<div class="verbatim" id="verbatim-4">
+#&#x00A0;make&#x00A0;zImage
+&#x00A0;<br />#&#x00A0;mv&#x00A0;/dos/linux/vmlinuz&#x00A0;/dos/linux/vmlinuz.old
+&#x00A0;<br />#&#x00A0;mv&#x00A0;arch/i386/boot/zImage&#x00A0;/dos/linux/vmlinuz
+&#x00A0;<br />#&#x00A0;/sbin/lilo</div>
+<!--l. 1075--><p class="nopar" >
+</p><!--l. 1077--><p class="noindent" ><span 
+class="cmbx-10x-x-109">WARNING: </span>De-fragmenting such a DOS partition is likely to make Linux or even the whole
+system unbootable. Therefore, the DOS partition should either not be de-fragmented, or a Linux
+boot disk should be prepared (and tested) to bring up Linux and to run <span 
+class="cmtt-10x-x-109">/sbin/lilo </span>after the
+de-fragmentation.<span class="footnote-mark"><a 
+href="user_21-512.html#fn12x0"><sup class="textsuperscript">12</sup></a></span><a 
+ id="x1-23001f12"></a>
+</p><!--l. 1087--><p class="noindent" >
+
+</p>
+<h3 class="sectionHead"><span class="titlemark">3   </span> <a 
+ id="x1-240003"></a>The boot prompt</h3>
+<!--l. 1091--><p class="noindent" >Immediately after it&#8217;s loaded, LILO&#x00A0;checks whether one of the following is happening:
+</p>
+     <ul class="itemize1">
+     <li class="itemize">any of the [Shift], [Control] or [Alt] keys is pressed.
+     </li>
+     <li class="itemize">[CapsLock] or [ScrollLock] is set.</li></ul>
+<!--l. 1100--><p class="noindent" >If this is the case, LILO&#x00A0;displays the <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">boot:</span></span></span> prompt and waits for the name of a boot
+image (i.e. Linux kernel or other operating system). Otherwise, it boots the default boot
+image<span class="footnote-mark"><a 
+href="user_21-513.html#fn13x0"><sup class="textsuperscript">13</sup></a></span><a 
+ id="x1-24001f13"></a>
+or &#8211; if a delay has been specified &#8211; waits for one of the listed activities until that amount of time has
+passed.
+</p><!--l. 1110--><p class="noindent" >At the boot prompt, the name of the image to boot can be entered. Typing errors can be corrected with
+[BackSpace], [Delete], [Ctrl U] and [Ctrl X]. A list of known images can be obtained by pressing [?] or
+[Tab].
+</p><!--l. 1115--><p class="noindent" >If [Enter] is pressed and no file name has been entered, the default image is booted.
+</p>
+<h4 class="subsectionHead"><span class="titlemark">3.1   </span> <a 
+ id="x1-250003.1"></a>Boot command-line options</h4>
+<!--l. 1121--><p class="noindent" >LILO&#x00A0;is also able to pass command-line options to the kernel. Command-line options are words that follow
+the name of the boot image and that are separated by spaces.
+</p><!--l. 1125--><p class="noindent" >Example:
+
+</p>
+<div class="verbatim" id="verbatim-5">
+boot:&#x00A0;linux&#x00A0;single&#x00A0;root=200</div>
+<!--l. 1128--><p class="nopar" >
+</p><!--l. 1130--><p class="noindent" >This document only gives an overview of boot options. Please consult Paul Gortmaker&#8217;s BootPrompt-HOWTO
+for a more complete and more up to date list. You can get it from
+</p><!--l. 1134--><p class="noindent" ><span 
+class="cmtt-10x-x-109">ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/BootPrompt-HOWTO.gz</span>
+</p><!--l. 1136--><p class="noindent" >or from one of the many mirror sites.
+</p><!--l. 1139--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">3.1.1   </span> <a 
+ id="x1-260003.1.1"></a>Standard options</h5>
+<!--l. 1141--><p class="noindent" >Recent kernels recognize a large number of options, among them are <span 
+class="cmtt-10x-x-109">debug</span>, <span 
+class="cmtt-10x-x-109">no387</span>, <span 
+class="cmtt-10x-x-109">no-hlt</span>, <span 
+class="cmtt-10x-x-109">ramdisk=</span><span 
+class="cmti-10x-x-109">size</span>,
+<span 
+class="cmtt-10x-x-109">reserve=</span><span 
+class="cmti-10x-x-109">base</span><span 
+class="cmtt-10x-x-109">,</span><span 
+class="cmti-10x-x-109">size</span><span 
+class="cmtt-10x-x-109">,</span><span 
+class="cmmi-10x-x-109">&#x2026;</span>, <span 
+class="cmtt-10x-x-109">root=</span><span 
+class="cmti-10x-x-109">device</span>, <span 
+class="cmtt-10x-x-109">ro</span>, and <span 
+class="cmtt-10x-x-109">rw</span>. All current <span 
+class="cmss-10x-x-109">init </span>programs also recognize the option <span 
+class="cmtt-10x-x-109">single</span>.
+The options <span 
+class="cmtt-10x-x-109">lock </span>and <span 
+class="cmtt-10x-x-109">vga </span>are processed by the boot loader itself. Boot command-line options are always
+case-sensitive.
+</p><!--l. 1149--><p class="noindent" ><span 
+class="cmtt-10x-x-109">single </span>boots the system in single-user mode. This bypasses most system initialization procedures and
+directly starts a root shell on the console. Multi-user mode can typically be entered by exiting the
+single-user shell or by rebooting.
+</p><!--l. 1154--><p class="noindent" ><span 
+class="cmtt-10x-x-109">root=</span><span 
+class="cmti-10x-x-109">device </span>changes the root device. This overrides settings that may have been made in the
+boot image and on the LILO&#x00A0;command line. <span 
+class="cmti-10x-x-109">device </span>is either the hexadecimal device number
+<span class="footnote-mark"><a 
+href="user_21-514.html#fn14x0"><sup class="textsuperscript">14</sup></a></span><a 
+ id="x1-26001f14"></a> or the full path name of
+the device, e.g. <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">/dev/hda3</span></span></span>.<span class="footnote-mark"><a 
+href="user_21-515.html#fn15x0"><sup class="textsuperscript">15</sup></a></span><a 
+ id="x1-26002f15"></a>
+
+</p><!--l. 1175--><p class="noindent" ><span 
+class="cmtt-10x-x-109">reserve=</span><span 
+class="cmti-10x-x-109">base</span><span 
+class="cmtt-10x-x-109">,</span><span 
+class="cmti-10x-x-109">size</span><span 
+class="cmtt-10x-x-109">,</span><span 
+class="cmmi-10x-x-109">&#x2026;</span> reserves IO port regions. This can be used to prevent device drivers from auto-probing
+addresses where other devices are located, which get confused by the probing.
+</p><!--l. 1179--><p class="noindent" ><span 
+class="cmtt-10x-x-109">ro </span>instructs the kernel to mount the root file system read-only. <span 
+class="cmtt-10x-x-109">rw </span>mounts it read-write. If neither <span 
+class="cmtt-10x-x-109">ro </span>nor <span 
+class="cmtt-10x-x-109">rw</span>
+is specified, the setting from the boot image is used.
+</p><!--l. 1183--><p class="noindent" ><span 
+class="cmtt-10x-x-109">no-hlt </span>avoids executing a <span 
+class="cmtt-10x-x-109">HLT </span>instructions whenever the system is idle. <span 
+class="cmtt-10x-x-109">HLT </span>normally significantly reduces
+power consumption and therefore also heat dissipation of the CPU, but may not work properly with some
+clone CPUs. <span 
+class="cmtt-10x-x-109">no387 </span>disables using the hardware FPU even if one is present.
+</p><!--l. 1189--><p class="noindent" ><span 
+class="cmtt-10x-x-109">debug </span>enables more verbose console logging.
+</p><!--l. 1191--><p class="noindent" >Recent kernels also accept the options <span 
+class="cmtt-10x-x-109">init=</span><span 
+class="cmti-10x-x-109">name </span>and <span 
+class="cmtt-10x-x-109">noinitrd</span>. <span 
+class="cmtt-10x-x-109">init </span>specifies the name of the <span 
+class="cmss-10x-x-109">init</span>
+program to execute. Therefore, if single mode cannot be entered because <span 
+class="cmss-10x-x-109">init </span>is mis-configured, one may still
+be able to reach a shell using <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">init=/bin/sh</span></span></span>. <span 
+class="cmtt-10x-x-109">noinitrd </span>disables automatic loading of the initial RAM disk.
+Instead, its content is then available on <span 
+class="cmtt-10x-x-109">/dev/initrd</span>.
+</p><!--l. 1198--><p class="noindent" ><span 
+class="cmtt-10x-x-109">vga=</span><span 
+class="cmti-10x-x-109">mode </span>alters the VGA mode set at startup. The values <span 
+class="cmtt-10x-x-109">normal</span>, <span 
+class="cmtt-10x-x-109">extended</span>, <span 
+class="cmtt-10x-x-109">ask </span>or a decimal number are
+recognized. (See also page <span class="pageref"><a 
+href="#x1-450004.2.4"><span 
+class="tcrm-1095">§</span></a></span>.)
+</p><!--l. 1202--><p class="noindent" ><span 
+class="cmtt-10x-x-109">kbd=</span><span 
+class="cmti-10x-x-109">code</span><span 
+class="cmtt-10x-x-109">,</span><span 
+class="cmmi-10x-x-109">&#x2026;</span> preloads a sequence of keystrokes in the BIOS keyboard buffer. The keystrokes have to be
+entered as 16 bit hexadecimal numbers, with the upper byte containing the scan code and the lower byte
+containing the ASCII code. Note that most programs only use the ASCII code, so the scan code can
+frequently be omitted. Scan code tables can be found in many books on PC hardware. Note that scan codes
+depend on the keyboard layout.
+</p><!--l. 1210--><p class="noindent" >Finally, <span 
+class="cmtt-10x-x-109">lock </span>stores the current command-line as the default command-line, so that LILO&#x00A0;boots the same
+image with the same options (including <span 
+class="cmtt-10x-x-109">lock</span>) when invoked the next time.
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">3.1.2   </span> <a 
+ id="x1-270003.1.2"></a>Device-specific options</h5>
+<!--l. 1217--><p class="noindent" >There is also a plethora of options to specify certain characteristics (e.g. IO and memory addresses) of
+devices. Some common ones are <span 
+class="cmtt-10x-x-109">ether</span>, <span 
+class="cmtt-10x-x-109">floppy</span>, <span 
+class="cmtt-10x-x-109">hd</span>, <span 
+class="cmtt-10x-x-109">bmouse</span>, and <span 
+class="cmtt-10x-x-109">sound</span>. The usage of these options is
+<span 
+class="cmti-10x-x-109">option</span><span 
+class="cmtt-10x-x-109">=</span><span 
+class="cmti-10x-x-109">number</span><span 
+class="cmtt-10x-x-109">,</span><span 
+class="cmmi-10x-x-109">&#x2026;</span>. Please consult the corresponding FAQs and HOWTOs for details. For an overview of all
+available options, consult the file <span 
+class="cmtt-10x-x-109">init/main.c </span>in the kernel source tree.
+</p><!--l. 1226--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">3.1.3   </span> <a 
+ id="x1-280003.1.3"></a>Other options</h5>
+<!--l. 1228--><p class="noindent" >Options of the type <span 
+class="cmti-10x-x-109">variable</span><span 
+class="cmtt-10x-x-109">=</span><span 
+class="cmti-10x-x-109">value </span>which are neither standard options nor device-specific options, cause the
+respective variables to be set in the environment passed to <span 
+class="cmss-10x-x-109">init</span>. The case of the variable name is preserved,
+i.e. it isn&#8217;t automatically converted to upper case.
+</p><!--l. 1234--><p class="noindent" >Note that environment variables passed to <span 
+class="cmss-10x-x-109">init </span>are typically available in system initialization scripts (e.g.
+<span 
+class="cmtt-10x-x-109">/etc/rc.local</span>), but they&#8217;re not visible from ordinary login sessions, because the <span 
+class="cmss-10x-x-109">login </span>program removes
+them from the user&#8217;s environment.
+
+</p><!--l. 1240--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">3.1.4   </span> <a 
+ id="x1-290003.1.4"></a>Repeating options</h5>
+<!--l. 1242--><p class="noindent" >The effect of repeating boot command-line options depends on the
+options.<span class="footnote-mark"><a 
+href="#fn16x0"><sup class="textsuperscript">16</sup></a></span><a 
+ id="x1-29001f16"></a>
+There are three possible behaviours:
+</p><!--l. 1252--><p class="noindent" >Options that only enable or disable a certain functionality can be repeated any number of times. <span 
+class="cmtt-10x-x-109">debug</span>,
+<span 
+class="cmtt-10x-x-109">lock</span>, <span 
+class="cmtt-10x-x-109">no-hlt</span>, and <span 
+class="cmtt-10x-x-109">no387 </span>fall into this category.
+</p><!--l. 1256--><p class="noindent" >Other options change a global setting whenever they appear, so only the value or presence of the last option
+matters. The antagonists <span 
+class="cmtt-10x-x-109">ro </span>and <span 
+class="cmtt-10x-x-109">rw </span>are such options. Also, <span 
+class="cmtt-10x-x-109">ramdisk</span>, <span 
+class="cmtt-10x-x-109">root</span>, and <span 
+class="cmtt-10x-x-109">vga </span>work this way.
+Example: <span 
+class="cmtt-10x-x-109">ro rw </span>would mount the root file system read-write.
+</p><!--l. 1262--><p class="noindent" >Finally, when <span 
+class="cmtt-10x-x-109">reserve </span>and many device-specific options are repeated, each occurrence has its own meaning,
+e.g.
+</p><!--l. 1265--><p class="noindent" ><span 
+class="cmtt-10x-x-109">hd=</span><span 
+class="cmmi-10x-x-109">&#x2026;</span> <span 
+class="cmtt-10x-x-109">hd=</span><span 
+class="cmmi-10x-x-109">&#x2026;</span> would configure two hard disks, and
+</p><!--l. 1267--><p class="noindent" ><span 
+class="cmtt-10x-x-109">reserve=0x300,8 reserve=0x5f0,16 </span>would reserve the ranges 0x300 to 0x307 and 0x5f0 to 0x5ff (which is
+equivalent to writing <span 
+class="cmtt-10x-x-109">reserve=0x300,8,0x5f0,16</span>).
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">3.1.5   </span> <a 
+ id="x1-300003.1.5"></a>Implicit options</h5>
+<!--l. 1274--><p class="noindent" >LILO&#x00A0;always passes the string <span 
+class="cmtt-10x-x-109">BOOT</span><span 
+class="cmtt-10x-x-109">_IMAGE=</span><span 
+class="cmti-10x-x-109">name </span>to the kernel, where <span 
+class="cmti-10x-x-109">name </span>is the name by which the
+kernel is identified (e.g. the label). This variable can be used in <span 
+class="cmtt-10x-x-109">/etc/rc </span>to select a different behaviour,
+depending on the kernel.
+</p><!--l. 1279--><p class="noindent" >When booting automatically, i.e. without human intervention, the word <span 
+class="cmtt-10x-x-109">auto </span>is also passed
+on the command line. This can be used by <span 
+class="cmss-10x-x-109">init </span>to suppress interactive prompts in the boot
+phase.
+</p><!--l. 1285--><p class="noindent" >
+</p>
+<h4 class="subsectionHead"><span class="titlemark">3.2   </span> <a 
+ id="x1-310003.2"></a>Boot image selection</h4>
+<!--l. 1288--><p class="noindent" >The details of selecting the boot image are somewhat complicated. The following tables illustrate them.
+First, if neither <span 
+class="cmtt-10x-x-109">prompt </span>is set nor a shift key is being pressed:
+</p><!--l. 1292--><p class="noindent" >
+
+</p>
+<center class="math-display" >
+<img 
+src="user_21-520x.png" alt="                        |
+ Externally   Command   | Auto-  Booted  image
+  provided     line in  | matic
+ cmd. line17   map file18 |boot19
+-----No----------No-----|--Yes---Default-image--------------- 17Externally provided command lines could be used to add front- ends to LILO. They would pass the respective 18This command line is set by invoking the map installer with the -R option, by using the boot command -line option
+     Yes         &#8212;      |  Yes   Specified by external      command string to LILO, which would then interpret it like keyboard input. This feature is currently not used. lock, or if a fallback command line is set (with fallback).                                    19I.e. the keyword auto is a
+                        |
+                        |        command   line
+     No          Yes    |  Yes   Specified by command   line
+                        |        in map file
+" class="math-display"  /></center>
+<!--l. 1320--><p class="noindent" >If <span 
+class="cmtt-10x-x-109">prompt </span>is not set and a shift key is being pressed:
+</p>
+<center class="math-display" >
+<img 
+src="user_21-521x.png" alt="                                    |
+  Input    Empty   Extern.  Cmd.l.  |Auto-  Booted  image
+ timeout   cmd.l.   cmd.l.  in map  |matic
+                              file   |boot
+----No------No-------&#8212;--------&#8212;-----|-No----Specified-by-the-user-
+                                    |
+    No      Yes      &#8212;        &#8212;     | No    Default image
+   Yes      n/a      &#8212;        &#8212;     | Yes   Default image
+" class="math-display"  /></center>
+<!--l. 1333--><p class="noindent" >Finally, if the configuration variable <span 
+class="cmtt-10x-x-109">prompt </span>is set:
+</p>
+<center class="math-display" >
+<img 
+src="user_21-522x.png" alt="   Input    Empty   Extern.   Cmd.l. |Auto -  Booted image
+                                    |
+  timeout   cmd.l.   cmd.l.  in map  |matic
+------------------------------file---|-boot------------------------
+    No       No      No       No    | No     Specified by the user
+    No      Yes      No       No    | No     Default image
+    Yes     n/a      No       No    | Yes    Default image
+   n/a      n/a      Yes       &#8212;    | Yes    Specified by external
+                                    |        command  line
+                                    |
+   n/a      n/a      No       Yes   | Yes    Specified by command
+                                    |        line in map  file
+" class="math-display"  /></center>
+<!--l. 1350--><p class="noindent" >Note that LILO&#x00A0;pauses for the amount of time specified in <span 
+class="cmtt-10x-x-109">delay </span>when at the end of a default command
+line. The automatic boot can then be interrupted by pressing a modifier key ([Shift], [Ctrl],
+etc.).
+</p><!--l. 1354--><p class="noindent" >The default image is the first image in the map file or the image specified with the <span 
+class="cmtt-10x-x-109">default</span>
+variable. However, after an unsuccessful boot attempt, the respective image becomes the default
+image.
+</p><!--l. 1360--><p class="noindent" >
+
+</p>
+<h3 class="sectionHead"><span class="titlemark">4   </span> <a 
+ id="x1-320004"></a>Map installer</h3>
+<!--l. 1363--><p class="noindent" >The map installer program <span 
+class="cmtt-10x-x-109">/sbin/lilo </span>updates the boot sector and creates the map file. If the map
+installer detects an error, it terminates immediately and does not touch the boot sector and the map
+file.
+</p><!--l. 1367--><p class="noindent" >Whenever the map installer updates a boot sector, the original boot sector is copied to <br 
+class="newline" /><span 
+class="cmtt-10x-x-109">/boot/boot.</span><span 
+class="cmti-10x-x-109">number </span><br 
+class="newline" />where <span 
+class="cmti-10x-x-109">number </span>is the hexadecimal device number. If such a file already exists, no backup copy is made.
+Similarly, a file <br 
+class="newline" /><span 
+class="cmtt-10x-x-109">/boot/part.</span><span 
+class="cmti-10x-x-109">number </span><br 
+class="newline" />is created if LILO&#x00A0;modifies the partition table. (See page <span class="pageref"><a 
+href="#x1-430004.2.2"><span 
+class="tcrm-1095">§</span></a></span>.)
+</p><!--l. 1377--><p class="noindent" >
+</p>
+<h4 class="subsectionHead"><span class="titlemark">4.1   </span> <a 
+ id="x1-330004.1"></a>Command-line options</h4>
+<!--l. 1379--><p class="noindent" >The LILO&#x00A0;map installer can be invoked in the following ways:
+</p><!--l. 1387--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">4.1.1   </span> <a 
+ id="x1-340004.1.1"></a>Show current installation</h5>
+<!--l. 1390--><p class="noindent" >The currently mapped files are listed. With <span 
+class="cmtt-10x-x-109">-v</span>, also many parameters are shown.
+</p><!--l. 1393-->
+<p class="indent" ><span 
+class="cmtt-10x-x-109">/sbin/lilo</span> <span class="big">[</span> <span 
+class="cmtt-10x-x-109">-C </span><span 
+class="cmti-10x-x-109">config_file</span>  <span class="big">]</span> <span 
+class="cmtt-10x-x-109">-q</span> <span class="big">[</span> <span 
+class="cmtt-10x-x-109">-m </span><span 
+class="cmti-10x-x-109">map_file</span>  <span class="big">] [</span> <span 
+class="cmtt-10x-x-109">-v</span> <span 
+class="cmmi-10x-x-109">&#x2026;</span> <span class="big">]</span> <span 
+class="cmtt-10x-x-109">&#x00A0;</span>
+</p><!--l. 1401--><p class="noindent" >
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmtt-10x-x-109">-C </span><span 
+class="cmti-10x-x-109">config</span><span 
+class="cmti-10x-x-109">_file</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Specifies the configuration file that is used by the map installer (see section <a 
+href="#x1-410004.2">4.2<!--tex4ht:ref: config --></a>). If <span 
+class="cmtt-10x-x-109">-C </span>is omitted,
+     <span 
+class="cmtt-10x-x-109">/etc/lilo.conf </span>is used.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-m </span><span 
+class="cmti-10x-x-109">map</span><span 
+class="cmti-10x-x-109">_file</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Specifies an alternate map file. See also sections <a 
+href="#x1-400004.1.7">4.1.7<!--tex4ht:ref: corropt --></a> and <a 
+href="#x1-430004.2.2">4.2.2<!--tex4ht:ref: cfgglo --></a>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-q</span> </dt><dd 
+class="description">&#x00A0; <br 
+class="newline" />Lists the currently mapped files.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-v</span> <span 
+class="cmmi-10x-x-109">&#x2026;</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Increase verbosity. See also sections <a 
+href="#x1-400004.1.7">4.1.7<!--tex4ht:ref: corropt --></a> and <a 
+href="#x1-430004.2.2">4.2.2<!--tex4ht:ref: cfgglo --></a>.</dd></dl>
+
+<!--l. 1415--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">4.1.2   </span> <a 
+ id="x1-350004.1.2"></a>Create or update map</h5>
+<!--l. 1418--><p class="noindent" >A new map is created for the images described in the configuration file <span 
+class="cmtt-10x-x-109">/etc/lilo.conf </span>and they are
+registered in the boot sector.
+</p><!--l. 1422-->
+<p class="indent" ><span 
+class="cmtt-10x-x-109">/sbin/lilo</span> <span class="big"><img 
+src="user_21-529x.png" alt="["  class="left" align="middle" /></span> <span 
+class="cmtt-10x-x-109">-C </span><span 
+class="cmti-10x-x-109">config_file</span>  <span class="big">] [ <span 
+class="cmtt-10x-x-109">-b </span><span 
+class="cmti-10x-x-109">boot_device</span>  <span class="big">] [</span> <span 
+class="cmtt-10x-x-109">-c</span> <span class="big">] [</span> <span 
+class="cmtt-10x-x-109">-l</span> <span class="big">] [</span> <span 
+class="cmtt-10x-x-109">-i </span><span 
+class="cmti-10x-x-109">boot_sector</span>  <span class="big">]</span> <br 
+class="newline" /><span class="big">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [</span> <span 
+class="cmtt-10x-x-109">-f </span><span 
+class="cmti-10x-x-109">disk_tab</span>  <span class="big">] [</span> <span 
+class="cmtt-10x-x-109">-m </span><span 
+class="cmti-10x-x-109">map_file</span>  <span class="big">] [</span> <span 
+class="cmtt-10x-x-109">-d </span><span 
+class="cmti-10x-x-109">delay</span>  <span class="big">] [</span> <span 
+class="cmtt-10x-x-109">-v</span> <span 
+class="cmmi-10x-x-109">&#x2026;</span> <span class="big">] [</span> <span 
+class="cmtt-10x-x-109">-t</span> <span class="big">] [</span> <span 
+class="cmtt-10x-x-109">-s </span><span 
+class="cmti-10x-x-109">save_file</span>  <span class="big"> | </span> <br 
+class="newline" /><span class="big">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span> <span 
+class="cmtt-10x-x-109">-S </span><span 
+class="cmti-10x-x-109">save</span><span 
+class="cmti-10x-x-109">_file</span>  <span class="big">] [</span> <span 
+class="cmtt-10x-x-109">-P fix</span> <span class="big"> | </span> <span 
+class="cmtt-10x-x-109">-P ignore</span> <span class="big">] [</span> <span 
+class="cmtt-10x-x-109">-r </span><span 
+class="cmti-10x-x-109">root</span><span 
+class="cmti-10x-x-109">_dir</span>  <span class="big">]</span> <span 
+class="cmtt-10x-x-109">&#x00A0;</span>
+</p><!--l. 1440--><p class="noindent" >
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmtt-10x-x-109">-b </span><span 
+class="cmti-10x-x-109">boot<_device</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Specifies the boot device. See also sections <a 
+href="#x1-400004.1.7">4.1.7<!--tex4ht:ref: corropt --></a> and <a 
+href="#x1-430004.2.2">4.2.2<!--tex4ht:ref: cfgglo --></a>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-c</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Enables map compaction. See also sections <a 
+href="#x1-400004.1.7">4.1.7<!--tex4ht:ref: corropt --></a> and <a 
+href="#x1-430004.2.2">4.2.2<!--tex4ht:ref: cfgglo --></a>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-C </span><span 
+class="cmti-10x-x-109">config</span><span 
+class="cmti-10x-x-109">_file</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Specifies an alternate configuration file. See also section <a 
+href="#x1-340004.1.1">4.1.1<!--tex4ht:ref: invshow --></a>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-d </span><span 
+class="cmti-10x-x-109">delay</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Sets the delay before LILO&#x00A0;boots the default image. Note that the delay is specified in <span 
+class="cmbx-10x-x-109">tenths</span>
+     of a second. See also sections <a 
+href="#x1-400004.1.7">4.1.7<!--tex4ht:ref: corropt --></a> and <a 
+href="#x1-430004.2.2">4.2.2<!--tex4ht:ref: cfgglo --></a>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-D </span><span 
+class="cmti-10x-x-109">name</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Specifies the default image. See also sections <a 
+href="#x1-400004.1.7">4.1.7<!--tex4ht:ref: corropt --></a> and <a 
+href="#x1-430004.2.2">4.2.2<!--tex4ht:ref: cfgglo --></a>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-f </span><span 
+class="cmti-10x-x-109">disk</span><span 
+class="cmti-10x-x-109">_tab</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Specifies a disk parameter table file. See also sections <a 
+href="#x1-400004.1.7">4.1.7<!--tex4ht:ref: corropt --></a> and <a 
+href="#x1-430004.2.2">4.2.2<!--tex4ht:ref: cfgglo --></a>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-i </span><span 
+class="cmti-10x-x-109">boot</span><span 
+class="cmti-10x-x-109">_sector</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Specifies an alternate boot file. See also sections <a 
+href="#x1-400004.1.7">4.1.7<!--tex4ht:ref: corropt --></a> and <a 
+href="#x1-430004.2.2">4.2.2<!--tex4ht:ref: cfgglo --></a>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-L</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Enables lba32 sector addresses. See also sections <a 
+href="#x1-400004.1.7">4.1.7<!--tex4ht:ref: corropt --></a> and <a 
+href="#x1-430004.2.2">4.2.2<!--tex4ht:ref: cfgglo --></a>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-l</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Enables linear sector addresses. See also sections <a 
+href="#x1-400004.1.7">4.1.7<!--tex4ht:ref: corropt --></a> and <a 
+href="#x1-430004.2.2">4.2.2<!--tex4ht:ref: cfgglo --></a>.
+
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-m </span><span 
+class="cmti-10x-x-109">map</span><span 
+class="cmti-10x-x-109">_file</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Specifies an alternate map file. See also sections <a 
+href="#x1-400004.1.7">4.1.7<!--tex4ht:ref: corropt --></a> and <a 
+href="#x1-430004.2.2">4.2.2<!--tex4ht:ref: cfgglo --></a>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-P </span><span 
+class="cmti-10x-x-109">mode</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Specifies how invalid partition table entries should be handled. See also sections <a 
+href="#x1-400004.1.7">4.1.7<!--tex4ht:ref: corropt --></a> and <a 
+href="#x1-430004.2.2">4.2.2<!--tex4ht:ref: cfgglo --></a>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-r </span><span 
+class="cmti-10x-x-109">root</span><span 
+class="cmti-10x-x-109">_directory</span> </dt><dd 
+class="description">&#x00A0; <br 
+class="newline" />Chroots to the specified directory before doing anything else. This is useful when running the
+     map installer while the normal root file system is mounted somewhere else, e.g. when recovering
+     from an installation failure with a recovery disk. The <span 
+class="cmtt-10x-x-109">-r </span>option is implied if the environment
+     variable <span 
+class="cmtt-10x-x-109">ROOT </span>is set.<span class="footnote-mark"><a 
+href="user_21-516.html#fn20x0"><sup class="textsuperscript">20</sup></a></span><a 
+ id="x1-35001f20"></a>
+     The current directory is changed to the new root directory, so using relative paths may not
+     work.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-s </span><span 
+class="cmti-10x-x-109">save</span><span 
+class="cmti-10x-x-109">_file</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Specifies an alternate boot sector save file. See also sections <a 
+href="#x1-400004.1.7">4.1.7<!--tex4ht:ref: corropt --></a> and <a 
+href="#x1-430004.2.2">4.2.2<!--tex4ht:ref: cfgglo --></a>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-S </span><span 
+class="cmti-10x-x-109">save</span><span 
+class="cmti-10x-x-109">_file</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Like <span 
+class="cmtt-10x-x-109">-s</span>, but overwrites old save files.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-t</span> </dt><dd 
+class="description">&#x00A0; <br 
+class="newline" />Test only. This performs the entire installation procedure except replacing the map file, writing
+     the modified boot sector and fixing partition tables. This can be used in conjunction with the
+     <span 
+class="cmtt-10x-x-109">-v </span>option to verify that LILO&#x00A0;will use sane values.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-v</span> <span 
+class="cmmi-10x-x-109">&#x2026;</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Increase verbosity. See also sections <a 
+href="#x1-400004.1.7">4.1.7<!--tex4ht:ref: corropt --></a> and <a 
+href="#x1-430004.2.2">4.2.2<!--tex4ht:ref: cfgglo --></a>.</dd></dl>
+<!--l. 1489--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">4.1.3   </span> <a 
+ id="x1-360004.1.3"></a>Change default command line</h5>
+<!--l. 1492--><p class="noindent" >Changes LILO&#8217;s default command line. See also section <a 
+href="#x1-310003.2">3.2<!--tex4ht:ref: bootsel --></a>.
+</p><!--l. 1494-->
+<p class="indent" ><span 
+class="cmtt-10x-x-109">/sbin/lilo</span> <span class="big">[</span> <span 
+class="cmtt-10x-x-109">-C </span><span 
+class="cmti-10x-x-109">config</span><span 
+class="cmti-10x-x-109">_file</span>  <span class="big">] [</span> <span 
+class="cmtt-10x-x-109">-m </span><span 
+class="cmti-10x-x-109">map</span><span 
+class="cmti-10x-x-109">_file</span>  <span class="big">]</span> <span 
+class="cmtt-10x-x-109">-R</span> <span class="big">[</span> <span 
+class="cmti-10x-x-109">word</span>  <span 
+class="cmmi-10x-x-109">&#x2026;</span> <span class="big">]</span> <span 
+class="cmtt-10x-x-109">&#x00A0;</span>
+</p><!--l. 1501--><p class="noindent" >
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmtt-10x-x-109">-C </span><span 
+class="cmti-10x-x-109">config</span><span 
+class="cmti-10x-x-109">_file</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Specifies an alternate configuration file. See also section <a 
+href="#x1-340004.1.1">4.1.1<!--tex4ht:ref: invshow --></a>.
+
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-m </span><span 
+class="cmti-10x-x-109">map</span><span 
+class="cmti-10x-x-109">_file</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Specifies an alternate map file. See also sections <a 
+href="#x1-400004.1.7">4.1.7<!--tex4ht:ref: corropt --></a> and <a 
+href="#x1-430004.2.2">4.2.2<!--tex4ht:ref: cfgglo --></a>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-R </span><span 
+class="cmti-10x-x-109">word</span> <span 
+class="cmmi-10x-x-109">&#x2026;</span> </dt><dd 
+class="description">&#x00A0; <br 
+class="newline" />Stores the specified words in the map file. The boot loader uses those words as the default
+     command line when booting the next time. That command line is removed from the map file by
+     the boot loader by overwriting the sector immediately after reading it. The first word has to be
+     the name of a boot image. If <span 
+class="cmtt-10x-x-109">-R </span>is not followed by any words, the current default command line in
+     the map file is erased.<span class="footnote-mark"><a 
+href="user_21-517.html#fn21x0"><sup class="textsuperscript">21</sup></a></span><a 
+ id="x1-36001f21"></a>
+     If the command line isn&#8217;t valid, the map installer issues an error message and returns a non-zero
+     exit code.</dd></dl>
+<!--l. 1523--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">4.1.4   </span> <a 
+ id="x1-370004.1.4"></a>Kernel name translation</h5>
+<!--l. 1525--><p class="noindent" >Determines the path of the kernel.
+</p><!--l. 1527--><p class="indent" ><span 
+class="cmtt-10x-x-109">/sbin/lilo</span> <span class="big">[</span> <span 
+class="cmtt-10x-x-109">-C </span><span 
+class="cmti-10x-x-109">config_file</span>  <span class="big">]</span> <span 
+class="cmtt-10x-x-109">-I </span><span 
+class="cmti-10x-x-109">name</span>  <span class="big">[</span> <span 
+class="cmti-10x-x-109">options</span>  <span class="big">]</span> <span 
+class="cmtt-10x-x-109">&#x00A0;</span>
+</p><!--l. 1534--><p class="noindent" >
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmtt-10x-x-109">-C </span><span 
+class="cmti-10x-x-109">config</span><span 
+class="cmti-10x-x-109">_file</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Specifies an alternate configuration file. See also section <a 
+href="#x1-340004.1.1">4.1.1<!--tex4ht:ref: invshow --></a>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-I </span><span 
+class="cmti-10x-x-109">name  </span>[  <span 
+class="cmti-10x-x-109">options  </span>] </dt><dd 
+class="description">&#x00A0; <br 
+class="newline" />Translates the specified label name to the path of the corresponding kernel image and prints that
+     path on standard output. This can be used to synchronize files that depend on the kernel (e.g.
+     the <span 
+class="cmss-10x-x-109">ps </span>database). The image name can be obtained from the environment variable <span 
+class="cmtt-10x-x-109">BOOT</span><span 
+class="cmtt-10x-x-109">_IMAGE</span>.
+     An error message is issued and a non-zero exit code is returned if no matching label name can
+     be found. The existence of the image file is verified if the option character <span 
+class="cmtt-10x-x-109">v </span>is added.</dd></dl>
+<!--l. 1549--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">4.1.5   </span> <a 
+ id="x1-380004.1.5"></a>De-installation</h5>
+<!--l. 1551--><p class="noindent" >Restores the boot sector that was used before the installation of LILO. Note that this option only works
+properly if LILO&#8217;s directories (e.g. <span 
+class="cmtt-10x-x-109">/boot</span>) have not been touched since the first installation. See also section
+
+<a 
+href="#x1-720005.3">5.3<!--tex4ht:ref: deinst --></a>.
+</p><!--l. 1556--><p class="indent" ><span 
+class="cmtt-10x-x-109">/sbin/lilo</span> <span class="big">[</span> <span 
+class="cmtt-10x-x-109">-C </span><span 
+class="cmti-10x-x-109">config_file</span>  <span class="big">] [</span> <span 
+class="cmtt-10x-x-109">-s </span><span 
+class="cmti-10x-x-109">save_file</span>  <span class="big">]</span> <span 
+class="cmtt-10x-x-109">-u</span> <span class="big"> | </span> <span 
+class="cmtt-10x-x-109">-U</span> <span class="big">[</span> <span 
+class="cmti-10x-x-109">boot_device</span>  <span class="big">]</span> <span 
+class="cmtt-10x-x-109">&#x00A0;</span>
+</p><!--l. 1564--><p class="noindent" >
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmtt-10x-x-109">-C </span><span 
+class="cmti-10x-x-109">config</span><span 
+class="cmti-10x-x-109">_file</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Specifies an alternate configuration file. See also section <a 
+href="#x1-340004.1.1">4.1.1<!--tex4ht:ref: invshow --></a>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-s </span><span 
+class="cmti-10x-x-109">save</span><span 
+class="cmti-10x-x-109">_file</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Specifies an alternate boot sector save file. See also sections <a 
+href="#x1-400004.1.7">4.1.7<!--tex4ht:ref: corropt --></a> and <a 
+href="#x1-430004.2.2">4.2.2<!--tex4ht:ref: cfgglo --></a>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-u </span>[  <span 
+class="cmti-10x-x-109">device_name  </span>] </dt><dd 
+class="description">&#x00A0; <br 
+class="newline" />Restores the backup copy of the specified boot sector. If no device is specified, the value of the
+     <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">boot</span></span></span> variable is used. If this one is also unavailable, LILO&#x00A0;uses the current root device. The
+     name of the backup copy is derived from the device name. The <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">-s</span></span></span> option or the <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">backup</span></span></span> variable
+     can be used to override this. LILO&#x00A0;validates the backup copy by checking a time stamp.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">-U </span>[  <span 
+class="cmti-10x-x-109">device_name  </span>] </dt><dd 
+class="description">&#x00A0; <br 
+class="newline" />Like <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">-u</span></span></span>, but does not check the time stamp.</dd></dl>
+<!--l. 1581--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">4.1.6   </span> <a 
+ id="x1-390004.1.6"></a>Print version number</h5>
+    <!--l. 1583--><p class="indent" ><span 
+class="cmtt-10x-x-109">/sbin/lilo -V </span><span 
+class="cmtt-10x-x-109">&#x00A0;</span>
+</p><!--l. 1587--><p class="noindent" >
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmtt-10x-x-109">-V</span> </dt><dd 
+class="description">&#x00A0; <br 
+class="newline" />Print the version number and exit.</dd></dl>
+<!--l. 1593--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">4.1.7   </span> <a 
+ id="x1-400004.1.7"></a>Options corresponding to configuration variables</h5>
+<!--l. 1596--><p class="noindent" >There are also many command-line options that correspond to configuration variables. See section <a 
+href="#x1-430004.2.2">4.2.2<!--tex4ht:ref: cfgglo --></a> for
+a description.
+</p><!--l. 1599--><p class="noindent" >
+
+</p>
+<center class="math-display" >
+<img 
+src="user_21-574x.png" alt="                      |
+-Command----line option|Con-figuration-variable-----
+ -b  bootxdevice       |boot=bootxdevice
+ -c                   |compact
+ -d  tsecs             |delay=tsecs
+                      |
+ -D  name             |default=name
+ -i  bootxsector        |install=bootxsector
+ -L                   |lba32
+ -l                   |linear
+ -m  mapxfile          |map=mapx  file
+ -P  fix              |fix -table
+ -P  ignore           |ignore -table
+                      |
+ -s  backupx file        |backup=backupx file
+ -S  backupx file        |force -backup=backupx file
+ -v  ...               |verbose=level
+" class="math-display"  /></center>
+<!--l. 1620--><p class="noindent" >
+</p>
+<h4 class="subsectionHead"><span class="titlemark">4.2   </span> <a 
+ id="x1-410004.2"></a>Configuration</h4>
+<!--l. 1623--><p class="noindent" >The configuration information is stored in the file <span 
+class="cmtt-10x-x-109">/etc/lilo.conf </span>and consists of variable
+assignments.
+</p><!--l. 1627--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">4.2.1   </span> <a 
+ id="x1-420004.2.1"></a>Syntax</h5>
+<!--l. 1630--><p class="noindent" >The following syntax rules apply:
+</p>
+     <ul class="itemize1">
+     <li class="itemize">flag variables consist of a single word and are followed by whitespace or the end of the file.
+     </li>
+     <li class="itemize">string  variables  consist  of  the  variable  name,  optional  whitespace,  an  equal  sign,  optional
+     whitespace, the value and required whitespace, or the end of the file.
+
+     </li>
+     <li class="itemize">a non-empty sequence of blanks, tabs, newlines and comments counts as whitespace.
+     </li>
+     <li class="itemize">variable  names  are  case-insensitive.  Values  are  usually  case-sensitive,  but  there  are  a  few
+     exceptions. (See below.)
+     </li>
+     <li class="itemize">tabs and newlines are special characters and may not be part of a variable name or a value.
+     The use of other control characters and non-ASCII characters is discouraged.
+     </li>
+     <li class="itemize">blanks and equal signs may only be part of a variable name or a value if they are escaped by
+     a backslash or if the value is embedded in double quotes. An equal sign may not be the only
+     character in a name or value.
+     </li>
+     <li class="itemize">an escaped tab is converted to an escaped blank. An escaped newline is removed from the input
+     stream. An escaped backslash (i.e. two backslashes) is converted to a backslash. Inside quoted
+     strings, only double quotes, backslashes, dollar signs, and newlines can be escaped.
+     </li>
+     <li class="itemize">quoted  strings  can  be  continued  over  several  lines  by  ending  each  incomplete  line  with  a
+     backslash. A single space is inserted in the string for the line end and all spaces or tabs that
+     follow immediately on the next line.
+     </li>
+     <li class="itemize">environment variables can be used by specifying them in the form <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">$</span></span></span><span 
+class="cmti-10x-x-109">name </span>or <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">${</span></span></span><span 
+class="cmti-10x-x-109">name</span><span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">}</span></span></span>. Dollar
+     signs can be escaped.
+     </li>
+     <li class="itemize">comments begin with a number sign and end with the next newline. All characters (including
+     backslashes) until the newline are ignored.</li></ul>
+<!--l. 1664--><p class="noindent" >Example:
+
+</p>
+<div class="verbatim" id="verbatim-6">
+boot&#x00A0;=&#x00A0;$FD
+&#x00A0;<br />install&#x00A0;=&#x00A0;$MNT/boot.b
+&#x00A0;<br />map&#x00A0;=&#x00A0;$MNT/map
+&#x00A0;<br />compact
+&#x00A0;<br />read-only
+&#x00A0;<br />append&#x00A0;=&#x00A0;"nfsroot=/home/linux-install/root&#x00A0;\
+&#x00A0;<br />&#x00A0;&#x00A0;nfsaddrs=128.178.156.28:128.178.156.24::255.255.255.0:lrcinst"
+&#x00A0;<br />image&#x00A0;=&#x00A0;$MNT/zImage</div>
+<!--l. 1674--><p class="nopar" >
+</p><!--l. 1677--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">4.2.2   </span> <a 
+ id="x1-430004.2.2"></a>Global options</h5>
+<!--l. 1680--><p class="noindent" ><span 
+class="cmtt-10x-x-109">/etc/lilo.conf </span>begins with a possibly empty global options section. Many global options can also be
+set from the command line, but storing permanent options in the configuration file is more
+convenient.
+</p><!--l. 1684--><p class="noindent" >The following global options are recognized:
+</p><!--l. 1686--><p class="noindent" >
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmtt-10x-x-109">backup=</span><span 
+class="cmti-10x-x-109">backup</span><span 
+class="cmti-10x-x-109">_file</span> </dt><dd 
+class="description">Copy the original boot sector to <span 
+class="cmti-10x-x-109">backup</span><span 
+class="cmti-10x-x-109">_file </span>(which may also be a device, e.g.
+     <span 
+class="cmtt-10x-x-109">/dev/null</span>) instead of <span 
+class="cmtt-10x-x-109">/boot/boot.</span><span 
+class="cmti-10x-x-109">number</span>
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">boot=</span><span 
+class="cmti-10x-x-109">boot</span><span 
+class="cmti-10x-x-109">_device</span> </dt><dd 
+class="description">Sets the name of the device (e.g. a hard disk partition) that contains the boot
+     sector. If <span 
+class="cmtt-10x-x-109">boot </span>is omitted, the boot sector is read from (and possibly written to) the device that
+     is currently mounted as root.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">change-rules</span> </dt><dd 
+class="description">Defines partition type numbers. See section <a 
+href="#x1-550004.5.2">4.5.2<!--tex4ht:ref: ptcr --></a> for details.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">compact</span> </dt><dd 
+class="description">Tries to merge read requests for adjacent sectors into a single read request. This drastically
+     reduces load time and keeps the map smaller. Using <span 
+class="cmtt-10x-x-109">compact </span>is especially recommended when
+     booting from a floppy disk. <span 
+class="cmtt-10x-x-109">compact </span>may conflict with <span 
+class="cmtt-10x-x-109">linear </span>or <span 
+class="cmtt-10x-x-109">lba32</span>, see section <a 
+href="#x1-810006.3">6.3<!--tex4ht:ref: othpro --></a>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">default=</span><span 
+class="cmti-10x-x-109">name</span> </dt><dd 
+class="description">Uses the specified image as the default boot image. If <span 
+class="cmtt-10x-x-109">default </span>is omitted, the image
+     appearing first in the configuration file is used.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">delay=</span><span 
+class="cmti-10x-x-109">tsecs</span> </dt><dd 
+class="description">Specifies the number of <span 
+class="cmbx-10x-x-109">tenths </span>of a second LILO&#x00A0;should wait before booting the first
+
+     image. This is useful on systems that immediately boot from the hard disk after enabling the
+     keyboard. LILO&#x00A0;doesn&#8217;t wait if <span 
+class="cmtt-10x-x-109">delay </span>is omitted or if <span 
+class="cmtt-10x-x-109">delay </span>is set to zero.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">disk=</span><span 
+class="cmti-10x-x-109">device</span><span 
+class="cmti-10x-x-109">_name</span> </dt><dd 
+class="description">Defines non-standard parameters for the specified disk. See section <a 
+href="#x1-500004.4">4.4<!--tex4ht:ref: diskgeo --></a> for details.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">fix-table</span> </dt><dd 
+class="description">Allows LILO&#x00A0;to adjust 3D addresses in partition tables. Each partition entry contains
+     a 3D (sector/head/cylinder) and a linear 32-bit address of the first and the last sector of
+     the partition. If a partition is not track-aligned and if certain other operating systems (e.g.
+     PC/MS-DOS or OS/2) are using the same disk, they may change the 3D address. LILO&#x00A0;can
+     store its boot sector only on partitions where both address types correspond. LILO&#x00A0;re-adjusts
+     incorrect 3D start addresses if <span 
+class="cmtt-10x-x-109">fix-table </span>is set.
+     <!--l. 1724--><p class="noindent" ><span 
+class="cmbx-10x-x-109">WARNING: </span>This does not guarantee that other operating systems may not attempt to reset
+     the address later. It is also possible that this change has other, unexpected side-effects. The
+     correct fix is to re-partition the drive with a program that does align partitions to tracks. Also,
+     with some disks (e.g. some large EIDE disks with address translation enabled), under some
+     circumstances, it may even be unavoidable to have conflicting partition table entries.
+     </p></dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">force-backup=</span><span 
+class="cmti-10x-x-109">backup</span><span 
+class="cmti-10x-x-109">_file</span> </dt><dd 
+class="description">Like <span 
+class="cmtt-10x-x-109">backup</span>, but overwrite an old backup copy if it exists. <br 
+class="newline" /><span 
+class="cmtt-10x-x-109">backup=</span><span 
+class="cmti-10x-x-109">backup</span><span 
+class="cmti-10x-x-109">_file </span>is ignored if <span 
+class="cmtt-10x-x-109">force-backup </span>appears in the same configuration file.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">ignore-table</span> </dt><dd 
+class="description">Tells LILO to ignore corrupt partition tables and to put the boot sector even on
+     partitions that appear to be unsuitable for that.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">install=</span><span 
+class="cmti-10x-x-109">boot</span><span 
+class="cmti-10x-x-109">_sector</span> </dt><dd 
+class="description">Install the specified file as the new boot sector. If <span 
+class="cmtt-10x-x-109">install </span>is omitted, <br 
+class="newline" /><span 
+class="cmtt-10x-x-109">/boot/boot.b </span>is used as the default.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">keytable=</span><span 
+class="cmti-10x-x-109">table</span><span 
+class="cmti-10x-x-109">_file</span> </dt><dd 
+class="description">Re-map the keyboard as specified in this file. See section <a 
+href="#x1-570004.6">4.6<!--tex4ht:ref: keytab --></a> for details.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lba32</span> </dt><dd 
+class="description">Generate 32-bit Logical Block Addresses instead of sector/head/cylinder addresses. If the
+     BIOS supports packet addressing, then packet calls will be used to access the disk. This allows
+     booting from any partition on disks with more than 1024 cylinders. If the BIOS does not
+     support packet addressing, then <span 
+class="cmtt-10x-x-109">lba32 </span>addresses are translated to C:H:S, just as for <span 
+class="cmtt-10x-x-109">linear</span>.
+     All floppy disk references are retained in C:H:S form. Use of <span 
+class="cmtt-10x-x-109">lba32 </span>is recommended on all
+     post-1998 systems. <span 
+class="cmtt-10x-x-109">lba32 </span>may conflict with <span 
+class="cmtt-10x-x-109">compact</span>, see section <a 
+href="#x1-810006.3">6.3<!--tex4ht:ref: othpro --></a>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">linear</span> </dt><dd 
+class="description">Generate linear sector addresses instead of sector/head/cylinder addresses. Linear addresses
+     are translated at run time and do not depend on disk geometry. Note that boot disks may
+     not be portable if <span 
+class="cmtt-10x-x-109">linear </span>is used, because the BIOS service to determine the disk geometry
+     does not work reliably for floppy disks. When using <span 
+class="cmtt-10x-x-109">linear </span>with large disks, <span 
+class="cmtt-10x-x-109">/sbin/lilo </span>may
+     generate references to inaccessible disk areas (see section <a 
+href="#x1-160002.3.1">2.3.1<!--tex4ht:ref: broken --></a>), because 3D sector addresses
+     are not known before boot time. <span 
+class="cmtt-10x-x-109">linear </span>may conflict with <span 
+class="cmtt-10x-x-109">compact</span>, see section <a 
+href="#x1-810006.3">6.3<!--tex4ht:ref: othpro --></a>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">map=</span><span 
+class="cmti-10x-x-109">map</span><span 
+class="cmti-10x-x-109">_file</span> </dt><dd 
+class="description">Specifies the location of the map file. If <span 
+class="cmtt-10x-x-109">map </span>is omitted, a file <span 
+class="cmtt-10x-x-109">/boot/map </span>is used.
+     </dd><dt class="description">
+
+<span 
+class="cmtt-10x-x-109">message=</span><span 
+class="cmti-10x-x-109">message</span><span 
+class="cmti-10x-x-109">_file</span> </dt><dd 
+class="description">Specifies a file containing a message that is displayed before the boot prompt.
+     No message is displayed while waiting for a modifier key ([Shift], etc.) after printing &#8220;LILO &#8221;.
+     In the message, the <span 
+class="cmtt-10x-x-109">FF </span>character ([Ctrl L]) clears the local screen. The size of the message file
+     is limited to 65535 bytes. The map file has to be rebuilt if the message file is changed or moved.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">nowarn</span> </dt><dd 
+class="description">Disables warnings about possible future dangers.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">prompt</span> </dt><dd 
+class="description">Forces  entering  the  boot  prompt  without  expecting  any  prior  key-presses.  Unattended
+     reboots are impossible if <span 
+class="cmtt-10x-x-109">prompt </span>is set and <span 
+class="cmtt-10x-x-109">timeout </span>isn&#8217;t.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">serial=</span><span 
+class="cmti-10x-x-109">parameters</span> </dt><dd 
+class="description">Enables control from a serial line. The specified serial port is initialized and LILO&#x00A0;is
+     accepting input from it and from the PC&#8217;s keyboard. Sending a break on the serial line corresponds
+     to pressing a shift key on the console in order to get LILO&#8217;s attention. All boot images
+     should be password-protected if the serial access is less secure than access to the console,
+     e.g. if the line is connected to a modem. The parameter string has the following syntax:
+     <br 
+class="newline" /><span 
+class="cmti-10x-x-109">port</span><span 
+class="cmtt-10x-x-109">,</span><span 
+class="cmti-10x-x-109">bps parity bits </span><br 
+class="newline" />The components <span 
+class="cmti-10x-x-109">bps</span>, <span 
+class="cmti-10x-x-109">parity </span>and <span 
+class="cmti-10x-x-109">bits </span>can be omitted. If a component is omitted, all following
+     components have to be omitted too. Additionally, the comma has to be omitted if only the port
+     number is specified.
+          <dl class="description"><dt class="description">
+     <span 
+class="cmti-10x-x-109">port</span> </dt><dd 
+class="description">the number of the serial port, zero-based. 0 corresponds to <span 
+class="cmtt-10x-x-109">COM1 </span>alias <span 
+class="cmtt-10x-x-109">/dev/ttyS0</span>, etc.
+          All four ports can be used (if present).
+          </dd><dt class="description">
+     <span 
+class="cmti-10x-x-109">bps</span> </dt><dd 
+class="description">the baud rate of the serial port. The following baud rates are supported: 110, 300, 1200,
+          2400, 4800, 9600, 19200, and 38400 bps. Default is 2400 bps.
+          </dd><dt class="description">
+     <span 
+class="cmti-10x-x-109">parity</span> </dt><dd 
+class="description">the parity used on the serial line. LILO&#x00A0;ignores input parity and strips the 8th bit. The
+          following (upper or lower case) characters are used to describe the parity: <span 
+class="cmtt-10x-x-109">n </span>for no parity,
+          <span 
+class="cmtt-10x-x-109">e </span>for even parity and <span 
+class="cmtt-10x-x-109">o </span>for odd parity.
+          </dd><dt class="description">
+     <span 
+class="cmti-10x-x-109">bits</span> </dt><dd 
+class="description">the number of bits in a character. Only 7 and 8 bits are supported. Default is 8 if parity
+          is &#8220;none&#8221;, 7 if parity is &#8220;even&#8221; or &#8220;odd&#8221;.</dd></dl>
+     <!--l. 1803--><p class="noindent" >If <span 
+class="cmtt-10x-x-109">serial </span>is set, the value of <span 
+class="cmtt-10x-x-109">delay </span>is automatically raised to 20.
+     </p><!--l. 1806--><p class="noindent" >Example: <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">serial=0,2400n8</span></span></span> initializes <span 
+class="cmtt-10x-x-109">COM1 </span>with the default parameters.
+     </p></dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">timeout=</span><span 
+class="cmti-10x-x-109">tsecs</span> </dt><dd 
+class="description">Sets a timeout (in tenths of a second) for keyboard input. If no key is pressed for the
+     specified time, the first image is automatically booted. Similarly, password input is aborted if the user
+     is idle for too long. The default timeout is infinite.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">verbose=</span><span 
+class="cmti-10x-x-109">level</span> </dt><dd 
+class="description">Turns on lots of progress reporting. Higher numbers give more verbose output. If <span 
+class="cmtt-10x-x-109">-v </span>is
+     additionally specified on the command line, <span 
+class="cmti-10x-x-109">level </span>is increased accordingly. The following verbosity
+     levels exist:
+
+          <dl class="description"><dt class="description">
+     <span 
+class="cmmi-10x-x-109">&#x003C;</span><span 
+class="cmbx-10x-x-109">0</span> </dt><dd 
+class="description">only warnings and errors are shown
+          </dd><dt class="description">
+     <span 
+class="cmbx-10x-x-109">0</span> </dt><dd 
+class="description">prints one line for each added or skipped image
+          </dd><dt class="description">
+     <span 
+class="cmbx-10x-x-109">1</span> </dt><dd 
+class="description">mentions names of important files and devices and why they are accessed. Also displays
+          informational messages for exceptional but harmless conditions and prints the version
+          number.
+          </dd><dt class="description">
+     <span 
+class="cmbx-10x-x-109">2</span> </dt><dd 
+class="description">displays statistics and processing of temporary files and devices
+          </dd><dt class="description">
+     <span 
+class="cmbx-10x-x-109">3</span> </dt><dd 
+class="description">displays disk geometry information and partition table change rules
+          </dd><dt class="description">
+     <span 
+class="cmbx-10x-x-109">4</span> </dt><dd 
+class="description">lists sector mappings as they are written into the map file (i.e. after compaction, in a format
+          suitable to pass it to the BIOS)
+          </dd><dt class="description">
+     <span 
+class="cmbx-10x-x-109">5</span> </dt><dd 
+class="description">lists the mapping of each sector (i.e. before compaction, raw)</dd></dl>
+     <!--l. 1830--><p class="noindent" >When using the <span 
+class="cmtt-10x-x-109">-q </span>option, the levels have a slightly different meaning:
+          </p><dl class="description"><dt class="description">
+     <span 
+class="cmbx-10x-x-109">0</span> </dt><dd 
+class="description">displays only image names
+          </dd><dt class="description">
+     <span 
+class="cmbx-10x-x-109">1</span> </dt><dd 
+class="description">also displays all global and per-image settings
+          </dd><dt class="description">
+     <span 
+class="cmbx-10x-x-109">2</span> </dt><dd 
+class="description">displays the address of the first map sector</dd></dl>
+     </dd></dl>
+<!--l. 1839--><p class="noindent" >Additionally, the kernel configuration parameters <span 
+class="cmtt-10x-x-109">append</span>, <span 
+class="cmtt-10x-x-109">initrd</span>, <span 
+class="cmtt-10x-x-109">ramdisk</span>, <span 
+class="cmtt-10x-x-109">read-only</span>, <span 
+class="cmtt-10x-x-109">read-write</span>, <span 
+class="cmtt-10x-x-109">root</span>
+and <span 
+class="cmtt-10x-x-109">vga</span>, and the general per-image options <span 
+class="cmtt-10x-x-109">fallback</span>, <span 
+class="cmtt-10x-x-109">lock</span>, <span 
+class="cmtt-10x-x-109">optional</span>, <span 
+class="cmtt-10x-x-109">password</span>, <span 
+class="cmtt-10x-x-109">restricted</span>, and
+<span 
+class="cmtt-10x-x-109">single-key </span>can be set in the global options section. They are used as defaults if they aren&#8217;t specified in the
+configuration sections of the respective images. See below for a description.
+</p><!--l. 1848--><p class="noindent" >The plethora of options may be intimidating at first, but in &#8220;normal&#8221; configurations, hardly any options but
+<span 
+class="cmtt-10x-x-109">boot</span>, <span 
+class="cmtt-10x-x-109">compact</span>, <span 
+class="cmtt-10x-x-109">delay</span>, <span 
+class="cmtt-10x-x-109">root</span>, and <span 
+class="cmtt-10x-x-109">vga </span>are used.
+</p><!--l. 1853--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">4.2.3   </span> <a 
+ id="x1-440004.2.3"></a>General per-image options</h5>
+<!--l. 1856--><p class="noindent" >The following options can be specified for all images, independent of their type:
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmtt-10x-x-109">alias=</span><span 
+class="cmti-10x-x-109">name</span> </dt><dd 
+class="description">Specifies a second name for the current entry.
+
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">fallback=</span><span 
+class="cmti-10x-x-109">command</span><span 
+class="cmti-10x-x-109">_line</span> </dt><dd 
+class="description">Specifies a string that is stored as the default command line if the current
+     image is booted. This is useful when experimenting with kernels which may crash before allowing
+     interaction with the system. If using the <span 
+class="cmtt-10x-x-109">fallback </span>option, the next reboot (e.g. triggered
+     by a manual reset or by a watchdog timer) will load a different (supposedly stable) kernel.
+     The command line by the fallback mechanism is cleared by removing or changing the default
+     command line with the <span 
+class="cmtt-10x-x-109">-R </span>option, see <a 
+href="#x1-360004.1.3">4.1.3<!--tex4ht:ref: invcmd --></a>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">label=</span><span 
+class="cmti-10x-x-109">name</span> </dt><dd 
+class="description">By default, LILO&#x00A0;uses the main file name (without its path) of each image specification
+     to identify that image. A different name can be used by setting the variable <span 
+class="cmtt-10x-x-109">label</span>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lock</span> </dt><dd 
+class="description">Enables automatic recording of boot command lines as the defaults for the following boots.
+     This way, LILO&#x00A0;&#8220;locks&#8221; on a choice until it is manually overridden.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">optional</span> </dt><dd 
+class="description">Omit this image if its main file is not available at map creation time. This is useful to
+     specify test kernels that are not always present.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">password=</span><span 
+class="cmti-10x-x-109">password</span> </dt><dd 
+class="description">Ask  the  user  for  a  password  when  trying  to  load  this  image.  Because  the
+     configuration file contains unencrypted passwords when using this option, it should only be
+     readable for the super-user. Passwords are always case-sensitive.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">restricted</span> </dt><dd 
+class="description">Relaxes the password protection by requiring a password only if parameters are specified
+     on the command line (e.g. <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">single</span></span></span>). <span 
+class="cmtt-10x-x-109">restricted </span>can only be used together with <span 
+class="cmtt-10x-x-109">password</span>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">single-key</span> </dt><dd 
+class="description">Enables booting the image by hitting a single key, without the need to press [Enter]
+     afterwards. <span 
+class="cmtt-10x-x-109">single-key </span>requires that either the image&#8217;s label or its alias (or both) is a single
+     character. Furthermore, no other image label or alias may start with that character, e.g. an
+     entry specifying a label <span 
+class="cmtt-10x-x-109">linux </span>and an alias <span 
+class="cmtt-10x-x-109">l </span>is not allowed with <span 
+class="cmtt-10x-x-109">single-key</span>. Note that you
+     can&#8217;t specify command-line parameters for an entry for which only <span 
+class="cmtt-10x-x-109">single-key</span>ed names exist.</dd></dl>
+<!--l. 1898--><p class="noindent" >All general per-image options, with the exception of <span 
+class="cmtt-10x-x-109">label </span>and <span 
+class="cmtt-10x-x-109">alias</span>, can also be set in the global options
+section as defaults for all images.
+</p><!--l. 1902--><p class="noindent" >Example:
+
+</p>
+<div class="verbatim" id="verbatim-7">
+password&#x00A0;=&#x00A0;Geheim
+&#x00A0;<br />single-key
+&#x00A0;<br />image&#x00A0;=&#x00A0;/vmlinuz
+&#x00A0;<br />&#x00A0;&#x00A0;label&#x00A0;=&#x00A0;linux
+&#x00A0;<br />&#x00A0;&#x00A0;alias&#x00A0;=&#x00A0;1
+&#x00A0;<br />&#x00A0;&#x00A0;restricted
+&#x00A0;<br />other&#x00A0;=&#x00A0;/dev/hda1
+&#x00A0;<br />&#x00A0;&#x00A0;label&#x00A0;=&#x00A0;dos
+&#x00A0;<br />&#x00A0;&#x00A0;alias&#x00A0;=&#x00A0;2</div>
+<!--l. 1913--><p class="nopar" >
+</p><!--l. 1916--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">4.2.4   </span> <a 
+ id="x1-450004.2.4"></a>Per-image options for kernels</h5>
+<!--l. 1919--><p class="noindent" >Each (kernel or non-kernel) image description begins with a special variable (see section <a 
+href="#x1-460004.3">4.3<!--tex4ht:ref: bootimg --></a>) which is
+followed by optional variables. The following variables can be used for all image descriptions that describe a
+Linux kernel:
+</p><!--l. 1926--><p class="noindent" >
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmtt-10x-x-109">append=</span><span 
+class="cmti-10x-x-109">string</span> </dt><dd 
+class="description">Appends the options specified in <span 
+class="cmti-10x-x-109">string </span>to the parameter line passed to the kernel.
+     This is typically used to specify parameters of hardware that can&#8217;t be entirely auto-detected,
+     e.g.<br 
+class="newline" /><span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">append</span><span 
+class="cmtt-10x-x-109">&#x00A0;=</span><span 
+class="cmtt-10x-x-109">&#x00A0;"aha152x=0x140,11"</span></span></span>
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">initrd=</span><span 
+class="cmti-10x-x-109">name</span> </dt><dd 
+class="description">Specifies the file that will be loaded at boot time as the initial RAM disk.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">literal=</span><span 
+class="cmti-10x-x-109">string</span> </dt><dd 
+class="description">like <span 
+class="cmtt-10x-x-109">append</span>, but removes all other options (e.g. setting of the root device). Because
+     vital options can be removed unintentionally with <span 
+class="cmtt-10x-x-109">literal</span>, this option cannot be set in the
+     global options section.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">ramdisk=</span><span 
+class="cmti-10x-x-109">size</span> </dt><dd 
+class="description">Specifies the size of the optional RAM disk. A value of zero indicates that no RAM
+     disk should be created. If this variable is omitted, the RAM disk size configured into the boot
+     image is used.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">read-only</span> </dt><dd 
+class="description">Specifies that the root file system should be mounted read-only. Typically, the system
+     startup procedure re-mounts the root file system read-write later (e.g. after fsck&#8217;ing it).
+
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">read-write</span> </dt><dd 
+class="description">specifies that the root file system should be mounted read-write.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">root=</span><span 
+class="cmti-10x-x-109">root</span><span 
+class="cmti-10x-x-109">_device</span> </dt><dd 
+class="description">Specifies the device that should be mounted as root. If the special name <span 
+class="cmtt-10x-x-109">current</span>
+     is used, the root device is set to the device on which the root file system is currently mounted.
+     If the root has been changed with <span 
+class="cmtt-10x-x-109">-r</span>, the respective device is used. If the variable <span 
+class="cmtt-10x-x-109">root </span>is
+     omitted, the root device setting contained in the kernel image is used. It can be changed with
+     the <span 
+class="cmss-10x-x-109">rdev </span>program.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">vga=</span><span 
+class="cmti-10x-x-109">mode</span> </dt><dd 
+class="description"> Specifies the VGA text mode that should be selected when booting. The following values are
+     recognized (case is ignored):
+          <dl class="description"><dt class="description">
+     <span 
+class="cmtt-10x-x-109">normal</span> </dt><dd 
+class="description">select normal 80x25 text mode.
+          </dd><dt class="description">
+     <span 
+class="cmtt-10x-x-109">extended</span> </dt><dd 
+class="description">select 80x50 text mode. The word <span 
+class="cmtt-10x-x-109">extended </span>can be abbreviated to <span 
+class="cmtt-10x-x-109">ext</span>.
+          </dd><dt class="description">
+     <span 
+class="cmtt-10x-x-109">ask</span> </dt><dd 
+class="description">stop and ask for user input (at boot time).
+          </dd><dt class="description">
+     <span 
+class="cmti-10x-x-109">number</span> </dt><dd 
+class="description">use the corresponding text mode. A list of available modes can be obtained by booting
+          with <span 
+class="cmtt-10x-x-109">vga=ask </span>and pressing [Enter].</dd></dl>
+     <!--l. 1966--><p class="noindent" >If this variable is omitted, the VGA mode setting contained in the kernel image is used. <span 
+class="cmss-10x-x-109">rdev </span>supports
+     manipulation of the VGA text mode setting in the kernel image.</p></dd></dl>
+<!--l. 1971--><p class="noindent" >All kernel per-image options but <span 
+class="cmtt-10x-x-109">literal </span>can also be set in the global options section as defaults for all
+kernels.
+</p><!--l. 1974--><p class="noindent" >If one of <span 
+class="cmtt-10x-x-109">ramdisk</span>, <span 
+class="cmtt-10x-x-109">read-only</span>, <span 
+class="cmtt-10x-x-109">read-write</span>, <span 
+class="cmtt-10x-x-109">root</span>, or <span 
+class="cmtt-10x-x-109">vga </span>is omitted in the configuration file and
+the corresponding value in the kernel image is changed, LILO&#x00A0;or the kernel will use the new
+value.
+</p><!--l. 1979--><p class="noindent" >It is perfectly valid to use different settings for the same image, because LILO&#x00A0;stores them in the image
+descriptors and not in the images themselves.
+</p><!--l. 1983--><p class="noindent" >Example:
+
+</p>
+<div class="verbatim" id="verbatim-8">
+image&#x00A0;=&#x00A0;/vmlinuz
+&#x00A0;<br />&#x00A0;&#x00A0;label&#x00A0;=&#x00A0;lin-hd
+&#x00A0;<br />&#x00A0;&#x00A0;root&#x00A0;=&#x00A0;/dev/hda2
+&#x00A0;<br />image&#x00A0;=&#x00A0;/vmlinuz
+&#x00A0;<br />&#x00A0;&#x00A0;label&#x00A0;=&#x00A0;lin-fd
+&#x00A0;<br />&#x00A0;&#x00A0;root&#x00A0;=&#x00A0;/dev/fd0</div>
+<!--l. 1991--><p class="nopar" >
+</p><!--l. 1994--><p class="noindent" >
+</p>
+<h4 class="subsectionHead"><span class="titlemark">4.3   </span> <a 
+ id="x1-460004.3"></a>Boot image types</h4>
+<!--l. 1997--><p class="noindent" >LILO&#x00A0;can boot the following types of images: </p>
+     <ul class="itemize1">
+     <li class="itemize">kernel images from a file.
+     </li>
+     <li class="itemize">kernel images from a block device. (E.g. a floppy disk.)
+     </li>
+     <li class="itemize">the boot sector of some other operating system.</li></ul>
+<!--l. 2004--><p class="noindent" >The image type is determined by the name of the initial variable of the configuration section.
+</p><!--l. 2007--><p class="noindent" >The image files can reside on any media that is accessible at boot time. There&#8217;s no need to put them on the
+root device, although this certainly doesn&#8217;t hurt.
+</p><!--l. 2012--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">4.3.1   </span> <a 
+ id="x1-470004.3.1"></a>Booting kernel images from a file</h5>
+<!--l. 2014--><p class="noindent" >The image is specified as follows: <span 
+class="cmtt-10x-x-109">image=</span><span 
+class="cmti-10x-x-109">name</span>
+</p><!--l. 2016--><p class="noindent" >Example:
+
+</p>
+<div class="verbatim" id="verbatim-9">
+image&#x00A0;=&#x00A0;/linux</div>
+<!--l. 2019--><p class="nopar" >
+</p><!--l. 2021--><p class="noindent" >See sections <a 
+href="#x1-440004.2.3">4.2.3<!--tex4ht:ref: cfggen --></a> and <a 
+href="#x1-450004.2.4">4.2.4<!--tex4ht:ref: cfgkern --></a> for the options that can be added in a kernel image section.
+</p><!--l. 2025--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">4.3.2   </span> <a 
+ id="x1-480004.3.2"></a>Booting kernel images from a device</h5>
+<!--l. 2027--><p class="noindent" >The range of sectors that should be mapped has to be specified. Either a range (<span 
+class="cmti-10x-x-109">start</span><span 
+class="cmtt-10x-x-109">-</span><span 
+class="cmti-10x-x-109">end</span>) or a start and a
+distance (<span 
+class="cmti-10x-x-109">start</span><span 
+class="cmtt-10x-x-109">+</span><span 
+class="cmti-10x-x-109">number</span>) have to be specified. <span 
+class="cmti-10x-x-109">start </span>and <span 
+class="cmti-10x-x-109">end </span>are zero-based. If only the start is specified,
+only that sector is mapped.
+</p><!--l. 2034--><p class="noindent" >The image is specified as follows: <span 
+class="cmtt-10x-x-109">image=</span><span 
+class="cmti-10x-x-109">device</span><span 
+class="cmti-10x-x-109">_name   </span>Additionally, the <span 
+class="cmtt-10x-x-109">range </span>variable must be
+set.
+</p><!--l. 2037--><p class="noindent" >Example:
+
+</p>
+<div class="verbatim" id="verbatim-10">
+image&#x00A0;=&#x00A0;/dev/fd0
+&#x00A0;<br />&#x00A0;&#x00A0;range&#x00A0;=&#x00A0;1+512</div>
+<!--l. 2041--><p class="nopar" >
+</p><!--l. 2043--><p class="noindent" >All kernel options can also be used when booting the kernel from a device.
+</p><!--l. 2046--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">4.3.3   </span> <a 
+ id="x1-490004.3.3"></a>Booting a foreign operating system</h5>
+<!--l. 2049--><p class="noindent" >LILO&#x00A0;can even boot other operating systems, i.e. MS-DOS. To boot an other operating system, the name of
+a loader program, the device or file that contains the boot sector and the device that contains the partition
+table have to be specified.
+</p><!--l. 2055--><p class="noindent" >The boot sector is merged with the partition table and stored in the map file.
+</p><!--l. 2057--><p class="noindent" >Currently, the loaders <span 
+class="cmtt-10x-x-109">chain.b </span>and <span 
+class="cmtt-10x-x-109">os2</span><span 
+class="cmtt-10x-x-109">_d.b </span>exist. <span 
+class="cmtt-10x-x-109">chain.b </span>simply starts the specified boot
+sector.<span class="footnote-mark"><a 
+href="user_21-518.html#fn22x0"><sup class="textsuperscript">22</sup></a></span><a 
+ id="x1-49001f22"></a>
+<span 
+class="cmtt-10x-x-109">os2</span><span 
+class="cmtt-10x-x-109">_d.b </span>it a variant of <span 
+class="cmtt-10x-x-109">chain.b </span>that can boot OS/2 from the second hard disk. The <span 
+class="cmtt-10x-x-109">map-drive </span>option has
+to be used with <span 
+class="cmtt-10x-x-109">os2</span><span 
+class="cmtt-10x-x-109">_d.b </span>to actually swap the drives.
+</p><!--l. 2065--><p class="noindent" >The image is specified as follows: <span 
+class="cmtt-10x-x-109">other=</span><span 
+class="cmti-10x-x-109">device</span><span 
+class="cmti-10x-x-109">_name </span>or <span 
+class="cmtt-10x-x-109">other=</span><span 
+class="cmti-10x-x-109">file</span><span 
+class="cmti-10x-x-109">_name</span>
+</p><!--l. 2068--><p class="noindent" >In addition to the options listen in section <a 
+href="#x1-440004.2.3">4.2.3<!--tex4ht:ref: cfggen --></a>, the following variables are recognized:
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmtt-10x-x-109">change</span> </dt><dd 
+class="description">Change the partition table according to the rules specified in this <span 
+class="cmtt-10x-x-109">change </span>section. This option
+     is intended for booting systems which find their partitions by examining the partition table.
+     See section <a 
+href="#x1-560004.5.3">4.5.3<!--tex4ht:ref: ptch --></a> for details.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">loader=</span><span 
+class="cmti-10x-x-109">chain</span><span 
+class="cmti-10x-x-109">_loader</span> </dt><dd 
+class="description">Specifies the chain loader that should be used. If it is omitted, <span 
+class="cmtt-10x-x-109">/boot/chain.b</span>
+     is used.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">map-drive=</span><span 
+class="cmti-10x-x-109">bios</span><span 
+class="cmti-10x-x-109">_device</span><span 
+class="cmti-10x-x-109">_code</span> </dt><dd 
+class="description">Instructs <span 
+class="cmtt-10x-x-109">chain.b </span>to installs a resident driver that re-maps the floppy
+     or hard disk drives. This way, one can boot any operating system from a hard disk different
+     from the first one, as long as that operating system uses <span 
+class="cmbx-10x-x-109">only </span>the BIOS to access that hard
+
+     disk.<span class="footnote-mark"><a 
+href="user_21-519.html#fn23x0"><sup class="textsuperscript">23</sup></a></span><a 
+ id="x1-49002f23"></a>
+     This is known to work for PC/MS-DOS.
+     <!--l. 2089--><p class="noindent" ><span 
+class="cmtt-10x-x-109">map-drive </span>is followed by the variable <span 
+class="cmtt-10x-x-109">to=</span><span 
+class="cmti-10x-x-109">bios</span><span 
+class="cmti-10x-x-109">_device</span><span 
+class="cmti-10x-x-109">_code </span>which specifies the drive that should
+     effectively be accessed instead of the original one. The list of mappings is only searched until
+     the first match is found. It is therefore possible to &#8220;swap&#8221; drives, see the second example below.
+     </p></dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">table=</span><span 
+class="cmti-10x-x-109">device</span> </dt><dd 
+class="description">Specifies the device that contains the partition table. LILO&#x00A0;does not pass partition
+     information to the booted operating system if this variable is omitted. (Some operating systems
+     have other means to determine from which partition they have been booted. E.g. MS-DOS
+     usually  stores  the  geometry  of  the  boot  disk  or  partition  in  its  boot  sector.)  Note  that
+     <span 
+class="cmtt-10x-x-109">/sbin/lilo </span>must be re-run if a partition table mapped referenced with <span 
+class="cmtt-10x-x-109">table </span>is modified.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">unsafe</span> </dt><dd 
+class="description">Do  not  access  the  boot  sector  at  map  creation  time.  This  disables  some  sanity  checks,
+     including a partition table check. If the boot sector is on a fixed-format floppy disk device, using
+     <span 
+class="cmtt-10x-x-109">unsafe </span>avoids the need to put a readable disk into the drive when running the map installer.
+     <span 
+class="cmtt-10x-x-109">unsafe </span>and <span 
+class="cmtt-10x-x-109">table </span>are mutually incompatible.</dd></dl>
+<!--l. 2109--><p class="noindent" >None of these options can be set in the global options section.
+</p><!--l. 2111--><p class="noindent" >Examples:
+
+</p>
+<div class="verbatim" id="verbatim-11">
+other&#x00A0;=&#x00A0;/dev/hda2
+&#x00A0;<br />&#x00A0;&#x00A0;label&#x00A0;=&#x00A0;dos
+&#x00A0;<br />&#x00A0;&#x00A0;table&#x00A0;=&#x00A0;/dev/hda</div>
+<!--l. 2116--><p class="nopar" >
+
+</p>
+<div class="verbatim" id="verbatim-12">
+other&#x00A0;=&#x00A0;/dev/hdb2
+&#x00A0;<br />&#x00A0;&#x00A0;label&#x00A0;=&#x00A0;os2
+&#x00A0;<br />&#x00A0;&#x00A0;loader&#x00A0;=&#x00A0;/boot/os2_d.b
+&#x00A0;<br />&#x00A0;&#x00A0;map-drive&#x00A0;=&#x00A0;0x80
+&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;to&#x00A0;=&#x00A0;0x81
+&#x00A0;<br />&#x00A0;&#x00A0;map-drive&#x00A0;=&#x00A0;0x81
+&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;to&#x00A0;=&#x00A0;0x80</div>
+<!--l. 2126--><p class="nopar" >
+</p>
+<h4 class="subsectionHead"><span class="titlemark">4.4   </span> <a 
+ id="x1-500004.4"></a>Disk geometry</h4>
+<!--l. 2132--><p class="noindent" >For floppies and most hard disks, LILO&#x00A0;can obtain the disk geometry information from the kernel.
+Unfortunately, there are some exotic disks or adapters which may either not supply this information or
+which may even return incorrect information.
+</p><!--l. 2137--><p class="noindent" >If no geometry information is available, LILO&#x00A0;reports either the error <br 
+class="newline" /><span 
+class="cmtt-10x-x-109">geo</span><span 
+class="cmtt-10x-x-109">_query</span><span 
+class="cmtt-10x-x-109">_dev HDIO</span><span 
+class="cmtt-10x-x-109">_GETGEO (dev 0x</span><span 
+class="cmti-10x-x-109">number</span><span 
+class="cmtt-10x-x-109">) </span><br 
+class="newline" />or <br 
+class="newline" /><span 
+class="cmtt-10x-x-109">Device 0x</span><span 
+class="cmti-10x-x-109">number</span><span 
+class="cmtt-10x-x-109">: Got bad geometry </span><span 
+class="cmti-10x-x-109">sec</span><span 
+class="cmtt-10x-x-109">/</span><span 
+class="cmti-10x-x-109">hd</span><span 
+class="cmtt-10x-x-109">/</span><span 
+class="cmti-10x-x-109">cyl</span>
+</p><!--l. 2143--><p class="noindent" >If incorrect information is returned, booting may fail in several ways, typically with a partial &#8220;LILO&#8221;
+banner message. In this document, that is called a &#8220;geometry mismatch&#8221;.
+</p><!--l. 2147--><p class="noindent" >The next step should be to attempt setting the <span 
+class="cmtt-10x-x-109">lba32 </span>or <span 
+class="cmtt-10x-x-109">linear </span>configuration variable or the <span 
+class="cmtt-10x-x-109">-L </span>or <span 
+class="cmtt-10x-x-109">-l</span>
+command-line option. If this doesn&#8217;t help, the entire disk geometry has to be specified explicitly. Note that
+<span 
+class="cmtt-10x-x-109">linear </span>doesn&#8217;t always work with floppy disks.
+</p><!--l. 2152--><p class="noindent" >Another common use of disk sections is if an (E)IDE and a SCSI drive are used in the same system and the
+BIOS is configured to use the SCSI drive as the first drive. (Normally, the (E)IDE drive would be the first
+drive and the SCSI drive would be the second one.) Since LILO&#x00A0;doesn&#8217;t know how the BIOS
+is configured, it needs to be told explicitly about this arrangement. (See the second example
+below.)
+</p><!--l. 2160--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">4.4.1   </span> <a 
+ id="x1-510004.4.1"></a>Obtaining the geometry</h5>
+<!--l. 2162--><p class="noindent" >The disk geometry parameters can be obtained by booting MS-DOS and running the program <span 
+class="cmtt-10x-x-109">DPARAM.COM</span>
+with the hexadecimal BIOS code of the drive as its argument, e.g. <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">dparam</span><span 
+class="cmtt-10x-x-109">&#x00A0;0x80</span></span></span> for the first hard disk. It
+displays the number of sectors per track, the number of heads per cylinder and the number of cylinders. All
+three numbers are one-based.
+
+</p><!--l. 2169--><p class="noindent" >Alternatively, the geometry may also be determined by reading the information presented by the &#8220;setup&#8221;
+section of the ROM-BIOS or by using certain disk utilities under operating systems accessing the disk
+through the BIOS.
+</p><!--l. 2174--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">4.4.2   </span> <a 
+ id="x1-520004.4.2"></a>Specifying the geometry</h5>
+<!--l. 2177--><p class="noindent" >Disk geometry parameters are specified in the options section of the configuration file. Each disk parameter
+section begins with <span 
+class="cmtt-10x-x-109">disk=</span><span 
+class="cmti-10x-x-109">disk</span><span 
+class="cmti-10x-x-109">_device</span>, similar to the way how boot images are specified. It is suggested to
+group disk parameter sections together, preferably at the beginning or the end of the options
+section.
+</p><!--l. 2184--><p class="noindent" >For each disk, the following variables can be specified:
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmtt-10x-x-109">bios=</span><span 
+class="cmti-10x-x-109">bios</span><span 
+class="cmti-10x-x-109">_device</span><span 
+class="cmti-10x-x-109">_code</span> </dt><dd 
+class="description">Is the number the BIOS uses to refer to that device. Normally, it&#8217;s <span 
+class="cmtt-10x-x-109">0x80 </span>for
+     the first hard disk and <span 
+class="cmtt-10x-x-109">0x81 </span>for the second hard disk. Note that hexadecimal numbers have to
+     begin with &#8220;0x&#8221;. If <span 
+class="cmtt-10x-x-109">bios </span>is omitted, LILO&#x00A0;tries to &#8220;guess&#8221; that number.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">sectors=</span><span 
+class="cmti-10x-x-109">sectors</span> </dt><dd 
+class="description">and
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">heads=</span><span 
+class="cmti-10x-x-109">heads</span> </dt><dd 
+class="description">specify the number of sectors per track and the number of heads, i.e. the number of
+     tracks per cylinder. Both parameters have to be either specified together or they have to be
+     entirely omitted. If omitted, LILO&#x00A0;tries to obtain that geometry information from the kernel.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">cylinders=</span><span 
+class="cmti-10x-x-109">cylinders</span> </dt><dd 
+class="description">Specifies the number of cylinders. This value is only used for sanity checks.
+     If <span 
+class="cmtt-10x-x-109">cylinders </span>is omitted, LILO&#x00A0;uses the information obtained from the kernel if geometry
+     information had to be requested in order to determine some other parameter. Otherwise,<span class="footnote-mark"><a 
+href="user_21-520.html#fn24x0"><sup class="textsuperscript">24</sup></a></span><a 
+ id="x1-52001f24"></a>
+     it just assumes the number of cylinders to be 1024, which is the cylinder limit imposed by the
+     BIOS.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">inaccessible</span> </dt><dd 
+class="description">Marks the device as inaccessible (for the BIOS). This is useful if some disks on
+     the system can&#8217;t be read by the BIOS, although LILO&#x00A0;&#8220;thinks&#8221; they can. If one accidentally
+     tries to use files located on such disks for booting, the map installer won&#8217;t notice and the
+     system becomes unbootable. The most likely use of <span 
+class="cmtt-10x-x-109">inaccessible </span>is to prevent repetition after
+     experiencing such a situation once. No other variables may be specified if a device is configured
+     as <span 
+class="cmtt-10x-x-109">inaccessible</span>.</dd></dl>
+<!--l. 2217--><p class="noindent" >Additionally, partition subsections can be added with <span 
+class="cmtt-10x-x-109">partition=</span><span 
+class="cmti-10x-x-109">partition</span><span 
+class="cmti-10x-x-109">_device</span>. Each partition section
+can contain only one variable:
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmtt-10x-x-109">start=</span><span 
+class="cmti-10x-x-109">partition</span><span 
+class="cmti-10x-x-109">_offset</span> </dt><dd 
+class="description">Specifies the zero-based number of the start sector of that partition. The
+
+     whole disk always has a partition offset of zero. The partition offset is only necessary when
+     using devices for which the kernel does not provide that information, e.g. CD-ROMs.</dd></dl>
+<!--l. 2228--><p class="noindent" >Examples:
+
+</p>
+<div class="verbatim" id="verbatim-13">
+disk&#x00A0;=&#x00A0;/dev/sda
+&#x00A0;<br />&#x00A0;&#x00A0;bios&#x00A0;=&#x00A0;0x80
+&#x00A0;<br />&#x00A0;&#x00A0;sectors&#x00A0;=&#x00A0;32
+&#x00A0;<br />&#x00A0;&#x00A0;heads&#x00A0;=&#x00A0;64
+&#x00A0;<br />&#x00A0;&#x00A0;cylinders&#x00A0;=&#x00A0;632
+&#x00A0;<br />&#x00A0;&#x00A0;partition&#x00A0;=&#x00A0;/dev/sda1
+&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;start&#x00A0;=&#x00A0;2048
+&#x00A0;<br />&#x00A0;&#x00A0;partition&#x00A0;=&#x00A0;/dev/sda2
+&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;start&#x00A0;=&#x00A0;204800
+&#x00A0;<br />&#x00A0;&#x00A0;partition&#x00A0;=&#x00A0;/dev/sda3
+&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;start&#x00A0;=&#x00A0;500000
+&#x00A0;<br />&#x00A0;&#x00A0;partition&#x00A0;=&#x00A0;/dev/sda4
+&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;start&#x00A0;=&#x00A0;900000</div>
+<!--l. 2243--><p class="nopar" >
+
+</p>
+<div class="verbatim" id="verbatim-14">
+disk&#x00A0;=&#x00A0;/dev/sda
+&#x00A0;<br />&#x00A0;&#x00A0;bios&#x00A0;=&#x00A0;0x80
+&#x00A0;<br />disk&#x00A0;=&#x00A0;/dev/hda
+&#x00A0;<br />&#x00A0;&#x00A0;bios&#x00A0;=&#x00A0;0x81</div>
+<!--l. 2250--><p class="nopar" >
+</p><!--l. 2253--><p class="noindent" >
+</p>
+<h4 class="subsectionHead"><span class="titlemark">4.5   </span> <a 
+ id="x1-530004.5"></a>Partition table manipulation</h4>
+<!--l. 2256--><p class="noindent" >Some non-Linux operating systems obtain information about their partitions (e.g. their equivalent of the
+root file system) from the partition table. If more than one such operating system is installed on a PC,
+they may have conflicting interpretations of the content of the partition table. Those problems
+can be avoided by changing the partition table, depending on which operating system is being
+booted.
+</p><!--l. 2263--><p class="noindent" >Partition table changes are specified in a <span 
+class="cmtt-10x-x-109">change </span>section in the configuration file section describing the
+foreign operating system. Note that <span 
+class="cmtt-10x-x-109">change </span>sections are only accepted if the build-time option
+<span 
+class="cmtt-10x-x-109">REWRITE</span><span 
+class="cmtt-10x-x-109">_TABLE </span>is set.
+</p><!--l. 2268--><p class="noindent" >The <span 
+class="cmtt-10x-x-109">change </span>section contains subsections for each partition whose table entry needs to be modified.
+Partitions are specified with <span 
+class="cmtt-10x-x-109">partition=</span><span 
+class="cmti-10x-x-109">device</span><span 
+class="cmti-10x-x-109">_name</span>
+</p><!--l. 2272--><p class="noindent" >Changes are applied in the sequence in which they appear in the configuration file. Configurations
+containing changes that are redundant either by repeating a previous change or by changing its result
+further are invalid and refused by the map installer.
+</p><!--l. 2277--><p class="noindent" >Internally, all changes are expressed as rules which specify the location (disk and offset in the
+partition table), the value this location must contain before the change, and the value that
+has to be stored. As a safety measure, the rule is ignored if the previous value is found to be
+different.
+</p><!--l. 2284--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">4.5.1   </span> <a 
+ id="x1-540004.5.1"></a>Partition activation</h5>
+<!--l. 2286--><p class="noindent" >This option is intended for booting systems which determine their boot partition by examining the active
+flag in the partition table. The flag is enabled with <span 
+class="cmtt-10x-x-109">activate </span>and disabled with <span 
+class="cmtt-10x-x-109">deactivate</span>.
+Note that only the current partition is affected. LILO&#x00A0;does not automatically change the active
+flags of other partitions and it also allows more than one partition to be active at the same
+time.
+
+</p><!--l. 2293--><p class="noindent" >Example:
+
+</p>
+<div class="verbatim" id="verbatim-15">
+other&#x00A0;=&#x00A0;/dev/sda4
+&#x00A0;<br />&#x00A0;&#x00A0;label&#x00A0;=&#x00A0;sco
+&#x00A0;<br />&#x00A0;&#x00A0;change
+&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;partition&#x00A0;=&#x00A0;/dev/sda4
+&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;activate
+&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;partition&#x00A0;=&#x00A0;/dev/sda3
+&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;deactivate</div>
+<!--l. 2303--><p class="nopar" >
+</p><!--l. 2306--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">4.5.2   </span> <a 
+ id="x1-550004.5.2"></a>Partition type change rules</h5>
+<!--l. 2309--><p class="noindent" >Partition type changes are normally a transition between two possible values, e.g. a typical convention is to
+set the lowest bit in the upper nibble of the partition type (i.e. 0x10) in order to &#8220;hide&#8221;, and to clear it to
+&#8220;unhide&#8221; a partition. LILO&#x00A0;performs these changes based on a set of rules. Each rule defines
+the name of a partition type, its normal value, and the value when hidden. Those rules are
+defined in the options section of the configuration file. The section defining them begins with
+<span 
+class="cmtt-10x-x-109">change-rules</span>.
+</p><!--l. 2318--><p class="noindent" >The following options and variables can appear in the section:
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmtt-10x-x-109">reset</span> </dt><dd 
+class="description">Removes all previously defined rules. This is needed if a user doesn&#8217;t wish to use the pre-defined
+     rules (see below).
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">type=</span><span 
+class="cmti-10x-x-109">name</span> </dt><dd 
+class="description">Adds a rule for the type with the specified name. Type names are case-insensitive. The
+     values are defined with <span 
+class="cmtt-10x-x-109">normal=</span><span 
+class="cmti-10x-x-109">byte </span>and <span 
+class="cmtt-10x-x-109">hidden=</span><span 
+class="cmti-10x-x-109">byte</span>. Values can be specified as decimal or as
+     hexadecimal numbers with a leading <span 
+class="cmtt-10x-x-109">0x</span>. If only one of the values is present, the other value is
+     assumed to be the same number, but with the most significant bit inverted.</dd></dl>
+<!--l. 2331--><p class="noindent" >LILO&#x00A0;pre-defines rules for the three partition types of DOS partitions. The following example removes the
+pre-defined rules and creates them again:
+
+</p>
+<div class="verbatim" id="verbatim-16">
+change-rules
+&#x00A0;<br />&#x00A0;&#x00A0;reset
+&#x00A0;<br />&#x00A0;&#x00A0;type&#x00A0;=&#x00A0;DOS12
+&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;normal&#x00A0;=&#x00A0;0x01
+&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;hidden&#x00A0;=&#x00A0;0x11
+&#x00A0;<br />&#x00A0;&#x00A0;type&#x00A0;=&#x00A0;DOS16_small
+&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;normal&#x00A0;=&#x00A0;4&#x00A0;#&#x00A0;hidden&#x00A0;is&#x00A0;0x14
+&#x00A0;<br />&#x00A0;&#x00A0;type&#x00A0;=&#x00A0;DOS16_big
+&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;hidden&#x00A0;=&#x00A0;0x16</div>
+<!--l. 2344--><p class="nopar" >
+</p><!--l. 2347--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">4.5.3   </span> <a 
+ id="x1-560004.5.3"></a>Partition type changes</h5>
+<!--l. 2350--><p class="noindent" >Partition type changes are specified in the partition section as <span 
+class="cmtt-10x-x-109">set=</span><span 
+class="cmti-10x-x-109">name</span><span 
+class="cmtt-10x-x-109">_</span><span 
+class="cmti-10x-x-109">state</span>, where <span 
+class="cmti-10x-x-109">name </span>is the name of
+the partition type, and <span 
+class="cmti-10x-x-109">state </span>is its state, i.e. <span 
+class="cmtt-10x-x-109">normal </span>or <span 
+class="cmtt-10x-x-109">hidden</span>.
+</p><!--l. 2355--><p class="noindent" >Example:
+
+</p>
+<div class="verbatim" id="verbatim-17">
+other&#x00A0;=&#x00A0;/dev/sda3
+&#x00A0;<br />&#x00A0;&#x00A0;label&#x00A0;=&#x00A0;dos
+&#x00A0;<br />&#x00A0;&#x00A0;change
+&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;partition&#x00A0;=&#x00A0;/dev/sda2
+&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;set&#x00A0;=&#x00A0;dos16_big_normal
+&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;partition&#x00A0;=&#x00A0;/dev/sda3
+&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;activate
+&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;set&#x00A0;=&#x00A0;DOS16_big_normal</div>
+<!--l. 2366--><p class="nopar" >
+</p><!--l. 2368--><p class="noindent" >Only one <span 
+class="cmtt-10x-x-109">set </span>variable is allowed per partition section. In the rare event that more than one <span 
+class="cmtt-10x-x-109">set </span>variable is
+needed, further partition sections can be used.
+</p><!--l. 2373--><p class="noindent" >
+</p>
+<h4 class="subsectionHead"><span class="titlemark">4.6   </span> <a 
+ id="x1-570004.6"></a>Keyboard translation</h4>
+<!--l. 2376--><p class="noindent" >The PC keyboard emits so-called scan codes, which are basically key numbers. The BIOS then translates
+those scan codes to the character codes of the characters printed on the key-caps. By default, the BIOS
+normally assumes that the keyboard has a US layout. Once an operating system is loaded, this operating
+system can use a different mapping.
+</p><!--l. 2382--><p class="noindent" >At boot time, LILO&#x00A0;only has access to the basic services provided by the BIOS and therefore receives the character
+codes for an US keyboard. It provides a simple mechanism to re-map the character codes to what is appropriate for the
+actual layout.<span class="footnote-mark"><a 
+href="user_21-521.html#fn25x0"><sup class="textsuperscript">25</sup></a></span><a 
+ id="x1-57001f25"></a>
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">4.6.1   </span> <a 
+ id="x1-580004.6.1"></a>Compiling keyboard translation tables</h5>
+<!--l. 2394--><p class="noindent" >LILO&#x00A0;obtains layout information from the keyboard translation tables Linux uses for the text
+console. They are usually stored in <span 
+class="cmtt-10x-x-109">/usr/lib/kbd/keytables</span>. LILO&#x00A0;comes with a program
+<span 
+class="cmss-10x-x-109">keytab-lilo.pl </span>that reads those tables and generates a table suitable for use by the map installer.
+<span 
+class="cmss-10x-x-109">keytab-lilo.pl </span>invokes the program <span 
+class="cmss-10x-x-109">loadkeys </span>to print the tables in a format that is easy to parse.
+<span class="footnote-mark"><a href="user_21-522.html#fn26x0"><sup class="textsuperscript">26</sup></a>
+</span>
+</p><!--l. 2404--><p class="noindent" ><span 
+class="cmss-10x-x-109">keytab-lilo.pl </span>is used as follows:
+</p><!--l. 2406--><p class="indent" ><span 
+class="cmtt-10x-x-109">keytab-lilo.pl</span> <span class="big">[</span> <span 
+class="cmtt-10x-x-109">-p </span><span 
+class="cmti-10x-x-109">old_code</span><span 
+class="cmtt-10x-x-109">=</span><span 
+class="cmti-10x-x-109">new_code</span>  <span class="big">]</span> <span 
+class="cmmi-10x-x-109">&#x2026;</span> <span class="big">[</span><span 
+class="cmti-10x-x-109">path</span><span class="big">]</span><span 
+class="cmti-10x-x-109">default_layout</span><span class="big">[</span><span 
+class="cmtt-10x-x-109">.extension</span><span class="big">]</span> <br 
+class="newline" /><span class="big">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[</span><span 
+class="cmti-10x-x-109">path</span><span class="big">]</span><span 
+class="cmti-10x-x-109">kbd_layout</span><span class="big">[</span><span 
+class="cmtt-10x-x-109">.extension</span><span class="big">]</span> <span 
+class="cmtt-10x-x-109">&#x00A0;</span>
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmtt-10x-x-109">-p </span><span 
+class="cmti-10x-x-109">old_code</span><span 
+class="cmtt-10x-x-109">=</span><span 
+class="cmti-10x-x-109">new_code</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Specifies corrections (&#8220;patches&#8221;) to the mapping obtained from the translation table files. E.g.
+     if pressing the upper case &#8220;A&#8221; should yield an at sign, <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">-p</span><span 
+class="cmtt-10x-x-109">&#x00A0;65=64</span></span></span> would be used. The <span 
+class="cmtt-10x-x-109">-p </span>option
+     can be repeated any number of times. The codes can also be given as hexadecimal or as octal
+     numbers if they are prefixed with <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">0x</span></span></span> or <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">0</span></span></span>, respectively.
+     </dd><dt class="description">
+<span 
+class="cmti-10x-x-109">path</span> </dt><dd 
+class="description">The directory in which the file resides. The default path is <span 
+class="cmtt-10x-x-109">/usr/lib/kbd/keytables</span>.
+     </dd><dt class="description">
+<span 
+class="cmti-10x-x-109">extension</span> </dt><dd 
+class="description">Usually the trailing <span 
+class="cmtt-10x-x-109">.map</span>, which is automatically added if the file name doesn&#8217;t contain dots.
+     </dd><dt class="description">
+<span 
+class="cmti-10x-x-109">default_layout</span> </dt><dd 
+class="description">Is the layout which specifies the translation by the BIOS. If none is specified, <span 
+class="cmtt-10x-x-109">us </span>is assumed.
+     </dd><dt class="description">
+<span 
+class="cmti-10x-x-109">kbd_layout</span> </dt><dd 
+class="description">Is the actual layout of the keyboard.</dd></dl>
+<!--l. 2430--><p class="noindent" ><span 
+class="cmss-10x-x-109">keytab-lilo.pl </span>writes the resulting translation table as a binary string to standard output. Such tables can be
+stored anywhere with any name, but the suggested naming convention is <span 
+class="cmtt-10x-x-109">/boot/</span><span 
+class="cmti-10x-x-109">kbd</span><span 
+class="cmtt-10x-x-109">.ktl </span>(&#8220;<span class="underline">K</span>eyboard <span class="underline">T</span>able
+for <span class="underline">L</span>ilo&#8221;), where <span 
+class="cmti-10x-x-109">kbd </span>is the name of the keyboard layout.
+</p><!--l. 2436--><p class="noindent" >Example:
+
+</p>
+<div class="verbatim" id="verbatim-18">
+keytab-lilo.pl&#x00A0;de&#x00A0;&#x003E;/boot/de.ktl</div>
+<!--l. 2439--><p class="nopar" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">4.6.2   </span> <a 
+ id="x1-590004.6.2"></a>Using keyboard translation tables</h5>
+<!--l. 2444--><p class="noindent" >The keyboard translation table file is specified with the global configuration option <span 
+class="cmtt-10x-x-109">keytable=</span><span 
+class="cmti-10x-x-109">table</span><span 
+class="cmti-10x-x-109">_file</span>. The
+complete name of the file has to be given.
+</p><!--l. 2448--><p class="noindent" >Example:
+
+</p>
+<div class="verbatim" id="verbatim-19">
+keytable&#x00A0;=&#x00A0;/boot/de.klt</div>
+<!--l. 2451--><p class="nopar" >
+</p><!--l. 2454--><p class="noindent" >
+
+</p>
+<h3 class="sectionHead"><span class="titlemark">5   </span> <a 
+ id="x1-600005"></a>Installation and updates</h3>
+<!--l. 2458--><p class="noindent" >
+</p>
+<h4 class="subsectionHead"><span class="titlemark">5.1   </span> <a 
+ id="x1-610005.1"></a>Installation</h4>
+<!--l. 2460--><p class="noindent" >This section describes the installation of LILO. See section <a 
+href="#x1-720005.3">5.3<!--tex4ht:ref: deinst --></a> for how to uninstall LILO.
+</p><!--l. 2464--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">5.1.1   </span> <a 
+ id="x1-620005.1.1"></a>Compatibility</h5>
+<!--l. 2466--><p class="noindent" >The kernel header files have to be in <span 
+class="cmtt-10x-x-109">/usr/include/linux </span>and the kernel usually has to be configured by
+running <span 
+class="cmtt-10x-x-109">make config </span>before LILO&#x00A0;can be compiled.
+</p><!--l. 2470--><p class="noindent" ><span 
+class="cmtt-10x-x-109">/bin/sh </span>has to be a real Bourne shell. <span 
+class="cmss-10x-x-109">bash </span>is sufficiently compatible, but some <span 
+class="cmss-10x-x-109">ksh </span>clones may cause
+problems.
+</p><!--l. 2473--><p class="noindent" >A file named <span 
+class="cmtt-10x-x-109">INCOMPAT </span>is included in the distribution. It describes incompatibilities to older versions of
+LILO&#x00A0;and may also contain further compatibility notes.
+</p><!--l. 2478--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">5.1.2   </span> <a 
+ id="x1-630005.1.2"></a>Quick installation</h5>
+<!--l. 2481--><p class="noindent" >If you want to install LILO&#x00A0;on your hard disk and if you don&#8217;t want to use all its features, you can use the
+quick installation script. Read <span 
+class="cmtt-10x-x-109">QuickInst </span>for details.
+</p><!--l. 2485--><p class="noindent" ><span 
+class="cmss-10x-x-109">QuickInst </span>can only be used for first-time installations or to entirely replace an existing installation, <span 
+class="cmbx-10x-x-109">not </span>to
+update or modify an existing installation of LILO. Be sure you&#8217;ve extracted LILO&#x00A0;into a directory that
+doesn&#8217;t contain any files of other LILO&#x00A0;installations.
+</p><!--l. 2492--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">5.1.3   </span> <a 
+ id="x1-640005.1.3"></a>Files</h5>
+<!--l. 2494--><p class="noindent" >Some of the files contained in <span 
+class="cmtt-10x-x-109">lilo-21.tar.gz</span>:
+</p><!--l. 2496--><p class="noindent" >
+
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/README</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />This documentation in plain ASCII format. Some sections containing complex tables are only
+     included in the <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span 
+class="E">E</span>X</span></span>&#x00A0;version in <span 
+class="cmtt-10x-x-109">doc/user.tex</span>
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/INCOMPAT</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />List of incompatibilities to previous versions of LILO.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/CHANGES</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Change history.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/VERSION</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />The version number of the respective release.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/QuickInst</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Quick installation script.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/lilo-</span><span 
+class="cmti-10x-x-109">version</span><span 
+class="cmtt-10x-x-109">.lsm</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />The LSM (&#8220;<span class="underline">L</span>inux <span class="underline">S</span>oftware <span class="underline">M</span>ap&#8221;) entry of the respective LILO&#x00A0;release.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/Makefile</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Makefile to generate everything else.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/*.c</span><span 
+class="cmbx-10x-x-109">, </span><span 
+class="cmtt-10x-x-109">lilo/*.h</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />LILO map installer C source and common header files.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/*.S</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />LILO boot loader assembler source.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/activate.c</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />C source of a simple boot partition setter.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/dparam.s</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Assembler source of a disk parameter dumper.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/mkdist</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Shell script used to create the current LILO&#x00A0;distribution.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/keytab-lilo.pl</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Perl script to generate keyboard translation tables.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/doc/README</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Description of how to generate the documentation.
+
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/doc/Makefile</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Makefile  used  to  convert  the  <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span 
+class="E">E</span>X</span></span>&#x00A0;source  into  either  DVI  output  or  the  plain  ASCII
+     README file.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/doc/user.tex</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" /><span class="LATEX">L<span class="A">A</span><span class="TEX">T<span 
+class="E">E</span>X</span></span>&#x00A0;source of LILO&#8217;s user&#8217;s guide (this document).
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/doc/tech.tex</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" /><span class="LATEX">L<span class="A">A</span><span class="TEX">T<span 
+class="E">E</span>X</span></span>&#x00A0;source of LILO&#8217;s technical overview.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/doc/*.fig</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Various <span 
+class="cmss-10x-x-109">xfig </span>pictures used in the technical overview.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/doc/fullpage.sty</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Style file to save a few square miles of forest.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/doc/rlatex</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Shell script that invokes <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span 
+class="E">E</span>X</span></span>&#x00A0;repeatedly until all references have settled.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/doc/t2a.pl</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" /><span 
+class="cmss-10x-x-109">Perl </span>script to convert the <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span 
+class="E">E</span>X</span></span>&#x00A0;source of the user&#8217;s guide to plain ASCII.</dd></dl>
+<!--l. 2547--><p class="noindent" >Files created after <span 
+class="cmtt-10x-x-109">make </span>in <span 
+class="cmtt-10x-x-109">lilo/ </span>(among others):
+</p><!--l. 2549--><p class="noindent" >
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/boot.b</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Combined boot sector. <span 
+class="cmtt-10x-x-109">make install </span>puts this file into <span 
+class="cmtt-10x-x-109">/boot</span>
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/chain.b</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Generic chain loader. <span 
+class="cmtt-10x-x-109">make install </span>puts this file into <span 
+class="cmtt-10x-x-109">/boot</span>
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/os2</span><span 
+class="cmtt-10x-x-109">_d.b</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Chain loader to load <span 
+class="cmss-10x-x-109">OS/2 </span>from the second hard disk. <span 
+class="cmtt-10x-x-109">make install </span>puts this file into <span 
+class="cmtt-10x-x-109">/boot</span>
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/lilo</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />LILO&#x00A0;(map) installer. <span 
+class="cmtt-10x-x-109">make install </span>puts this file into <span 
+class="cmtt-10x-x-109">/sbin</span>
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/activate</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Simple boot partition setter.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">lilo/dparam.com</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />MS-DOS executable of the disk parameter dumper.</dd></dl>
+
+<!--l. 2566--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">5.1.4   </span> <a 
+ id="x1-650005.1.4"></a>Normal first-time installation</h5>
+<!--l. 2569--><p class="noindent" >First, you have to install the LILO&#x00A0;files:
+</p>
+     <ul class="itemize1">
+     <li class="itemize">extract all files from <span 
+class="cmtt-10x-x-109">lilo-</span><span 
+class="cmti-10x-x-109">version</span><span 
+class="cmtt-10x-x-109">.tar.gz </span>in a new directory.<span class="footnote-mark"><a 
+href="user_21-523.html#fn27x0"><sup class="textsuperscript">27</sup></a></span><a 
+ id="x1-65001f27"></a>
+     </li>
+     <li class="itemize">configure the <span 
+class="cmtt-10x-x-109">Makefile </span>(see section <a 
+href="#x1-660005.1.5">5.1.5<!--tex4ht:ref: cfgmf --></a>)
+     </li>
+     <li class="itemize">run   <span 
+class="cmtt-10x-x-109">make  </span>to compile and assemble all parts.
+     </li>
+     <li class="itemize">run   <span 
+class="cmtt-10x-x-109">make install  </span>to copy all LILO&#x00A0;files to the directories where they&#8217;re installed. <span 
+class="cmtt-10x-x-109">/sbin</span>
+     should now contain the file <span 
+class="cmtt-10x-x-109">lilo</span>, <span 
+class="cmtt-10x-x-109">/usr/sbin </span>should contain <span 
+class="cmtt-10x-x-109">keytab-lilo.pl</span>, and <span 
+class="cmtt-10x-x-109">/boot </span>should
+     contain <span 
+class="cmtt-10x-x-109">boot.b</span>, <span 
+class="cmtt-10x-x-109">chain.b</span>, and <span 
+class="cmtt-10x-x-109">os2</span><span 
+class="cmtt-10x-x-109">_d.b</span>.</li></ul>
+<!--l. 2584--><p class="noindent" >If you want to use LILO&#x00A0;on a non-standard disk, you might have to determine the parameters of your
+disk(s) and specify them in the configuration file. See section <a 
+href="#x1-500004.4">4.4<!--tex4ht:ref: diskgeo --></a> for details. If you&#8217;re using
+such a non-standard system, the next step is to test LILO&#x00A0;with the boot sector on a floppy
+disk:
+</p>
+     <ul class="itemize1">
+     <li class="itemize">insert a blank (but low-level formatted) floppy disk into <span 
+class="cmtt-10x-x-109">/dev/fd0</span>.
+     </li>
+     <li class="itemize">run <span 
+class="cmtt-10x-x-109">echo image=</span><span 
+class="cmti-10x-x-109">kernel</span><span 
+class="cmti-10x-x-109">_image</span><span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">&#x00A0;|</span></span></span><br 
+class="newline" /><span 
+class="cmtt-10x-x-109">/sbin/lilo -C - -b /dev/fd0 -v -v -v </span><br 
+class="newline" />If you&#8217;ve already installed LILO&#x00A0;on your system, you might not want to overwrite your old
+     map file. Use the <span 
+class="cmtt-10x-x-109">-m </span>option to specify an alternate map file name.
+     </li>
+     <li class="itemize">reboot. LILO&#x00A0;should now load its boot loaders from the floppy disk and then continue loading
+     the kernel from the hard disk.</li></ul>
+<!--l. 2602--><p class="noindent" >Now, you have to decide, which boot concept you want to use. Let&#8217;s assume you have a Linux partition on
+<span 
+class="cmtt-10x-x-109">/dev/hda2 </span>and you want to install your LILO&#x00A0;boot sector there. The DOS-MBR loads the LILO&#x00A0;boot
+sector.
+</p>
+
+     <ul class="itemize1">
+     <li class="itemize">get a working boot disk, e.g. an install or recovery disk. Verify that you can boot with this
+     setup and that you can mount your Linux partition(s) with it.
+     </li>
+     <li class="itemize">if the boot sector you want to overwrite with LILO&#x00A0;is of any value (e.g. it&#8217;s the MBR or if
+     it contains a boot loader you might want to use if you encounter problems with LILO), you
+     should mount your boot disk and make a backup copy of your boot sector to a file on that
+     floppy, e.g. <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">dd</span><span 
+class="cmtt-10x-x-109">&#x00A0;if=/dev/hda</span><span 
+class="cmtt-10x-x-109">&#x00A0;of=/fd/boot_sector</span><span 
+class="cmtt-10x-x-109">&#x00A0;bs=512</span><span 
+class="cmtt-10x-x-109">&#x00A0;count=1</span></span></span>
+     </li>
+     <li class="itemize">create the configuration file <span 
+class="cmtt-10x-x-109">/etc/lilo.conf</span>, e.g. <br 
+class="newline" /><span 
+class="cmti-10x-x-109">global settings </span><br 
+class="newline" /><span 
+class="cmti-10x-x-109">image specification </span><br 
+class="newline" /><span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">&#x00A0;</span><span 
+class="cmtt-10x-x-109">&#x00A0;</span></span></span><span 
+class="cmti-10x-x-109">per-image options </span><br 
+class="newline" /><span 
+class="cmmi-10x-x-109">&#x2026;</span> <br 
+class="newline" />Be sure to use absolute paths for all files. Relative paths may cause unexpected behaviour when
+     using the <span 
+class="cmtt-10x-x-109">-r </span>option.
+     </li>
+     <li class="itemize">now, you can check what LILO&#x00A0;would do if you were about to install it on your hard disk: <br 
+class="newline" /><span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">/sbin/lilo</span><span 
+class="cmtt-10x-x-109">&#x00A0;-v</span><span 
+class="cmtt-10x-x-109">&#x00A0;-v</span><span 
+class="cmtt-10x-x-109">&#x00A0;-v</span><span 
+class="cmtt-10x-x-109">&#x00A0;-t</span></span></span>
+     </li>
+     <li class="itemize">if you need some additional boot utility (i.e. <span 
+class="cmss-10x-x-109">BOOTACTV</span>), you should install that now
+     </li>
+     <li class="itemize">run <span 
+class="cmtt-10x-x-109">/sbin/lilo </span>to install LILO&#x00A0;on your hard disk
+     </li>
+     <li class="itemize">if you have to change the active partition, use <span 
+class="cmss-10x-x-109">fdisk </span>or <span 
+class="cmss-10x-x-109">activate </span>to do that
+     </li>
+     <li class="itemize">reboot</li></ul>
+<!--l. 2634--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">5.1.5   </span> <a 
+ id="x1-660005.1.5"></a>Build-time configuration</h5>
+<!--l. 2637--><p class="noindent" >Certain build-time parameters can be configured. They can either be edited in the top-level <span 
+class="cmtt-10x-x-109">Makefile </span>or
+they can be stored in a file <span 
+class="cmtt-10x-x-109">/etc/lilo.defines</span>. Settings in the <span 
+class="cmtt-10x-x-109">Makefile </span>are ignored if that file
+exists.
+</p><!--l. 2642--><p class="noindent" >The following items can be configured:
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmtt-10x-x-109">BEEP</span> </dt><dd 
+class="description">Enables beeping after displaying &#8220;LILO&#8221;. This is useful on machines which don&#8217;t beep at the
+     right time when booting and when working over a serial console. This option is disabled by
+     default.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">IGNORECASE</span> </dt><dd 
+class="description">Makes image name matching case-insensitive, i.e. &#8220;linux&#8221; and &#8220;Linux&#8221; are identical.
+
+     This option is enabled by default. Note that password matching is always case-sensitive.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">LARGE</span><span 
+class="cmtt-10x-x-109">_EDBA</span> </dt><dd 
+class="description">Loads LILO&#x00A0;at a lower address in order to leave more space for the EBDA (Extended
+     BIOS Data Area). This is necessary on some recent MP systems. Note that enabling <span 
+class="cmtt-10x-x-109">LARGE</span><span 
+class="cmtt-10x-x-109">_EDBA</span>
+     reduces the maximum size of &#8220;small&#8221; images (e.g. &#8220;Image&#8221; or &#8220;zImage&#8221;).
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">NO1STDIAG</span> </dt><dd 
+class="description">Do not generate diagnostics on read errors in the first stage boot loader. This avoids
+     possibly irritating error codes if the disk controller has transient read problems. This option is
+     disabled by default.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">NODRAIN</span> </dt><dd 
+class="description">The boot loader empties the keyboard buffer when starting, because it may contain garbage
+     on some systems. Draining the keyboard buffer can be disabled by setting the <span 
+class="cmtt-10x-x-109">NODRAIN </span>option.
+     <span 
+class="cmtt-10x-x-109">NODRAIN </span>is disabled by default.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">NOINSTDEF</span> </dt><dd 
+class="description">If the option <span 
+class="cmtt-10x-x-109">install </span>is omitted, don&#8217;t install a new boot sector, but try to modify the
+     old boot sector instead. This option is disabled by default.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">ONE</span><span 
+class="cmtt-10x-x-109">_SHOT</span> </dt><dd 
+class="description">Disables the command-line timeout (configuration variable <span 
+class="cmtt-10x-x-109">timeout</span>) if any key is pressed.
+     This way, very short timeouts can be used if <span 
+class="cmtt-10x-x-109">prompt </span>is set. <span 
+class="cmtt-10x-x-109">ONE</span><span 
+class="cmtt-10x-x-109">_SHOT </span>is disabled by default.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">READONLY</span> </dt><dd 
+class="description">Disallows overwriting the default command line sector of the map file. This way, command
+     lines set with <span 
+class="cmtt-10x-x-109">-R </span>stay in effect until they are explicitly removed. <span 
+class="cmtt-10x-x-109">READONLY </span>also disables <span 
+class="cmtt-10x-x-109">lock</span>,
+     <span 
+class="cmtt-10x-x-109">fallback</span>, and everything enabled by <span 
+class="cmtt-10x-x-109">REWRITE</span><span 
+class="cmtt-10x-x-109">_TABLE</span>. This option is disabled by default.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">REWRITE</span><span 
+class="cmtt-10x-x-109">_TABLE</span> </dt><dd 
+class="description">Enables rewriting the partition table at boot time. This may be necessary to boot
+     certain operating systems who expect the active flag to be set on their partition or who need
+     changes in partition types. See also section <a 
+href="#x1-530004.5">4.5<!--tex4ht:ref: ptman --></a>. This option is <span 
+class="cmbx-10x-x-109">dangerous </span>and it is disabled by
+     default.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">USE</span><span 
+class="cmtt-10x-x-109">_TMPDIR</span> </dt><dd 
+class="description">Use the directory indicated in the <span 
+class="cmtt-10x-x-109">TMPDIR </span>environment variable when creating temporary
+     device files. If <span 
+class="cmtt-10x-x-109">TMPDIR </span>is not set or if LILO&#x00A0;is compiled without <span 
+class="cmtt-10x-x-109">USE</span><span 
+class="cmtt-10x-x-109">_TMPDIR</span>, temporary device
+     files are created in <span 
+class="cmtt-10x-x-109">/tmp</span>.<span class="footnote-mark"><a 
+href="user_21-524.html#fn28x0"><sup class="textsuperscript">28</sup></a></span><a 
+ id="x1-66001f28"></a>
+     This option is disabled by default.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">VARSETUP</span> </dt><dd 
+class="description">Enables the use of variable-size setup segments. This option is enabled by default and is
+     only provided to fall back to fixed-size setup segments in the unlikely case of problems when
+     using prehistoric kernels.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">XL</span><span 
+class="cmtt-10x-x-109">_SECS=</span><span 
+class="cmti-10x-x-109">sectors</span> </dt><dd 
+class="description">Enable support for extra large (non-standard) floppy disks. The number of sectors
+     is set in the BIOS disk parameter table to the specified value. Note that this hack may yield
+     incorrect behaviour on some systems. This option is disabled by default.</dd></dl>
+
+<!--l. 2701--><p class="noindent" ><span 
+class="cmtt-10x-x-109">/etc/lilo.defines </span>should be used if one wishes to make permanent configuration changes. The usual
+installation procedures don&#8217;t touch that file. Example:
+
+</p>
+<div class="verbatim" id="verbatim-20">
+-DIGNORECASE&#x00A0;-DONE_SHOT</div>
+<!--l. 2707--><p class="nopar" >
+</p><!--l. 2709--><p class="noindent" >After changing the build-time configuration, LILO&#x00A0;has to be recompiled with the following
+commands:
+
+</p>
+<div class="verbatim" id="verbatim-21">
+make&#x00A0;spotless
+&#x00A0;<br />make</div>
+<!--l. 2715--><p class="nopar" >
+</p><!--l. 2718--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">5.1.6   </span> <a 
+ id="x1-670005.1.6"></a>Floppy disk installation</h5>
+<!--l. 2720--><p class="noindent" >In some cases<span class="footnote-mark"><a 
+href="user_21-525.html#fn29x0"><sup class="textsuperscript">29</sup></a></span><a 
+ id="x1-67001f29"></a>,
+it may be desirable to install LILO&#x00A0;on a floppy disk in a way that it can boot a kernel without accessing the
+hard disk.
+</p><!--l. 2724--><p class="noindent" >The basic procedure is quite straightforward (see also section <a 
+href="#x1-160002.3.1">2.3.1<!--tex4ht:ref: broken --></a>): </p>
+     <ul class="itemize1">
+     <li class="itemize">a file system has to be created on the file system
+     </li>
+     <li class="itemize">the kernel and <span 
+class="cmtt-10x-x-109">boot.b </span>have to be copied to the floppy disk
+     </li>
+     <li class="itemize"><span 
+class="cmtt-10x-x-109">/sbin/lilo </span>has to be run to create the map file</li></ul>
+<!--l. 2731--><p class="noindent" >This can be as easy as
+
+</p>
+<div class="verbatim" id="verbatim-22">
+/sbin/mke2fs&#x00A0;/dev/fd0
+&#x00A0;<br />[&#x00A0;-d&#x00A0;/fd&#x00A0;]&#x00A0;||&#x00A0;mkdir&#x00A0;/fd
+&#x00A0;<br />mount&#x00A0;/dev/fd0&#x00A0;/fd
+&#x00A0;<br />cp&#x00A0;/boot/boot.b&#x00A0;/fd
+&#x00A0;<br />cp&#x00A0;/zImage&#x00A0;/fd
+&#x00A0;<br />echo&#x00A0;image=/fd/zImage&#x00A0;label=linux&#x00A0;|
+&#x00A0;<br />&#x00A0;&#x00A0;/sbin/lilo&#x00A0;-C&#x00A0;-&#x00A0;-b&#x00A0;/dev/fd0&#x00A0;-i&#x00A0;/fd/boot.b&#x00A0;-c&#x00A0;-m&#x00A0;/fd/map
+&#x00A0;<br />umount&#x00A0;/fd</div>
+<!--l. 2741--><p class="nopar" >
+</p><!--l. 2743--><p class="noindent" >The command line of <span 
+class="cmtt-10x-x-109">/sbin/lilo </span>is a little tricky. <span 
+class="cmtt-10x-x-109">-C - </span>takes the configuration from standard input
+(naturally, one could also write the configuration into a file), <span 
+class="cmtt-10x-x-109">-b /dev/fd0 </span>specifies that the boot
+sector is written to the floppy disk, <span 
+class="cmtt-10x-x-109">-i /fd/boot.b </span>takes the first and second stage loaders from
+the floppy, <span 
+class="cmtt-10x-x-109">-c </span>speeds up the load process, and <span 
+class="cmtt-10x-x-109">-m /fd/map </span>puts the map file on the floppy
+too.
+</p>
+<h4 class="subsectionHead"><span class="titlemark">5.2   </span> <a 
+ id="x1-680005.2"></a>Updates</h4>
+<!--l. 2753--><p class="noindent" >LILO&#x00A0;is affected by updates of kernels, the whole system and (trivially) of LILO&#x00A0;itself. Typically, only
+<span 
+class="cmtt-10x-x-109">/sbin/lilo </span>has to be run after any of those updates and everything will be well again (at least as far as
+LILO&#x00A0;is concerned).
+</p><!--l. 2759--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">5.2.1   </span> <a 
+ id="x1-690005.2.1"></a>LILO&#x00A0;update</h5>
+<!--l. 2762--><p class="noindent" >Before updating to a new version of LILO, you should read at least the file <span 
+class="cmtt-10x-x-109">INCOMPAT </span>which describes
+incompatibilities with previous releases.
+</p><!--l. 2766--><p class="noindent" >After that, the initial steps are the same as for a first time installation: extract all files, configure the
+<span 
+class="cmtt-10x-x-109">Makefile</span>, run <span 
+class="cmtt-10x-x-109">make </span>to build the executables and run <span 
+class="cmtt-10x-x-109">make install </span>to install the files.
+</p><!--l. 2771--><p class="noindent" >The old versions of <span 
+class="cmtt-10x-x-109">boot.b</span>, <span 
+class="cmtt-10x-x-109">chain.b</span>, etc. are automatically renamed to <span 
+class="cmtt-10x-x-109">boot.old</span>, <span 
+class="cmtt-10x-x-109">chain.old</span>, etc. This is
+done to ensure that you can boot even if the installation procedure does not finish. <span 
+class="cmtt-10x-x-109">boot.old</span>, <span 
+class="cmtt-10x-x-109">chain.old</span>,
+etc. can be deleted after the map file is rebuilt.
+</p><!--l. 2777--><p class="noindent" >Because the locations of <span 
+class="cmtt-10x-x-109">boot.b</span>, <span 
+class="cmtt-10x-x-109">chain.b</span>, etc. have changed and because the map file format may be
+different too, you have to update the boot sector and the map file. Run <span 
+class="cmtt-10x-x-109">/sbin/lilo </span>to do
+this.
+
+</p><!--l. 2782--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">5.2.2   </span> <a 
+ id="x1-700005.2.2"></a>Kernel update</h5>
+<!--l. 2785--><p class="noindent" >Whenever any of the kernel files that are accessed by LILO&#x00A0;is moved or overwritten, the map has to be
+re-built.<span class="footnote-mark"><a 
+href="user_21-526.html#fn30x0"><sup class="textsuperscript">30</sup></a></span><a 
+ id="x1-70001f30"></a>
+Run <span 
+class="cmtt-10x-x-109">/sbin/lilo </span>to do this.
+</p><!--l. 2791--><p class="noindent" >The kernel has a make target &#8220;zlilo&#8221; that copies the kernel to <span 
+class="cmtt-10x-x-109">/vmlinuz </span>and runs <span 
+class="cmtt-10x-x-109">/sbin/lilo</span>.
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">5.2.3   </span> <a 
+ id="x1-710005.2.3"></a>System upgrade</h5>
+<!--l. 2797--><p class="noindent" >Normally, system upgrades (i.e. installation or removal of packages, possibly replacement of a large part of
+the installed binaries) do not affect LILO. Of course, if a new kernel is installed in the process, the normal
+kernel update procedure has to be followed (see section <a 
+href="#x1-700005.2.2">5.2.2<!--tex4ht:ref: kernupd --></a>). Also, if kernels are removed or added, it may
+be necessary to update the configuration file.
+</p><!--l. 2804--><p class="noindent" >If LILO&#x00A0;is updated by this system upgrade, <span 
+class="cmtt-10x-x-109">/sbin/lilo </span>should be run before booting the upgraded system.
+It is generally a good idea not to rely on the upgrade procedure to perform this essential step
+automatically.
+</p><!--l. 2808--><p class="noindent" >However, system upgrades which involve removal and re-creation of entire partitions (e.g. <span 
+class="cmtt-10x-x-109">/</span>, <span 
+class="cmtt-10x-x-109">/usr</span>, etc.) are
+different. First, they should be avoided, because they bear a high risk of losing other critical files, e.g. the
+<span 
+class="cmtt-10x-x-109">/etc/XF86Config </span>you&#8217;ve spent the last week fiddling with. If an upgrade really has to be performed in such
+a brute-force way, this is equal with total removal of LILO, followed by a new installation. Therefore, the
+procedures described in the sections <a 
+href="#x1-720005.3">5.3<!--tex4ht:ref: deinst --></a> and <a 
+href="#x1-690005.2.1">5.2.1<!--tex4ht:ref: liloupd --></a> have to be performed. If you&#8217;ve forgotten to make a
+backup copy of <span 
+class="cmtt-10x-x-109">/etc/lilo.conf </span>before the destructive upgrade, you might also have to go through section
+<a 
+href="#x1-650005.1.4">5.1.4<!--tex4ht:ref: install --></a> again.
+</p><!--l. 2820--><p class="noindent" >
+</p>
+<h4 class="subsectionHead"><span class="titlemark">5.3   </span> <a 
+ id="x1-720005.3"></a>LILO&#x00A0;de-installation</h4>
+<!--l. 2823--><p class="noindent" >In order to stop LILO&#x00A0;from being invoked when the system boots, its boot sector has to be either removed
+or disabled. All other files belonging to LILO&#x00A0;can be deleted <span 
+class="cmbx-10x-x-109">after </span>removing the boot sector, if
+
+desired.<span class="footnote-mark"><a 
+href="user_21-527.html#fn31x0"><sup class="textsuperscript">31</sup></a></span><a 
+ id="x1-72001f31"></a>
+</p><!--l. 2830--><p class="noindent" >Again, <span 
+class="cmbx-10x-x-109">when removing Linux, LILO</span><span 
+class="cmbx-10x-x-109">&#x00A0;must be de-installed before (!) its files (</span><span 
+class="cmtt-10x-x-109">/boot</span><span 
+class="cmbx-10x-x-109">, etc.) are</span>
+<span 
+class="cmbx-10x-x-109">deleted. </span>This is especially important if LILO&#x00A0;is operating as the MBR.
+</p><!--l. 2834--><p class="noindent" >LILO 14 (and newer) can be de-installed with <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">lilo</span><span 
+class="cmtt-10x-x-109">&#x00A0;-u</span></span></span>. If LILO 14 or newer is currently installed, but the
+first version of LILO installed was older than 14, <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">lilo</span><span 
+class="cmtt-10x-x-109">&#x00A0;-U</span></span></span> may work. When using <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">-U</span></span></span>, the warning at the
+end of this section applies.
+</p><!--l. 2839--><p class="noindent" >If LILO&#8217;s boot sector has been installed on a primary partition and is booted by the &#8220;standard&#8221; MBR or
+some partition switcher program, it can be disabled by making a different partition active. MS-DOS&#8217;
+FDISK, Linux <span 
+class="cmss-10x-x-109">fdisk </span>or LILO&#8217;s <span 
+class="cmss-10x-x-109">activate </span>can do that.
+</p><!--l. 2844--><p class="noindent" >If LILO&#8217;s boot sector is the master boot record (MBR) of a disk, it has to be replaced with a different
+MBR, typically MS-DOS&#8217; &#8220;standard&#8221; MBR. When using MS-DOS 5.0 or above, the MS-DOS
+MBR can be restored with <span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">FDISK</span><span 
+class="cmtt-10x-x-109">&#x00A0;/MBR</span></span></span>. This only alters the boot loader code, not the partition
+table.
+</p><!--l. 2850--><p class="noindent" >LILO&#x00A0;automatically makes backup copies when it overwrites boot sectors. They are named
+<br 
+class="newline" /><span 
+class="cmtt-10x-x-109">/boot/boot.</span><span 
+class="cmti-10x-x-109">nnnn</span>, with <span 
+class="cmti-10x-x-109">nnnn </span>corresponding to the device number, e.g. <span 
+class="cmtt-10x-x-109">0300 </span>is <span 
+class="cmtt-10x-x-109">/dev/hda</span>, <span 
+class="cmtt-10x-x-109">0800 </span>is
+<span 
+class="cmtt-10x-x-109">/dev/sda</span>, etc. Those backups can be used to restore the old MBR if no easier method is available. The
+commands are <br 
+class="newline" /><span 
+class="cmtt-10x-x-109">dd if=/boot/boot.0300 of=/dev/hda bs=446 count=1 </span>or <br 
+class="newline" /><span 
+class="cmtt-10x-x-109">dd if=/boot/boot.0800 of=/dev/sda bs=446 count=1 </span><br 
+class="newline" />respectively.
+</p><!--l. 2860--><p class="noindent" ><span 
+class="cmbx-10x-x-109">WARNING: </span>Some Linux distributions install <span 
+class="cmtt-10x-x-109">boot.</span><span 
+class="cmti-10x-x-109">nnnn </span>files from the system where the distribution was
+created. Using those files may yield unpredictable results. Therefore, the file creation date should be
+carefully checked.
+</p>
+<h4 class="subsectionHead"><span class="titlemark">5.4   </span> <a 
+ id="x1-730005.4"></a>Installation of other operating systems</h4>
+<!--l. 2870--><p class="noindent" >Some other operating systems (e.g. MS-DOS 6.0) appear to modify the MBR in their install procedures. It
+is therefore possible that LILO&#x00A0;will stop to work after such an installation and Linux has to be
+booted from floppy disk. The original state can be restored by either re-running <span 
+class="cmtt-10x-x-109">/sbin/lilo  </span>(if
+LILO&#x00A0;is installed as the MBR) or by making LILO&#8217;s partition active (if it&#8217;s installed on a primary
+partition).
+</p><!--l. 2877--><p class="noindent" >It is generally a good idea to install LILO&#x00A0;after the other operating systems have been installed. E.g. OS/2
+is said to cause trouble when attempting to add it to an existing Linux system. (However, booting from
+floppy and running <span 
+class="cmtt-10x-x-109">/sbin/lilo </span>should get around most interferences.)
+</p><!--l. 2883--><p class="noindent" >Typically, the new operating system then has to be added to LILO&#8217;s configuration (and <span 
+class="cmtt-10x-x-109">/sbin/lilo </span>has to
+be re-run) in order to boot it.
+
+</p><!--l. 2887--><p class="noindent" >See also section <a 
+href="#x1-810006.3">6.3<!--tex4ht:ref: othpro --></a> for a list of known problems with some other operating systems.
+</p><!--l. 2891--><p class="noindent" >
+
+</p>
+<h3 class="sectionHead"><span class="titlemark">6   </span> <a 
+ id="x1-740006"></a>Troubleshooting</h3>
+<!--l. 2894--><p class="noindent" >All parts of LILO&#x00A0;display some messages that can be used to diagnose problems.
+</p><!--l. 2898--><p class="noindent" >
+</p>
+<h4 class="subsectionHead"><span class="titlemark">6.1   </span> <a 
+ id="x1-750006.1"></a>Map installer warnings and errors</h4>
+<!--l. 2900--><p class="noindent" >Most messages of the map installer (<span 
+class="cmtt-10x-x-109">/sbin/lilo</span>) should be self-explanatory. Some messages that indicate
+common errors are listed below. They are grouped into fatal errors and warnings (non-fatal
+errors).
+</p><!--l. 2906--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">6.1.1   </span> <a 
+ id="x1-760006.1.1"></a>Fatal errors</h5>
+<!--l. 2908--><p class="noindent" >
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmtt-10x-x-109">Boot sector of </span><span 
+class="cmti-10x-x-109">device</span><span 
+class="cmti-10x-x-109">_name  </span><span 
+class="cmtt-10x-x-109">doesn&#8217;t have a boot signature</span> </dt><dd 
+class="description">
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Boot sector of </span><span 
+class="cmti-10x-x-109">device</span><span 
+class="cmti-10x-x-109">_name  </span><span 
+class="cmtt-10x-x-109">doesn&#8217;t have a LILO signature</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />The sector from which LILO&#x00A0;should be uninstalled doesn&#8217;t appear to be a LILO&#x00A0;boot sector.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Can&#8217;t put the boot sector on logical partition </span><span 
+class="cmti-10x-x-109">number</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />An attempt has been made to put LILO&#8217;s boot sector on the current root file system partition
+     which is on a logical partition. This usually doesn&#8217;t have the desired effect, because common
+     MBRs can only boot primary partitions. This check can be bypassed by explicitly specifying
+     the boot partition with the <span 
+class="cmtt-10x-x-109">-b </span>option or by setting the configuration variable <span 
+class="cmtt-10x-x-109">boot</span>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Checksum error</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />The descriptor table of the map file has an invalid checksum. Refresh the map file <span 
+class="cmbx-10x-x-109">immediately</span>
+     !
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Device 0x</span><span 
+class="cmti-10x-x-109">number</span><span 
+class="cmtt-10x-x-109">: Configured as inaccessible.</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />There is a <span 
+class="cmtt-10x-x-109">disk </span>section entry indicating that the device is inaccessible from the BIOS. You
+     should check carefully that all files LILO&#x00A0;tries to access when booting are on the right device.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Device 0x</span><span 
+class="cmti-10x-x-109">number</span><span 
+class="cmtt-10x-x-109">: Got bad geometry </span><span 
+class="cmti-10x-x-109">sec</span><span 
+class="cmtt-10x-x-109">/</span><span 
+class="cmti-10x-x-109">hd</span><span 
+class="cmtt-10x-x-109">/</span><span 
+class="cmti-10x-x-109">cyl</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />The device driver for your SCSI controller does not support geometry detection. You have to
+     specify the geometry explicitly (see section <a 
+href="#x1-500004.4">4.4<!--tex4ht:ref: diskgeo --></a>).
+
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Device 0x</span><span 
+class="cmti-10x-x-109">number</span><span 
+class="cmtt-10x-x-109">: Invalid partition table, entry </span><span 
+class="cmti-10x-x-109">number</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />The 3D and linear addresses of the first sector of the specified partition don&#8217;t correspond. This
+     is typically caused by partitioning a disk with a program that doesn&#8217;t align partitions to tracks
+     and later using PC/MS-DOS or OS/2 on that disk. LILO&#x00A0;can attempt to correct the problem,
+     see page <span class="pageref"><a 
+href="#x1-430004.2.2"><span 
+class="tcrm-1095">§</span></a></span>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Device 0x</span><span 
+class="cmti-10x-x-109">number</span><span 
+class="cmtt-10x-x-109">: Partition type 0x</span><span 
+class="cmti-10x-x-109">number</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" /><span 
+class="cmtt-10x-x-109">does not seem suitable for a LILO boot sector</span>&#x00A0;<br 
+class="newline" />The location where the LILO&#x00A0;boot sector should be placed does not seem to be suitable for
+     that. (See also also section <a 
+href="#x1-60002.1">2.1<!--tex4ht:ref: diskorg --></a>). You should either adjust the partition type to reflect the actual
+     use or put the boot sector on a different partition. This consistency check only yields a warning
+     (i.e. LILO&#x00A0;continues) if the option <span 
+class="cmtt-10x-x-109">ignore-table </span>is set.
+     </dd><dt class="description">
+<span 
+class="cmti-10x-x-109">device</span><span 
+class="cmti-10x-x-109">_name  </span><span 
+class="cmtt-10x-x-109">is not a valid partition device</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />The specified device is either not a device at all, a whole disk, or a partition on a different disk
+     than the one in whose section its entry appears.
+     </dd><dt class="description">
+<span 
+class="cmti-10x-x-109">device</span><span 
+class="cmti-10x-x-109">_name  </span><span 
+class="cmtt-10x-x-109">is not a whole disk device</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Only the geometry of whole disks (e.g. <span 
+class="cmtt-10x-x-109">/dev/hda</span>, <span 
+class="cmtt-10x-x-109">/dev/sdb</span>, etc.) can be redefined when using
+     <span 
+class="cmtt-10x-x-109">disk </span>sections.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">DISKTAB and DISK are mutually exclusive</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />You  cannot  use  a  <span 
+class="cmtt-10x-x-109">disktab </span>file  and  disk  geometry  definitions  in  the  configuration  file  at
+     the same time. Maybe <span 
+class="cmtt-10x-x-109">/etc/disktab </span>was accidentally used, because that&#8217;s the default for
+     backward-compatibility. You should delete <span 
+class="cmtt-10x-x-109">/etc/disktab </span>after completing the transition to
+     <span 
+class="cmtt-10x-x-109">disk </span>sections.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Duplicate entry in partition table</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />A partition table entry appears twice. The partition table has to be fixed with <span 
+class="cmss-10x-x-109">fdisk</span>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Duplicate geometry definition for </span><span 
+class="cmti-10x-x-109">device</span><span 
+class="cmti-10x-x-109">_name</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />A  disk  or  partition  geometry  definition  entry  for  the  same  device  appears  twice  in  the
+     configuration file. Note that you mustn&#8217;t write a partition section for the whole disk &#8212; its start
+     sector is always the first sector of the disk.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">First sector of </span><span 
+class="cmti-10x-x-109">device  </span><span 
+class="cmtt-10x-x-109">doesn&#8217;t have a valid boot signature</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />The first sector of the specified device does not appear to be a valid boot sector. You might have
+     confused the device name.<span class="footnote-mark"><a 
+href="user_21-528.html#fn32x0"><sup class="textsuperscript">32</sup></a></span><a 
+ id="x1-76001f32"></a>
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">geo</span><span 
+class="cmtt-10x-x-109">_comp</span><span 
+class="cmtt-10x-x-109">_addr: Cylinder </span><span 
+class="cmti-10x-x-109">number  </span><span 
+class="cmtt-10x-x-109">beyond end of media (</span><span 
+class="cmti-10x-x-109">number</span><span 
+class="cmtt-10x-x-109">)</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />A file block appears to be located beyond the last cylinder of the disk. This probably indicates
+
+     an error in the disk geometry specification (see section <a 
+href="#x1-500004.4">4.4<!--tex4ht:ref: diskgeo --></a>) or a file system corruption.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">geo</span><span 
+class="cmtt-10x-x-109">_comp</span><span 
+class="cmtt-10x-x-109">_addr: Cylinder number is too big (</span><span 
+class="cmti-10x-x-109">number  </span><span 
+class="cmmi-10x-x-109">&#x003E; </span><span 
+class="cmtt-10x-x-109">1023)</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Blocks of a file are located beyond the 1024th cylinder of a hard disk. LILO&#x00A0;can&#8217;t access such
+     files, because the BIOS limits cylinder numbers to the range 0<span 
+class="cmmi-10x-x-109">&#x2026;</span>1023. Try moving the file to a
+     different place, preferably a partition that is entirely within the first 1024 cylinders of the disk.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Hole found in map file (</span><span 
+class="cmti-10x-x-109">location</span><span 
+class="cmtt-10x-x-109">)</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />The map installer is confused about the disk organization. Please report this error.
+     </dd><dt class="description">
+<span 
+class="cmti-10x-x-109">item  </span><span 
+class="cmtt-10x-x-109">doesn&#8217;t have a valid LILO signature</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />The specified item has been located, but is not part of LILO.
+     </dd><dt class="description">
+<span 
+class="cmti-10x-x-109">item  </span><span 
+class="cmtt-10x-x-109">has an invalid stage code (</span><span 
+class="cmti-10x-x-109">number</span><span 
+class="cmtt-10x-x-109">)</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />The specified item has probably been corrupted. Try re-building LILO.
+     </dd><dt class="description">
+<span 
+class="cmti-10x-x-109">item  </span><span 
+class="cmtt-10x-x-109">is version </span><span 
+class="cmti-10x-x-109">number</span><span 
+class="cmtt-10x-x-109">. Expecting version</span><span 
+class="cmti-10x-x-109">number</span><span 
+class="cmtt-10x-x-109">.</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />The specified entity is either too old or too new. Make sure all parts of LILO&#x00A0;(map installer,
+     boot loaders and chain loaders) are from the same distribution. <span class="footnote-mark"><a 
+href="#fn33x0"><sup class="textsuperscript">33</sup></a></span><a 
+ id="x1-76002f33"></a>
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Kernel </span><span 
+class="cmti-10x-x-109">name  </span><span 
+class="cmtt-10x-x-109">is too big</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />The kernel image (without the setup code) is bigger than 512 kbytes (or 448 kbytes, if built with
+     <span 
+class="cmtt-10x-x-109">LARGE</span><span 
+class="cmtt-10x-x-109">_EDBA</span>). LILO&#x00A0;would overwrite itself when trying to load such a kernel. This limitation
+     only applies to old kernels which are loaded below 0x10000 (e.g. &#8220;Image&#8221; or &#8220;zImage&#8221;). Try
+     building the kernel with &#8220;bzImage&#8221;. If this is undesirable for some reason, try removing some
+     unused drivers and compiling the kernel again. This error may also occur if the kernel image is
+     damaged or if it contains trailing &#8220;junk&#8221;, e.g. as the result of copying an entire boot floppy to
+     the hard disk.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">LOCK and FALLBACK are mutually exclusive</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Since <span 
+class="cmtt-10x-x-109">lock </span>and <span 
+class="cmtt-10x-x-109">fallback </span>both change the default command line, they can&#8217;t be reasonably used
+     together.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Map </span><span 
+class="cmti-10x-x-109">path  </span><span 
+class="cmtt-10x-x-109">is not a regular file.</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />This is probably the result of an attempt to omit writing a map file, e.g. with <span 
+class="cmtt-10x-x-109">-m /dev/null</span>.
+     The <span 
+class="cmtt-10x-x-109">-t </span>option should be used to accomplish this.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Must specify SECTORS and HEADS together</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />It is assumed that disks with a &#8220;strange&#8221; number of sectors will also have a &#8220;strange&#8221; number
+     of heads. Therefore, it&#8217;s all or nothing.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">No geometry variables allowed if INACCESSIBLE</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />If a device is configured as <span 
+class="cmtt-10x-x-109">inaccessible </span>(see section <a 
+href="#x1-520004.4.2">4.4.2<!--tex4ht:ref: diskspec --></a>), its <span 
+class="cmtt-10x-x-109">disk </span>section must not contain
+     any geometry variables.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">No image </span><span 
+class="cmti-10x-x-109">image  </span><span 
+class="cmtt-10x-x-109">is defined</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />The command line specified either with the <span 
+class="cmtt-10x-x-109">-R </span>option or with <span 
+class="cmtt-10x-x-109">fallback </span>does not contain the
+     name of a valid image. Note that optional images which have not been included in the map file
+     are not considered as valid.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Partition entry not found</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />The partition from which an other operating system should be booted isn&#8217;t listed in the specified
+     partition table. This either means that an incorrect partition table has been specified or that
+     you&#8217;re trying to boot from a logical partition. The latter usually doesn&#8217;t work. You can bypass
+     this check by omitting the partition table specification (e.g. omitting the variable <span 
+class="cmtt-10x-x-109">table</span>).
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Single-key clash: "</span><span 
+class="cmti-10x-x-109">name</span><span 
+class="cmtt-10x-x-109">" vs. "</span><span 
+class="cmti-10x-x-109">name</span><span 
+class="cmtt-10x-x-109">"</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />The specified image labels or aliases conflict because one of them is a single character and has
+     the <span 
+class="cmtt-10x-x-109">single-key </span>option set, and the other name begins with that character.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Sorry, don&#8217;t know how to handle device </span><span 
+class="cmti-10x-x-109">number</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />LILO&#x00A0;uses files that are located on a device for which there is no easy way to determine the
+     disk geometry. Such devices have to be explicitly described, see section <a 
+href="#x1-500004.4">4.4<!--tex4ht:ref: diskgeo --></a>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">This LILO is compiled READONLY and doesn&#8217;t support</span> <span 
+class="cmmi-10x-x-109">&#x2026;</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />If LILO&#x00A0;is not allowed to write to the disk at boot time (see section <a 
+href="#x1-660005.1.5">5.1.5<!--tex4ht:ref: cfgmf --></a>), options like <span 
+class="cmtt-10x-x-109">lock</span>
+     and <span 
+class="cmtt-10x-x-109">fallback </span>are unavailable.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">This LILO is compiled without REWRITE</span><span 
+class="cmtt-10x-x-109">_TABLE and doesn&#8217;t support</span> <span 
+class="cmmi-10x-x-109">&#x2026;</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />If LILO&#x00A0;is not allowed to rewrite partition tables at boot time (see section <a 
+href="#x1-530004.5">4.5<!--tex4ht:ref: ptman --></a>), options like
+     <span 
+class="cmtt-10x-x-109">activate </span>and <span 
+class="cmtt-10x-x-109">set </span>(in a <span 
+class="cmtt-10x-x-109">change </span>section) are unavailable. You may also get this error if LILO&#x00A0;is
+     compiled with <span 
+class="cmtt-10x-x-109">READONLY </span>enabled.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Timestamp in boot sector of </span><span 
+class="cmti-10x-x-109">device  </span><span 
+class="cmtt-10x-x-109">differs from date of </span><span 
+class="cmti-10x-x-109">file</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />The backup copy of the boot sector does not appear to be an ancestor of the current boot
+     sector. If you are absolutely sure that the boot sector is indeed correct, you can bypass this
+     check by using <span 
+class="cmtt-10x-x-109">-U </span>instead of <span 
+class="cmtt-10x-x-109">-u</span>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Trying to map files from unnamed device 0x</span><span 
+class="cmti-10x-x-109">number  </span><span 
+class="cmtt-10x-x-109">(NFS ?)</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />This is probably the same problem as described below, only with the root file system residing
+     on NFS.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Trying to map files from your RAM disk.</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" /><span 
+class="cmtt-10x-x-109">Please check -r option or ROOT environment variable.</span>&#x00A0;<br 
+class="newline" />Most likely, you or some installation script is trying to invoke LILO&#x00A0;in a way that some of the
+     files is has to access reside on the RAM disk. Normally, the <span 
+class="cmtt-10x-x-109">ROOT </span>environment variable should
+     be set to the mount point of the effective root device if installing LILO&#x00A0;with a different root
+
+     directory. See also sections <a 
+href="#x1-350004.1.2">4.1.2<!--tex4ht:ref: creupd --></a> and <a 
+href="#x1-650005.1.4">5.1.4<!--tex4ht:ref: install --></a>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">VGA mode presetting is not supported by your kernel.</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Your kernel sources appear to be very old (&#8217;93 ?). LILO&#x00A0;may work on your system if you remove
+     the <span 
+class="cmtt-10x-x-109">vga </span>option.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">write </span><span 
+class="cmti-10x-x-109">item</span><span 
+class="cmtt-10x-x-109">: </span><span 
+class="cmti-10x-x-109">error</span><span 
+class="cmti-10x-x-109">_reason</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />The disk is probably full or mounted read-only.</dd></dl>
+<!--l. 3087--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">6.1.2   </span> <a 
+ id="x1-770006.1.2"></a>Warnings</h5>
+<!--l. 3090--><p class="noindent" >Messages labeled with &#8220;Warning&#8221; can be turned off with the <span 
+class="cmtt-10x-x-109">nowarn </span>option.
+</p><!--l. 3093--><p class="noindent" >
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmtt-10x-x-109">FIGETBSZ </span><span 
+class="cmti-10x-x-109">file</span><span 
+class="cmti-10x-x-109">_name</span><span 
+class="cmtt-10x-x-109">:  </span><span 
+class="cmti-10x-x-109">error</span><span 
+class="cmti-10x-x-109">_reason</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />The map installer is unable to determine the block size of a file system. It assumes a block size
+     of two sectors (1kB).
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Ignoring entry &#8217;</span><span 
+class="cmti-10x-x-109">variable</span><span 
+class="cmti-10x-x-109">_name</span><span 
+class="cmtt-10x-x-109">&#8217;</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />The  command-line  option  corresponding  to  the  specified  variable  is  set.  Therefore,  the
+     configuration file entry is ignored.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Setting DELAY to 20 (2 seconds)</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Because accidentally booting the wrong kernel or operating system may be very inconvenient
+     on systems that are not run from a local display, the minimum delay is two seconds if the
+     <span 
+class="cmtt-10x-x-109">serial </span>variable is set.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">(temp) </span><span 
+class="cmti-10x-x-109">item</span><span 
+class="cmtt-10x-x-109">: </span><span 
+class="cmti-10x-x-109">error</span><span 
+class="cmti-10x-x-109">_reason</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Deleting a temporary file has failed for the specified reason.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Warning: BIOS drive 0x</span><span 
+class="cmti-10x-x-109">number  </span><span 
+class="cmtt-10x-x-109">may not be accessible</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Because most BIOS versions only support two floppies and two hard disks, files located on
+     additional disks may be inaccessible. This warning indicates that some kernels or even the
+     whole system may be unbootable.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Warning: COMPACT may conflict with LINEAR on some systems</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Please see section <a 
+href="#x1-810006.3">6.3<!--tex4ht:ref: othpro --></a> for a description of this problem.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Warning: </span><span 
+class="cmti-10x-x-109">config</span><span 
+class="cmti-10x-x-109">_file  </span><span 
+class="cmtt-10x-x-109">should be owned by root</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />In order to prevent users from compromising system integrity, the configuration file should be
+
+     owned by root and write access for all other users should be disabled.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Warning: </span><span 
+class="cmti-10x-x-109">config</span><span 
+class="cmti-10x-x-109">_file  </span><span 
+class="cmtt-10x-x-109">should be readable only for root if using PASSWORD</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />Users should not be allowed to read the configuration file when using the <span 
+class="cmtt-10x-x-109">password </span>option,
+     because then, it contains unencrypted passwords.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Warning: </span><span 
+class="cmti-10x-x-109">config</span><span 
+class="cmti-10x-x-109">_file  </span><span 
+class="cmtt-10x-x-109">should be writable only for root</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />See &#8220;<span 
+class="cmtt-10x-x-109">Warning: </span><span 
+class="cmti-10x-x-109">config</span><span 
+class="cmti-10x-x-109">_file  </span><span 
+class="cmtt-10x-x-109">should be owned by root</span>&#8221;.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Warning: device 0x</span><span 
+class="cmti-10x-x-109">number  </span><span 
+class="cmtt-10x-x-109">exceeds 1024 cylinder limit</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />A disk or partition exceeds the 1024 cylinder limit imposed by the BIOS. This may result in
+     a fatal error in the current installation run or in later installation runs. See &#8220;<span 
+class="cmtt-10x-x-109">geo</span><span 
+class="cmtt-10x-x-109">_comp</span><span 
+class="cmtt-10x-x-109">_addr:</span>
+     <span 
+class="cmtt-10x-x-109">Cylinder number is too big (</span><span 
+class="cmti-10x-x-109">number  </span><span 
+class="cmmi-10x-x-109">&#x003E; </span><span 
+class="cmtt-10x-x-109">1023)</span>&#8221; for details.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">Warning: </span><span 
+class="cmti-10x-x-109">device  </span><span 
+class="cmtt-10x-x-109">is not on the first disk</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />The specified partition is probably not on the first disk. LILO&#8217;s boot sector can only be booted
+     from the first disk unless some special boot manager is used.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">WARNING: The system is unbootable !</span> </dt><dd 
+class="description">&#x00A0;<br 
+class="newline" />One of the last installation steps has failed. This warning is typically followed by a fatal error
+     describing the problem.</dd></dl>
+<!--l. 3137--><p class="noindent" >
+</p>
+<h4 class="subsectionHead"><span class="titlemark">6.2   </span> <a 
+ id="x1-780006.2"></a>Boot loader messages</h4>
+<!--l. 3139--><p class="noindent" >The boot loader generates three types of messages: progress and error messages while it is loading, messages
+indicating disk access errors, and error messages in response to invalid command-line input.
+Since messages of the latter type are usually self-explanatory, only the two other categories are
+explained.
+</p><!--l. 3146--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">6.2.1   </span> <a 
+ id="x1-790006.2.1"></a>LILO&#x00A0;start message</h5>
+<!--l. 3148--><p class="noindent" >When LILO&#x00A0;loads itself, it displays the word &#8220;LILO&#8221;. Each letter is printed before or after performing some
+specific action. If LILO&#x00A0;fails at some point, the letters printed so far can be used to identify the problem.
+This is described in more detail in the technical overview.
+</p><!--l. 3153--><p class="noindent" >Note that some hex digits may be inserted after the first &#8220;L&#8221; if a transient disk problem occurs. Unless
+LILO stops at that point, generating an endless stream of error codes, such hex digits do not indicate a
+severe problem.
+</p><!--l. 3158--><p class="noindent" >
+
+     </p><dl class="description"><dt class="description">
+(<span 
+class="cmti-10x-x-109">nothing</span>) </dt><dd 
+class="description">No part of LILO&#x00A0;has been loaded. LILO&#x00A0;either isn&#8217;t installed or the partition on which
+     its boot sector is located isn&#8217;t active.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">L </span><span 
+class="cmti-10x-x-109">error</span>  <span 
+class="cmmi-10x-x-109">&#x2026;</span> </dt><dd 
+class="description">The first stage boot loader has been loaded and started, but it can&#8217;t load the second
+     stage boot loader. The two-digit error codes indicate the type of problem. (See also section
+     <a 
+href="#x1-800006.2.2">6.2.2<!--tex4ht:ref: bioserr --></a>.) This condition usually indicates a media failure or a geometry mismatch (e.g. bad disk
+     parameters, see section <a 
+href="#x1-500004.4">4.4<!--tex4ht:ref: diskgeo --></a>).
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">LI</span> </dt><dd 
+class="description">The first stage boot loader was able to load the second stage boot loader, but has failed to execute
+     it. This can either be caused by a geometry mismatch or by moving <span 
+class="cmtt-10x-x-109">/boot/boot.b </span>without
+     running the map installer.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">LIL</span> </dt><dd 
+class="description">The second stage boot loader has been started, but it can&#8217;t load the descriptor table from the
+     map file. This is typically caused by a media failure or by a geometry mismatch.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">LIL?</span> </dt><dd 
+class="description">The second stage boot loader has been loaded at an incorrect address. This is typically caused
+     by a subtle geometry mismatch or by moving <span 
+class="cmtt-10x-x-109">/boot/boot.b </span>without running the map installer.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">LIL-</span> </dt><dd 
+class="description">The descriptor table is corrupt. This can either be caused by a geometry mismatch or by
+     moving <span 
+class="cmtt-10x-x-109">/boot/map </span>without running the map installer.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">LILO</span> </dt><dd 
+class="description">All parts of LILO&#x00A0;have been successfully loaded.</dd></dl>
+<!--l. 3185--><p class="noindent" >
+</p>
+<h5 class="subsubsectionHead"><span class="titlemark">6.2.2   </span> <a 
+ id="x1-800006.2.2"></a>Disk error codes</h5>
+<!--l. 3188--><p class="noindent" >If the BIOS signals an error when LILO&#x00A0;is trying to load a boot image, the respective error code is
+displayed. The following BIOS error codes are known:
+</p><!--l. 3192--><p class="noindent" >
+     </p><dl class="description"><dt class="description">
+<span 
+class="cmtt-10x-x-109">0x00</span> </dt><dd 
+class="description">&#8220;Internal error&#8221;. This code is generated by the sector read routine of the LILO&#x00A0;boot loader
+     whenever an internal inconsistency is detected. This might be caused by corrupt files. Try
+     re-building the map file. Another possible cause for this error are attempts to access cylinders
+     beyond 1024 while using the <span 
+class="cmtt-10x-x-109">linear </span>option. See section <a 
+href="#x1-160002.3.1">2.3.1<!--tex4ht:ref: broken --></a> for more details and for how to
+     solve the problem.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">0x01</span> </dt><dd 
+class="description">&#8220;Illegal command&#8221;. This shouldn&#8217;t happen, but if it does, it may indicate an attempt to access
+     a disk which is not supported by the BIOS. See also &#8220;Warning: BIOS drive 0x<span 
+class="cmti-10x-x-109">number </span>may not
+     be accessible&#8221; in section <a 
+href="#x1-770006.1.2">6.1.2<!--tex4ht:ref: warnings --></a>.
+
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">0x02</span> </dt><dd 
+class="description">&#8220;Address mark not found&#8221;. This usually indicates a media problem. Try again several times.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">0x03</span> </dt><dd 
+class="description">&#8220;Write-protected disk&#8221;. This should only occur on write operations.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">0x04</span> </dt><dd 
+class="description">&#8220;Sector  not  found&#8221;.  This  typically  indicates  a  geometry  mismatch.  If  you&#8217;re  booting  a
+     raw-written disk image, verify whether it was created for disks with the same geometry as the
+     one you&#8217;re using. If you&#8217;re booting from a SCSI disk or a large IDE disk, you should check,
+     whether LILO&#x00A0;has obtained correct geometry data from the kernel or whether the geometry
+     definition corresponds to the real disk geometry. (See section <a 
+href="#x1-500004.4">4.4<!--tex4ht:ref: diskgeo --></a>.) Removing <span 
+class="cmtt-10x-x-109">compact </span>may help
+     too. So may adding <span 
+class="cmtt-10x-x-109">lba32 </span>or <span 
+class="cmtt-10x-x-109">linear</span>.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">0x06</span> </dt><dd 
+class="description">&#8220;Change line active&#8221;. This should be a transient error. Try booting a second time.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">0x07</span> </dt><dd 
+class="description">&#8220;Invalid initialization&#8221;. The BIOS failed to properly initialize the disk controller. You should
+     control the BIOS setup parameters. A warm boot might help too.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">0x08</span> </dt><dd 
+class="description">&#8220;DMA overrun&#8221;. This shouldn&#8217;t happen. Try booting again.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">0x09</span> </dt><dd 
+class="description">&#8220;DMA attempt across 64k boundary&#8221;. This shouldn&#8217;t happen, but may inicate a disk geometry
+     mis-match. Try omitting the <span 
+class="cmtt-10x-x-109">compact </span>option. You may need to specify the disk geometry
+     yourself.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">0x0C</span> </dt><dd 
+class="description">&#8220;Invalid media&#8221;. This shouldn&#8217;t happen and might be caused by a media error. Try booting
+     again.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">0x10</span> </dt><dd 
+class="description">&#8220;CRC error&#8221;. A media error has been detected. Try booting several times, running the map
+     installer a second time (to put the map file at some other physical location or to write &#8220;good
+     data&#8221; over the bad spot), mapping out the bad sectors/tracks and, if all else fails, replacing
+     the media.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">0x11</span> </dt><dd 
+class="description">&#8220;ECC  correction  successful&#8221;.  A  read  error  occurred,  but  was  corrected.  LILO&#x00A0;does  not
+     recognize this condition and aborts the load process anyway. A second load attempt should
+     succeed.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">0x20</span> </dt><dd 
+class="description">&#8220;Controller error&#8221;. This shouldn&#8217;t happen.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">0x40</span> </dt><dd 
+class="description">&#8220;Seek failure&#8221;. This might be a media problem. Try booting again.
+     </dd><dt class="description">
+<span 
+class="cmtt-10x-x-109">0x80</span> </dt><dd 
+class="description">&#8220;Disk timeout&#8221;. The disk or the drive isn&#8217;t ready. Either the media is bad or the disk isn&#8217;t
+     spinning. If you&#8217;re booting from a floppy, you might not have closed the drive door. Otherwise,
+     trying to boot again might help.
+     </dd><dt class="description">
+
+<span 
+class="cmtt-10x-x-109">0xBB</span> </dt><dd 
+class="description">&#8220;BIOS error&#8221;. This shouldn&#8217;t happen. Try booting again. If the problem persists, removing the
+     <span 
+class="cmtt-10x-x-109">compact </span>option or adding/removing <span 
+class="cmtt-10x-x-109">linear </span>or <span 
+class="cmtt-10x-x-109">lba32 </span>might help.</dd></dl>
+<!--l. 3252--><p class="noindent" >If the error occurred during a write operation, the error code (two hex digits) is prefixed with a &#8220;W&#8221;.
+Although write errors don&#8217;t affect the boot process, they might indicate a severe problem, because
+they usually imply that LILO&#x00A0;has tried to write to an invalid location. If spurious write errors
+occur on a system, it might be a good idea to configure LILO&#x00A0;to run read-only (see section
+<a 
+href="#x1-660005.1.5">5.1.5<!--tex4ht:ref: cfgmf --></a>).
+</p><!--l. 3259--><p class="noindent" >Generally, invalid geometry and attempts to use more than two disks without a very modern BIOS may
+yield misleading error codes. Please check carefully if <span 
+class="cmtt-10x-x-109">/sbin/lilo </span>doesn&#8217;t emit any warnings. Then try
+using the <span 
+class="cmtt-10x-x-109">linear </span>or <span 
+class="cmtt-10x-x-109">lba32 </span>option (see section <a 
+href="#x1-430004.2.2">4.2.2<!--tex4ht:ref: cfgglo --></a>).
+</p><!--l. 3265--><p class="noindent" >
+</p>
+<h4 class="subsectionHead"><span class="titlemark">6.3   </span> <a 
+ id="x1-810006.3"></a>Other problems</h4>
+<!--l. 3268--><p class="noindent" >This section contains a collection of less common problems that have been observed. See also section <a 
+href="#x1-730005.4">5.4<!--tex4ht:ref: instoth --></a> for
+general remarks on using LILO&#x00A0;with other operating systems. Some of the problems are obscure and so are
+the work-arounds.
+</p>
+     <ul class="itemize1">
+     <li class="itemize">If LILO&#x00A0;doesn&#8217;t go away even if you erase its files, format your Linux partition, etc., you&#8217;ve
+     probably installed LILO&#x00A0;as your MBR and you&#8217;ve forgotten to deinstall it before deleting its
+     files. See section <a 
+href="#x1-720005.3">5.3<!--tex4ht:ref: deinst --></a> for what you can do now.
+     </li>
+     <li class="itemize">For yet unknown reasons, LILO&#x00A0;may fail on some systems with AMI BIOS if the &#8220;Hard Disk
+     Type 47 RAM area&#8221; is set to &#8220;0:300&#8221; instead of &#8220;DOS 1K&#8221;.
+     </li>
+     <li class="itemize">Some disk controller BIOSes perform disk geometry/address translations that are incompatible
+     with the way the device&#8217;s geometry is seen from Linux, i.e. without going through the BIOS.
+     Particularly, large IDE disks and some PCI SCSI controllers appear to have this problem. In
+     such cases, either the translated geometry has to be specified in a <span 
+class="cmtt-10x-x-109">disk </span>section or the sector
+     address translation can be deferred by using the <span 
+class="cmtt-10x-x-109">linear </span>option. In a setup where floppies are
+     not normally used for booting, the <span 
+class="cmtt-10x-x-109">linear </span>approach should be preferred, because this avoids
+     the risk of specifying incorrect numbers.
+     </li>
+     <li class="itemize">OS/2 is said to be bootable from a logical partition with LILO&#x00A0;acting as the primary boot
+     selector if LILO&#x00A0;is installed on the MBR, the OS/2 BootManager is on an active primary
+     partition and LILO&#x00A0;boots BootManager. Putting LILO&#x00A0;on an extended partition instead is
+     said to crash the OS/2 FDISK in this scenario.
+     <!--l. 3298--><p class="noindent" >Note  that  booting  LILO&#x00A0;from  BootManager  (so  BootManager  is  the  primary  selector)  or
+     booting OS/2 directly from a primary partition (without BootManager) should generally work.
+     See also section <a 
+href="#x1-730005.4">5.4<!--tex4ht:ref: instoth --></a>.
+
+     </p></li>
+     <li class="itemize">Windows NT is reported to be bootable with LILO&#x00A0;when LILO&#x00A0;acts as the MBR and the
+     Windows NT boot loader is on the DOS partition. However, NT&#8217;s disk manager complains
+     about LILO&#8217;s MBR when trying to edit the partition table.
+     </li>
+     <li class="itemize">Some PC UNIX systems (SCO and Unixware have been reported to exhibit this problem)
+     depend on their partition being active. See section <a 
+href="#x1-530004.5">4.5<!--tex4ht:ref: ptman --></a> for how this can be accomplished.
+     </li>
+     <li class="itemize">Future Domain TMC-1680 adapters with the BIOS versions 3.4 and 3.5 assign BIOS device
+     numbers in the wrong order, e.g. on a two-disk system, <span 
+class="cmtt-10x-x-109">/dev/sda </span>becomes <span 
+class="cmtt-10x-x-109">0x81 </span>and <span 
+class="cmtt-10x-x-109">/dev/sdb</span>
+     becomes <span 
+class="cmtt-10x-x-109">0x80</span>. This can be fixed with the following <span 
+class="cmtt-10x-x-109">disk </span>section:<br 
+class="newline" /><span class="obeylines-h"><span class="verb"><span 
+class="cmtt-10x-x-109">disk=/dev/sda</span><span 
+class="cmtt-10x-x-109">&#x00A0;bios=0x81</span><span 
+class="cmtt-10x-x-109">&#x00A0;disk=/dev/sdb</span><span 
+class="cmtt-10x-x-109">&#x00A0;bios=0x80</span></span></span><br 
+class="newline" />Note that this is only valid for a two-disk system. In three-disk systems, <span 
+class="cmtt-10x-x-109">/dev/sdc </span>would
+     become <span 
+class="cmtt-10x-x-109">0x80</span>, etc. Also, single-disk systems don&#8217;t have this problem (and the &#8220;fix&#8221; would break
+     them).
+     </li>
+     <li class="itemize">Some BIOSes don&#8217;t properly recognize disks with an unusual partition table (e.g. without any
+     partition marked active) and refuse to boot from them. This can also affect the second hard
+     disk and the problem may only occur if the system is booted in a particular way (e.g. only after
+     a cold boot).
+     </li>
+     <li class="itemize">On some systems, using <span 
+class="cmtt-10x-x-109">linear </span>and <span 
+class="cmtt-10x-x-109">compact </span>or <span 
+class="cmtt-10x-x-109">lba32 </span>and <span 
+class="cmtt-10x-x-109">compact </span>together leads to a boot
+     failure. The exact circumstances under which this happens are still unknown.
+     </li>
+     <li class="itemize">If the kernel crashes after booting on a multi-processor system, LILO&#x00A0;may have overwritten
+     data structures set up by the BIOS. Try the option <span 
+class="cmtt-10x-x-109">LARGE</span><span 
+class="cmtt-10x-x-109">_EBDA </span>in this case.</li></ul>
+<div class="center" 
+>
+<!--l. 3334--><p class="noindent" >
+</p><!--l. 3335--><p class="noindent" ><span 
+class="cmti-10x-x-109">Last updated by John R. Coffman on July 17, 2000</span><br />
+<span 
+class="cmti-10x-x-109">reconstructed by Joachim Wiedorn on January 29, 2011</span></p></div>
+</body></html> 
+
+
+
diff --git a/doc/html/user_21-50x.png b/doc/html/user_21-50x.png
new file mode 100644 (file)
index 0000000..eaaf507
Binary files /dev/null and b/doc/html/user_21-50x.png differ
diff --git a/doc/html/user_21-510.html b/doc/html/user_21-510.html
new file mode 100644 (file)
index 0000000..d6a15d6
--- /dev/null
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+   <div class="footnote-text">
+   <!--l. 735--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn10x0">  <sup class="textsuperscript">10</sup></a></span><span 
+class="cmss-9">pfdisk </span><span 
+class="cmr-9">is available for anonymous FTP from </span><br 
+class="newline" /><span 
+class="cmtt-9">ftp://sunsite.unc.edu/pub/Linux/utils/disk-management/pfdisk.tar.Z </span><span 
+class="cmr-9">or </span><br 
+class="newline" /><span 
+class="cmtt-9">ftp://ftp.funet.fi/pub/Linux/tools/pfdisk.tar.Z </span><br 
+class="newline" /><span 
+class="cmr-9">PBOOT can be found in </span><br 
+class="newline" /><span 
+class="cmtt-9">ftp://ftp.funet.fi/pub/Linux/tools/pboot.zip</span></p></div> 
+</body></html> 
diff --git a/doc/html/user_21-510x.png b/doc/html/user_21-510x.png
new file mode 100644 (file)
index 0000000..c95e97e
Binary files /dev/null and b/doc/html/user_21-510x.png differ
diff --git a/doc/html/user_21-511.html b/doc/html/user_21-511.html
new file mode 100644 (file)
index 0000000..3704822
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+   <div class="footnote-text">
+   <!--l. 790--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn11x0">  <sup class="textsuperscript">11</sup></a></span><span 
+class="cmr-9">However, if only &#8220;unimportant&#8221; parts of the system are located on the &#8220;high&#8221; drives, some functionality may be</span>
+   <span 
+class="cmr-9">available.</span></p></div>
+       
+</body></html> 
diff --git a/doc/html/user_21-511x.png b/doc/html/user_21-511x.png
new file mode 100644 (file)
index 0000000..f96b98d
Binary files /dev/null and b/doc/html/user_21-511x.png differ
diff --git a/doc/html/user_21-512.html b/doc/html/user_21-512.html
new file mode 100644 (file)
index 0000000..d99c8ba
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+   <div class="footnote-text">
+   <!--l. 1084--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn12x0">  <sup class="textsuperscript">12</sup></a></span><span 
+class="cmr-9">Setting the &#8220;system&#8221; attribute from DOS on the critical files (e.g. everything in </span><span 
+class="cmtt-9">C:</span><span 
+class="cmsy-9">\</span><span 
+class="cmtt-9">LINUX</span><span 
+class="cmr-9">) may help to protect them from</span>
+   <span 
+class="cmr-9">being rearranged. However, the boot floppy should still be ready, just in case.</span></p></div>
+       
+</body></html> 
diff --git a/doc/html/user_21-512x.png b/doc/html/user_21-512x.png
new file mode 100644 (file)
index 0000000..2c74f9b
Binary files /dev/null and b/doc/html/user_21-512x.png differ
diff --git a/doc/html/user_21-513.html b/doc/html/user_21-513.html
new file mode 100644 (file)
index 0000000..a7d3917
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+   <div class="footnote-text">
+   <!--l. 1105--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn13x0">  <sup class="textsuperscript">13</sup></a></span><span 
+class="cmr-9">The default boot image is either the first boot image, the image specified with the </span><span 
+class="cmtt-9">default </span><span 
+class="cmr-9">variable, or the image that has</span>
+   <span 
+class="cmr-9">been selected at the boot prompt.</span></p></div>
+       
+</body></html> 
diff --git a/doc/html/user_21-513x.png b/doc/html/user_21-513x.png
new file mode 100644 (file)
index 0000000..70a1318
Binary files /dev/null and b/doc/html/user_21-513x.png differ
diff --git a/doc/html/user_21-514.html b/doc/html/user_21-514.html
new file mode 100644 (file)
index 0000000..7090aa3
--- /dev/null
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+  <div class="footnote-text">
+  <!--l. 1169--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn14x0">  <sup class="textsuperscript">14</sup></a></span><span 
+class="cmr-9">This is a list of device numbers of some frequently used devices: </span><br 
+class="newline" /><!--tex4ht:inline--></p><div class="tabular"> <table id="TBL-2" class="tabular" 
+cellspacing="0" cellpadding="0"  
+><colgroup id="TBL-2-1g"><col 
+id="TBL-2-1" /><col 
+id="TBL-2-2" /><col 
+id="TBL-2-3" /><col 
+id="TBL-2-4" /><col 
+id="TBL-2-5" /><col 
+id="TBL-2-6" /><col 
+id="TBL-2-7" /></colgroup><tr  
+ style="vertical-align:baseline;" id="TBL-2-1-"><td  style="white-space:nowrap; text-align:left;" id="TBL-2-1-1"  
+class="td11"></td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-1-2"  
+class="td11"><span 
+class="cmtt-9">/dev/fd0</span></td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-1-3"  
+class="td11"><span 
+class="cmr-9">200</span></td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-1-4"  
+class="td11"><span 
+class="cmtt-9">/dev/hda1</span></td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-1-5"  
+class="td11"><span 
+class="cmr-9">301</span></td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-1-6"  
+class="td11"><span 
+class="cmr-9">/dev/sda1</span></td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-1-7"  
+class="td11"><span 
+class="cmr-9">801</span></td>
+</tr><tr  
+ style="vertical-align:baseline;" id="TBL-2-2-"><td  style="white-space:nowrap; text-align:left;" id="TBL-2-2-1"  
+class="td11"> </td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-2-2"  
+class="td11"><span 
+class="cmtt-9">/dev/fd1</span></td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-2-3"  
+class="td11"><span 
+class="cmr-9">201</span></td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-2-4"  
+class="td11"><span 
+class="cmtt-9">/dev/hda2</span></td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-2-5"  
+class="td11"><span 
+class="cmr-9">302</span></td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-2-6"  
+class="td11"><span 
+class="cmr-9">/dev/sda2</span></td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-2-7"  
+class="td11"><span 
+class="cmr-9">802</span></td>
+</tr><tr  
+ style="vertical-align:baseline;" id="TBL-2-3-"><td  style="white-space:nowrap; text-align:left;" id="TBL-2-3-1"  
+class="td11"> </td><td colspan="2" style="white-space:nowrap; text-align:center;" id="TBL-2-3-2"  
+class="td11">    <div class="multicolumn">&#x2026;</div>   </td>
+<td colspan="2" style="white-space:nowrap; text-align:center;" id="TBL-2-3-4"  
+class="td11">    <div class="multicolumn">&#x2026;</div>    </td>
+<td colspan="2" style="white-space:nowrap; text-align:center;" id="TBL-2-3-6"  
+class="td11">    <div class="multicolumn">&#x2026;</div>    </td>
+</tr><tr  
+ style="vertical-align:baseline;" id="TBL-2-4-"><td  style="white-space:nowrap; text-align:left;" id="TBL-2-4-1"  
+class="td11"> </td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-4-2"  
+class="td11">        </td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-4-3"  
+class="td11">   </td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-4-4"  
+class="td11"><span 
+class="cmtt-9">/dev/hdb1</span></td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-4-5"  
+class="td11"><span 
+class="cmr-9">341</span></td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-4-6"  
+class="td11"><span 
+class="cmr-9">/dev/sdb1</span></td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-4-7"  
+class="td11"><span 
+class="cmr-9">811</span></td>
+</tr><tr  
+ style="vertical-align:baseline;" id="TBL-2-5-"><td  style="white-space:nowrap; text-align:left;" id="TBL-2-5-1"  
+class="td11"> </td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-5-2"  
+class="td11">        </td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-5-3"  
+class="td11">   </td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-5-4"  
+class="td11"><span 
+class="cmtt-9">/dev/hdb2</span></td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-5-5"  
+class="td11"><span 
+class="cmr-9">342</span></td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-5-6"  
+class="td11"><span 
+class="cmr-9">/dev/sdb2</span></td><td  style="white-space:nowrap; text-align:left;" id="TBL-2-5-7"  
+class="td11"><span 
+class="cmr-9">812</span></td>
+</tr><tr  
+ style="vertical-align:baseline;" id="TBL-2-6-"><td  style="white-space:nowrap; text-align:left;" id="TBL-2-6-1"  
+class="td11"> </td><td colspan="2" style="white-space:nowrap; text-align:center;" id="TBL-2-6-2"  
+class="td11">      <div class="multicolumn"></div>          </td>
+<td colspan="2" style="white-space:nowrap; text-align:center;" id="TBL-2-6-4"  
+class="td11">      <div class="multicolumn">&#x2026;</div>  </td>
+<td colspan="2" style="white-space:nowrap; text-align:center;" id="TBL-2-6-6"  
+class="td11">      <div class="multicolumn">&#x2026;</div></td></tr><tr  
+ style="vertical-align:baseline;" id="TBL-2-7-"><td  style="white-space:nowrap; text-align:left;" id="TBL-2-7-1"  
+class="td11"> </td>
+  </tr></table></div></div>
+     
+</body></html> 
diff --git a/doc/html/user_21-514x.png b/doc/html/user_21-514x.png
new file mode 100644 (file)
index 0000000..4875617
Binary files /dev/null and b/doc/html/user_21-514x.png differ
diff --git a/doc/html/user_21-515.html b/doc/html/user_21-515.html
new file mode 100644 (file)
index 0000000..1ae7f24
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+   <div class="footnote-text">
+   <!--l. 1173--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn15x0">  <sup class="textsuperscript">15</sup></a></span><span 
+class="cmr-9">The device names are hard-coded in the kernel. Therefore, only the &#8220;standard&#8221; names are supported and some less common</span>
+   <span 
+class="cmr-9">devices may not be recognized. In those cases, only numbers can be used.</span></p></div>
+       
+</body></html> 
diff --git a/doc/html/user_21-516.html b/doc/html/user_21-516.html
new file mode 100644 (file)
index 0000000..6e7a3e4
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+   <div class="footnote-text">
+   <!--l. 1249--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn16x0">  <sup class="textsuperscript">16</sup></a></span><span 
+class="cmr-9">Options are frequently repeated when a string defined with </span><span 
+class="cmtt-9">append </span><span 
+class="cmr-9">or </span><span 
+class="cmtt-9">literal </span><span 
+class="cmr-9">is prepended to the parameters typed in</span>
+   <span 
+class="cmr-9">by the user. Also, LILO</span><span 
+class="cmr-9">&#x00A0;implicitly prepends the options </span><span 
+class="cmtt-9">ramdisk</span><span 
+class="cmr-9">, </span><span 
+class="cmtt-9">ro</span><span 
+class="cmr-9">, </span><span 
+class="cmtt-9">root</span><span 
+class="cmr-9">, or </span><span 
+class="cmtt-9">rw </span><span 
+class="cmr-9">when </span><span 
+class="cmtt-9">ramdisk</span><span 
+class="cmr-9">, </span><span 
+class="cmtt-9">read-only</span><span 
+class="cmr-9">,</span>
+   <span 
+class="cmtt-9">read-write</span><span 
+class="cmr-9">, or </span><span 
+class="cmtt-9">root</span><span 
+class="cmr-9">, respectively, are set in the configuration file. (</span><span 
+class="cmtt-9">lock </span><span 
+class="cmr-9">and </span><span 
+class="cmtt-9">vga </span><span 
+class="cmr-9">are handled by a different internal</span>
+   <span 
+class="cmr-9">mechanism.)</span></p></div>
+       
+</body></html> 
diff --git a/doc/html/user_21-517.html b/doc/html/user_21-517.html
new file mode 100644 (file)
index 0000000..4d927da
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+   <div class="footnote-text">
+   <!--l. 1471--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn20x0">  <sup class="textsuperscript">20</sup></a></span><span 
+class="cmr-9">E.g. if your root partition is mounted on </span><span 
+class="cmtt-9">/mnt</span><span 
+class="cmr-9">, you can update the map by simply running </span><span 
+class="cmtt-9">ROOT=/mnt /mnt/sbin/lilo</span></p></div> 
+</body></html> 
diff --git a/doc/html/user_21-518.html b/doc/html/user_21-518.html
new file mode 100644 (file)
index 0000000..f921800
--- /dev/null
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+   <div class="footnote-text">
+   <!--l. 1517--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn21x0">  <sup class="textsuperscript">21</sup></a></span><span 
+class="cmtt-9">-R </span><span 
+class="cmr-9">is typically used in reboot scripts, e.g. </span><br 
+class="newline" /><span 
+class="cmtt-9">#!/bin/sh </span><br 
+class="newline" /><span 
+class="cmtt-9">cd / </span><br 
+class="newline" /><span 
+class="cmtt-9">/sbin/lilo -R "</span><span 
+class="tctt-0900">$</span><span 
+class="cmtt-9">*" &amp;&amp; reboot</span></p></div> 
+</body></html> 
diff --git a/doc/html/user_21-519.html b/doc/html/user_21-519.html
new file mode 100644 (file)
index 0000000..79d3f14
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+   <div class="footnote-text">
+   <!--l. 2060--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn22x0">  <sup class="textsuperscript">22</sup></a></span><span 
+class="cmr-9">The boot sector is loaded by LILO&#8217;s secondary boot loader before control is passed to the code of </span><span 
+class="cmtt-9">chain.b</span><span 
+class="cmr-9">.</span></p></div>
+       
+</body></html> 
diff --git a/doc/html/user_21-51x.png b/doc/html/user_21-51x.png
new file mode 100644 (file)
index 0000000..c4245e6
Binary files /dev/null and b/doc/html/user_21-51x.png differ
diff --git a/doc/html/user_21-52.html b/doc/html/user_21-52.html
new file mode 100644 (file)
index 0000000..024f028
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+  <div class="footnote-text">
+  <!--l. 139--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn2x0">   <sup class="textsuperscript">2</sup></a></span><span 
+class="cmr-9">PC/MS-DOS, DR DOS, OS/2, Windows 95, Windows NT, 386BSD, SCO UNIX, Unixware,</span> <span 
+class="cmmi-9">&#x2026;</span></p></div>
+     
+</body></html> 
diff --git a/doc/html/user_21-520.html b/doc/html/user_21-520.html
new file mode 100644 (file)
index 0000000..5b0d815
--- /dev/null
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+   <div class="footnote-text">
+   <!--l. 2087--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn23x0">  <sup class="textsuperscript">23</sup></a></span><span 
+class="cmr-9">So you should be very suspicious if the operating system requires any specific configuration or even drivers</span>
+   <span 
+class="cmr-9">to use the disk it is booted from. Since there is a general trend to use optimized drivers to fully exploit the</span>
+   <span 
+class="cmr-9">hardware capabilities (e.g. non-blocking disk access), booting systems from the second disk may become increasingly</span>
+   <span 
+class="cmr-9">difficult.</span></p></div> 
+</body></html> 
diff --git a/doc/html/user_21-520x.png b/doc/html/user_21-520x.png
new file mode 100644 (file)
index 0000000..27ce36e
Binary files /dev/null and b/doc/html/user_21-520x.png differ
diff --git a/doc/html/user_21-521.html b/doc/html/user_21-521.html
new file mode 100644 (file)
index 0000000..d055385
--- /dev/null
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+   <div class="footnote-text">
+   <!--l. 2204--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn24x0">  <sup class="textsuperscript">24</sup></a></span><span 
+class="cmr-9">I.e. if the BIOS device code, the number of sectors, the number of heads and the partition start are specified. Note that</span>
+   <span 
+class="cmr-9">the number of cylinders may appear to vary if </span><span 
+class="cmtt-9">cylinders </span><span 
+class="cmr-9">is absent and only some of the partition starts are</span>
+   <span 
+class="cmr-9">specified.</span></p></div> 
+</body></html> 
diff --git a/doc/html/user_21-521x.png b/doc/html/user_21-521x.png
new file mode 100644 (file)
index 0000000..f60dcb1
Binary files /dev/null and b/doc/html/user_21-521x.png differ
diff --git a/doc/html/user_21-522.html b/doc/html/user_21-522.html
new file mode 100644 (file)
index 0000000..e312d4c
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+   <div class="footnote-text">
+   <!--l. 2389--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn25x0">  <sup class="textsuperscript">25</sup></a></span><span 
+class="cmr-9">The current mechanism isn&#8217;t perfect, because it sits on top of the scan code to character code translation performed by the</span>
+   <span 
+class="cmr-9">BIOS. This means that key combinations that don&#8217;t produce any useful character on the US keyboard will be ignored by LILO.</span>
+   <span 
+class="cmr-9">The advantage of this approach is its simplicity.</span></p></div>
+       
+</body></html> 
diff --git a/doc/html/user_21-522x.png b/doc/html/user_21-522x.png
new file mode 100644 (file)
index 0000000..d9ad026
Binary files /dev/null and b/doc/html/user_21-522x.png differ
diff --git a/doc/html/user_21-523.html b/doc/html/user_21-523.html
new file mode 100644 (file)
index 0000000..d3fa6e5
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+   <div class="footnote-text">
+   <!--l. 2402--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn26x0">  <sup class="textsuperscript">26</sup></a></span><span 
+class="cmr-9">On some systems, only root can execute </span><span 
+class="cmss-9">loadkeys</span><span 
+class="cmr-9">. It is then necessary to run </span><span 
+class="cmss-9">keytab-lilo.pl </span><span 
+class="cmr-9">as root too.</span></p></div>
+       
+</body></html> 
diff --git a/doc/html/user_21-524.html b/doc/html/user_21-524.html
new file mode 100644 (file)
index 0000000..ca64239
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+   <div class="footnote-text">
+   <!--l. 2573--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn27x0">  <sup class="textsuperscript">27</sup></a></span><span 
+class="cmr-9">E.g. </span><span 
+class="cmtt-9">/usr/src/lilo</span></p></div> 
+</body></html> 
diff --git a/doc/html/user_21-525.html b/doc/html/user_21-525.html
new file mode 100644 (file)
index 0000000..2c1f266
--- /dev/null
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+   <div class="footnote-text">
+   <!--l. 2689--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn28x0">  <sup class="textsuperscript">28</sup></a></span><span 
+class="cmr-9">Note that, while honoring </span><span 
+class="cmtt-9">TMPDIR </span><span 
+class="cmr-9">is the &#8220;right&#8221; thing to do, the fact that LILO</span><span 
+class="cmr-9">&#x00A0;has to create temporary device files at</span>
+   <span 
+class="cmr-9">all may indicate that the operating environment is not completely set up, so </span><span 
+class="cmtt-9">TMPDIR </span><span 
+class="cmr-9">may point to an invalid</span>
+   <span 
+class="cmr-9">location.</span></p></div> 
+</body></html> 
diff --git a/doc/html/user_21-526.html b/doc/html/user_21-526.html
new file mode 100644 (file)
index 0000000..6da2ac4
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+   <div class="footnote-text">
+   <!--l. 2720--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn29x0">  <sup class="textsuperscript">29</sup></a></span><span 
+class="cmr-9">E.g. if no hard disk is accessible through the BIOS.</span></p></div>
+       
+</body></html> 
diff --git a/doc/html/user_21-527.html b/doc/html/user_21-527.html
new file mode 100644 (file)
index 0000000..8d46004
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+   <div class="footnote-text">
+   <!--l. 2788--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn30x0">  <sup class="textsuperscript">30</sup></a></span><span 
+class="cmr-9">It is advisable to keep a second, stable, kernel image that can be booted if you forget to update the map after a change to</span>
+   <span 
+class="cmr-9">your usual kernel image.</span></p></div>
+       
+</body></html> 
diff --git a/doc/html/user_21-528.html b/doc/html/user_21-528.html
new file mode 100644 (file)
index 0000000..4876315
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+   <div class="footnote-text">
+   <!--l. 2828--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn31x0">  <sup class="textsuperscript">31</sup></a></span><span 
+class="cmr-9">Backup copies of old boot sectors may be needed when removing the boot sector. They are stored in </span><span 
+class="cmtt-9">/boot</span><span 
+class="cmr-9">.</span></p></div>
+       
+</body></html> 
diff --git a/doc/html/user_21-529.html b/doc/html/user_21-529.html
new file mode 100644 (file)
index 0000000..acb59d9
--- /dev/null
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+   <div class="footnote-text">
+   <!--l. 2978--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn32x0">  <sup class="textsuperscript">32</sup></a></span><span 
+class="cmr-9">Because different partition programs may display the partitions in a different order, it is possible that what you think is</span>
+   <span 
+class="cmr-9">your first partition isn&#8217;t </span><span 
+class="cmtt-9">/dev/hda1</span><span 
+class="cmr-9">, etc. A good method to verify the content of a partition is to try to mount</span>
+   <span 
+class="cmr-9">it.</span></p></div> 
+</body></html> 
diff --git a/doc/html/user_21-52x.png b/doc/html/user_21-52x.png
new file mode 100644 (file)
index 0000000..fcf03b4
Binary files /dev/null and b/doc/html/user_21-52x.png differ
diff --git a/doc/html/user_21-53.html b/doc/html/user_21-53.html
new file mode 100644 (file)
index 0000000..cffd4e6
--- /dev/null
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+  <div class="footnote-text">
+  <!--l. 207--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn3x0">   <sup class="textsuperscript">3</sup></a></span><span 
+class="cmr-9">LILO</span><span 
+class="cmr-9">&#x00A0;does not know how to read a file system. Instead, the map installer asks the kernel for the physical location of files</span>
+  <span 
+class="cmr-9">(e.g. the kernel image(s)) and records that information. This allows LILO</span><span 
+class="cmr-9">&#x00A0;to work with most file systems that are supported by</span>
+  <span 
+class="cmr-9">Linux.</span></p></div> 
+</body></html> 
diff --git a/doc/html/user_21-530.html b/doc/html/user_21-530.html
new file mode 100644 (file)
index 0000000..89658cb
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+    <div class="footnote-text">
+    <!--l. 3005--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn33x0">  <sup class="textsuperscript">33</sup></a></span><span 
+class="cmr-9">The expected version number may be different from the version number of the LILO</span><span 
+class="cmr-9">&#x00A0;package, because file version numbers</span>
+    <span 
+class="cmr-9">are only increased when the file formats change.</span></p></div> 
+</body></html> 
diff --git a/doc/html/user_21-53x.png b/doc/html/user_21-53x.png
new file mode 100644 (file)
index 0000000..8583420
Binary files /dev/null and b/doc/html/user_21-53x.png differ
diff --git a/doc/html/user_21-54.html b/doc/html/user_21-54.html
new file mode 100644 (file)
index 0000000..b1500fe
--- /dev/null
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+  <div class="footnote-text">
+  <!--l. 452--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn4x0">   <sup class="textsuperscript">4</sup></a></span><span 
+class="cmr-9">Most FDISK-type programs don&#8217;t believe in booting from an extended partition and refuse to activate it. LILO</span><span 
+class="cmr-9">&#x00A0;is</span>
+  <span 
+class="cmr-9">accompanied by a simple program (</span><span 
+class="cmss-9">activate</span><span 
+class="cmr-9">) that doesn&#8217;t have this restriction. Linux </span><span 
+class="cmss-9">fdisk </span><span 
+class="cmr-9">also supports activating extended</span>
+  <span 
+class="cmr-9">partitions.</span></p></div> 
+</body></html> 
diff --git a/doc/html/user_21-54x.png b/doc/html/user_21-54x.png
new file mode 100644 (file)
index 0000000..b1e63f3
Binary files /dev/null and b/doc/html/user_21-54x.png differ
diff --git a/doc/html/user_21-55.html b/doc/html/user_21-55.html
new file mode 100644 (file)
index 0000000..272f2d6
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+  <div class="footnote-text">
+  <!--l. 464--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn5x0">   <sup class="textsuperscript">5</sup></a></span><span 
+class="cmr-9">LILO</span><span 
+class="cmr-9">&#x00A0;can be forced to put the boot sector on such a partition by using the </span><span 
+class="cmtt-9">-b </span><span 
+class="cmr-9">option or the </span><span 
+class="cmtt-9">boot </span><span 
+class="cmr-9">variable. However, only</span>
+  <span 
+class="cmr-9">few programs that operate as master boot records support booting from a logical partition.</span></p></div> 
+</body></html> 
diff --git a/doc/html/user_21-55x.png b/doc/html/user_21-55x.png
new file mode 100644 (file)
index 0000000..d116e65
Binary files /dev/null and b/doc/html/user_21-55x.png differ
diff --git a/doc/html/user_21-56.html b/doc/html/user_21-56.html
new file mode 100644 (file)
index 0000000..481663b
--- /dev/null
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+<div class="footnote-text">
+<!--l. 593--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn6x0">  <sup class="textsuperscript">6</sup></a></span><span 
+class="cmr-9">Other, possibly better known boot switchers, e.g. </span><span 
+class="cmss-9">OS/2 BootManager </span><span 
+class="cmr-9">operate in a similar way. The installation procedures</span>
+<span 
+class="cmr-9">typically vary.</span></p></div>
+   
+</body></html> 
diff --git a/doc/html/user_21-56x.png b/doc/html/user_21-56x.png
new file mode 100644 (file)
index 0000000..b5a2f0a
Binary files /dev/null and b/doc/html/user_21-56x.png differ
diff --git a/doc/html/user_21-57.html b/doc/html/user_21-57.html
new file mode 100644 (file)
index 0000000..594b432
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+  <div class="footnote-text">
+  <!--l. 610--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn7x0">   <sup class="textsuperscript">7</sup></a></span><span 
+class="cmr-9">And the author would like to be notified if booting the other operating system(s) doesn&#8217;t work with LILO, but if it works</span>
+  <span 
+class="cmr-9">with an other boot partition selector.</span></p></div>
+      
+</body></html> 
diff --git a/doc/html/user_21-574x.png b/doc/html/user_21-574x.png
new file mode 100644 (file)
index 0000000..096aed5
Binary files /dev/null and b/doc/html/user_21-574x.png differ
diff --git a/doc/html/user_21-57x.png b/doc/html/user_21-57x.png
new file mode 100644 (file)
index 0000000..a5c6867
Binary files /dev/null and b/doc/html/user_21-57x.png differ
diff --git a/doc/html/user_21-58.html b/doc/html/user_21-58.html
new file mode 100644 (file)
index 0000000..ada07ce
--- /dev/null
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+  <div class="footnote-text">
+  <!--l. 715--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn8x0">   <sup class="textsuperscript">8</sup></a></span><span 
+class="cmss-9">LOADLIN </span><span 
+class="cmr-9">is available for anonymous FTP from </span><br 
+class="newline" /><span 
+class="cmtt-9">ftp://tsx-11.mit.edu/pub/linux/dos</span><span 
+class="cmtt-9">_utils/lodlin</span><span 
+class="cmti-9">n</span><span 
+class="cmtt-9">.tar.gz </span><br 
+class="newline" /><span 
+class="cmtt-9">ftp://sunsite.unc.edu/pub/Linux/system/boot/dualboot/lodlin</span><span 
+class="cmti-9">n</span><span 
+class="cmtt-9">.tgz </span><br 
+class="newline" /><span 
+class="cmss-9">BOOT.SYS </span><span 
+class="cmr-9">is available for anonymous FTP from </span><br 
+class="newline" /><span 
+class="cmtt-9">ftp://ftp.funet.fi/pub/Linux/tools/boot142.zip</span></p></div> 
+</body></html> 
diff --git a/doc/html/user_21-58x.png b/doc/html/user_21-58x.png
new file mode 100644 (file)
index 0000000..99361f0
Binary files /dev/null and b/doc/html/user_21-58x.png differ
diff --git a/doc/html/user_21-59.html b/doc/html/user_21-59.html
new file mode 100644 (file)
index 0000000..fcf684a
--- /dev/null
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
+<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->  
+<html xmlns="http://www.w3.org/1999/xhtml"  
+> 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
+<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
+<!-- xhtml,charset=utf-8,html --> 
+<meta name="src" content="user_21-5.tex" /> 
+<meta name="date" content="2011-01-30 16:35:00" /> 
+<link rel="stylesheet" type="text/css" href="user_21-5.css" /> 
+</head><body 
+>
+  <div class="footnote-text">
+  <!--l. 724--><p class="noindent" ><span class="footnote-mark"><a 
+ id="fn9x0">   <sup class="textsuperscript">9</sup></a></span><span 
+class="cmr-9">LILO</span><span 
+class="cmr-9">&#x00A0;can be found in </span><br 
+class="newline" /><span 
+class="cmtt-9">ftp://tsx-11.mit.edu/pub/linux/packages/lilo/lilo-</span><span 
+class="cmti-9">n</span><span 
+class="cmtt-9">.tar.gz </span><br 
+class="newline" /><span 
+class="cmtt-9">ftp://sunsite.unc.edu/pub/Linux/system/boot/lilo/lilo-</span><span 
+class="cmti-9">n</span><span 
+class="cmtt-9">.tar.gz </span><br 
+class="newline" /><span 
+class="cmtt-9">ftp://lrcftp.epfl.ch/pub/linux/local/lilo/lilo-</span><span 
+class="cmti-9">n</span><span 
+class="cmtt-9">.tar.gz</span></p></div> 
+</body></html> 
diff --git a/doc/html/user_21-59x.png b/doc/html/user_21-59x.png
new file mode 100644 (file)
index 0000000..e53d32d
Binary files /dev/null and b/doc/html/user_21-59x.png differ
index fa399f5f5eb532a05a95dde8b0563cbe1fb924c2..63d11b545152c13df22a36f20890d3ffb3e597e6 100644 (file)
--- a/lilo.lsm
+++ b/lilo.lsm
@@ -1,7 +1,7 @@
 Begin4
 Title:                 LILO
 Begin4
 Title:                 LILO
-Version:               23.1
-Entered-date:  2010-11-04
+Version:               24.0
+Entered-date:  2013-06-07
 Description:   Generic boot loader for Linux. Distribution 
                includes full source, documentation and support files.  
 Keywords:              Linux, boot loader, LILO
 Description:   Generic boot loader for Linux. Distribution 
                includes full source, documentation and support files.  
 Keywords:              Linux, boot loader, LILO
@@ -10,11 +10,9 @@ Maintained-by:       Joachim Wiedorn <ad_debian@joonet.de>
 Primary-site:  http://lilo.alioth.debian.org/
 Original-site:  http://lilo.alioth.debian.org/
 Alternate-site:        http://alioth.debian.org/projects/lilo/  (developer's site)
 Primary-site:  http://lilo.alioth.debian.org/
 Original-site:  http://lilo.alioth.debian.org/
 Alternate-site:        http://alioth.debian.org/projects/lilo/  (developer's site)
-Files:                 561kB  lilo-23.1.tar.gz
+Files:                 751kB  lilo-24.0.tar.gz
 Platforms:             Linux (>= 2.4.0), 
                gcc (>= 3.3.5), as86 (>= 0.16.14) needed to compile.
                bcc (0.16.14) needed to compile diagnostic disk 2 & DOS *.com.
 Platforms:             Linux (>= 2.4.0), 
                gcc (>= 3.3.5), as86 (>= 0.16.14) needed to compile.
                bcc (0.16.14) needed to compile diagnostic disk 2 & DOS *.com.
-               LaTeX and (optionally) Perl and Transfig needed to print the
-               documentation.
 Copying-policy:        BSD-License
 End
 Copying-policy:        BSD-License
 End
index c38e69456e4b50d98a1146a7b4ac56af30b06000..4e4724313739295a5db66473d12340be56f9410b 100644 (file)
--- a/make.vars
+++ b/make.vars
@@ -1,6 +1,6 @@
 ### Configuration variables for makefiles ###
 #
 ### Configuration variables for makefiles ###
 #
-# Copyright 2009-2011 Joachim Wiedorn
+# Copyright 2009-2013 Joachim Wiedorn
 # All rights reserved.
 # 
 # Licensed under the terms contained in the file 'COPYING'
 # All rights reserved.
 # 
 # Licensed under the terms contained in the file 'COPYING'
index 05ae5516ebb2ed90543cbd3c01d386584fa3fe4b..a980969a172bb7361e976c43468273a4d8d3a558 100644 (file)
@@ -1,25 +1,41 @@
+#!/usr/bin/make -f
 # -*- makefile -*-
 
 # adding variables
 include ../make.vars
 
 # -*- makefile -*-
 
 # adding variables
 include ../make.vars
 
+PODFILES  := lilo-uuid-diskid lilo liloconfig
+MANFILES5 := lilo.conf
+MANFILES8 := keytab-lilo lilo-uuid-diskid lilo liloconfig mkrescue
+
 all:
 
 all:
 
+build:
+       for PF in $(PODFILES); do \
+         sh ./pod2manpage $$PF.pod; \
+       done
+
 install:
        mkdir -p $$DESTDIR$(MAN_DIR)/man5
 install:
        mkdir -p $$DESTDIR$(MAN_DIR)/man5
-       mkdir -p $$DESTDIR$(MAN_DIR)/man8
+       for MF in $(MANFILES5); do \
+         install -m 0644  $$MF.5  $$DESTDIR$(MAN_DIR)/man5; \
+       done
 
 
-       install -m 0644  lilo.8  $$DESTDIR$(MAN_DIR)/man8
-       install -m 0644  mkrescue.8  $$DESTDIR$(MAN_DIR)/man8
-       install -m 0644  lilo.conf.5  $$DESTDIR$(MAN_DIR)/man5
-       install -m 0644  keytab-lilo.8  $$DESTDIR$(MAN_DIR)/man8
+       mkdir -p $$DESTDIR$(MAN_DIR)/man8
+       for MF in $(MANFILES8); do \
+         install -m 0644  $$MF.8  $$DESTDIR$(MAN_DIR)/man8; \
+       done
 
 clean:
 
 distclean:
 
 uninstall:
 
 clean:
 
 distclean:
 
 uninstall:
-       rm -f $$DESTDIR$(MAN_DIR)/man8/lilo.8
-       rm -f $$DESTDIR$(MAN_DIR)/man8/mkrescue.8
-       rm -f $$DESTDIR$(MAN_DIR)/man5/lilo.conf.5
-       rm -f $$DESTDIR$(MAN_DIR)/man8/keytab-lilo.8
+       for MF in $(MANFILES5); do \
+         rm -vf $$DESTDIR$(MAN_DIR)/man5/$$MF.5 || true; \
+       done
+
+       for MF in $(MANFILES8); do \
+         rm -vf $$DESTDIR$(MAN_DIR)/man8/$$MF.8 || true; \
+       done
+
diff --git a/man/lilo-uuid-diskid.8 b/man/lilo-uuid-diskid.8
new file mode 100644 (file)
index 0000000..facfd7b
--- /dev/null
@@ -0,0 +1,118 @@
+.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07)
+.\"
+.\" Standard preamble:
+.\" ========================================================================
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Vb \" Begin verbatim text
+.ft CW
+.nf
+.ne \\$1
+..
+.de Ve \" End verbatim text
+.ft R
+.fi
+..
+.\" Set up some character translations and predefined strings.  \*(-- will
+.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
+.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
+.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
+.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
+.\" nothing in troff, for use with C<>.
+.tr \(*W-
+.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
+.ie n \{\
+.    ds -- \(*W-
+.    ds PI pi
+.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
+.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
+.    ds L" ""
+.    ds R" ""
+.    ds C` ""
+.    ds C' ""
+'br\}
+.el\{\
+.    ds -- \|\(em\|
+.    ds PI \(*p
+.    ds L" ``
+.    ds R" ''
+'br\}
+.\"
+.\" Escape single quotes in literal strings from groff's Unicode transform.
+.ie \n(.g .ds Aq \(aq
+.el       .ds Aq '
+.\"
+.\" If the F register is turned on, we'll generate index entries on stderr for
+.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
+.\" entries marked with X<> in POD.  Of course, you'll have to process the
+.\" output yourself in some meaningful fashion.
+.ie \nF \{\
+.    de IX
+.    tm Index:\\$1\t\\n%\t"\\$2"
+..
+.    nr % 0
+.    rr F
+.\}
+.el \{\
+.    de IX
+..
+.\}
+.\" ========================================================================
+.\"
+.IX Title "LILO-UUID-DISKID 8"
+.TH LILO-UUID-DISKID 8 "2013-05-01" "23.3" "lilo documentation"
+.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
+.\" way too many mistakes in technical documents.
+.if n .ad l
+.nh
+.SH "NAME"
+lilo\-uuid\-diskid \- convert boot / root options to diskid and uuid in lilo.conf.
+.SH "SYNOPSIS"
+.IX Header "SYNOPSIS"
+\&\fBlilo-uuid-diskid\fR [\fB\-h\fR] [\fB\-v\fR] [\fBlilo.conf\fR]
+.SH "DESCRIPTION"
+.IX Header "DESCRIPTION"
+This script looks for the boot block device or boot partition and create the
+right diskid or uuid as boot option. Then it looks for all root partitions
+and create the right uuids as root options.
+.PP
+These conversions are necessary for use with newer kernel (>= 2.6.26) if it
+use the libata module for parallel and serial \s-1ATA\s0 interfaces of block devices
+(i. e. hard disks with \s-1IDE\s0 or \s-1SATA\s0 interface, usbsticks).
+.SH "OPTIONS"
+.IX Header "OPTIONS"
+.IP "\fB\-h\fR" 4
+.IX Item "-h"
+Print a brief help.
+.IP "\fB\-v\fR" 4
+.IX Item "-v"
+Print verbose messages.
+.SH "EXAMPLES"
+.IX Header "EXAMPLES"
+Lines in the configuration file /etc/lilo.conf:
+.PP
+.Vb 2
+\&  #boot = /dev/sda
+\&  boot = /dev/disk/by\-id/ata\-SAMSUNG_SV1604N_S01FJ10X999999
+\&
+\&  #root = /dev/sda1
+\&  root = "UUID=/dev/disk/by\-uuid/18843936\-00f9\-4df0\-a373\-000d05a5dd44"
+.Ve
+.SH "COPYRIGHT and LICENSE"
+.IX Header "COPYRIGHT and LICENSE"
+Copyright (C) 2010\-2013 Joachim Wiedorn
+.PP
+This script is free software; you can redistribute it and/or modify
+it under the terms of the \s-1GNU\s0 General Public License as published by 
+the Free Software Foundation; either version 2 of the License, or 
+(at your option) any later version.
+.SH "AUTHOR"
+.IX Header "AUTHOR"
+\&\fBlilo-uuid-diskid\fR was written by Joachim Wiedorn.
+.PP
+This manual page was written by Joachim Wiedorn <ad_debian at joonet.de>.
+.SH "SEE ALSO"
+.IX Header "SEE ALSO"
+\&\fBlilo\fR(8), \fBupdate-lilo\fR(8), \fBliloconfig\fR(8)
diff --git a/man/lilo-uuid-diskid.pod b/man/lilo-uuid-diskid.pod
new file mode 100644 (file)
index 0000000..3d43ba1
--- /dev/null
@@ -0,0 +1,71 @@
+=for header
+manpage:  LILO-UUID-DISKID
+section:  8
+title:    lilo documentation
+version:  23.3
+datum:    2013-05-01
+
+=encoding utf8
+
+=head1 NAME
+
+lilo-uuid-diskid - convert boot / root options to diskid and uuid in lilo.conf.
+
+=head1 SYNOPSIS
+
+B<lilo-uuid-diskid> [B<-h>] [B<-v>] [B<lilo.conf>]
+
+=head1 DESCRIPTION
+
+This script looks for the boot block device or boot partition and create the
+right diskid or uuid as boot option. Then it looks for all root partitions
+and create the right uuids as root options.
+
+These conversions are necessary for use with newer kernel (>= 2.6.26) if it
+use the libata module for parallel and serial ATA interfaces of block devices
+(i. e. hard disks with IDE or SATA interface, usbsticks).
+
+=head1 OPTIONS
+
+=over 4
+
+=item B<-h>
+
+Print a brief help.
+
+=item B<-v>
+
+Print verbose messages.
+
+=back
+
+=head1 EXAMPLES
+
+Lines in the configuration file /etc/lilo.conf:
+
+  #boot = /dev/sda
+  boot = /dev/disk/by-id/ata-SAMSUNG_SV1604N_S01FJ10X999999
+
+  #root = /dev/sda1
+  root = "UUID=/dev/disk/by-uuid/18843936-00f9-4df0-a373-000d05a5dd44"
+
+=head1 COPYRIGHT and LICENSE
+
+Copyright (C) 2010-2013 Joachim Wiedorn
+
+This script is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by 
+the Free Software Foundation; either version 2 of the License, or 
+(at your option) any later version.
+
+=head1 AUTHOR
+
+B<lilo-uuid-diskid> was written by Joachim Wiedorn.
+
+This manual page was written by Joachim Wiedorn <ad_debian at joonet.de>.
+
+=head1 SEE ALSO
+
+B<lilo>(8), B<update-lilo>(8), B<liloconfig>(8)
+
+=cut
index 9309925f5766b6ab3651ae703291e78d6fdc1d40..02512f47124eb8998da23d588971f17a9a9e3b6d 100644 (file)
-'\" t
-.\" @(#)lilo.8 1.0 950728 aeb
-.\" This page is based on the lilo docs, which carry the following
-.\" COPYING condition:
+.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07)
 .\"
 .\"
-.\" LILO program code, documentation and auxiliary programs are
-.\" Copyright 1992-1998 Werner Almesberger.
-.\" Extensions to LILO, documentation and auxiliary programs are
-.\" Copyright 1999-2005 John Coffman.
-.\" All rights reserved by the respective copyright holders.
-.\" 
-.\" Redistribution and use is subject to the terms set forth in
-.\" the file COPYING in the source directory.
+.\" Standard preamble:
+.\" ========================================================================
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Vb \" Begin verbatim text
+.ft CW
+.nf
+.ne \\$1
+..
+.de Ve \" End verbatim text
+.ft R
+.fi
+..
+.\" Set up some character translations and predefined strings.  \*(-- will
+.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
+.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
+.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
+.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
+.\" nothing in troff, for use with C<>.
+.tr \(*W-
+.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
+.ie n \{\
+.    ds -- \(*W-
+.    ds PI pi
+.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
+.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
+.    ds L" ""
+.    ds R" ""
+.    ds C` ""
+.    ds C' ""
+'br\}
+.el\{\
+.    ds -- \|\(em\|
+.    ds PI \(*p
+.    ds L" ``
+.    ds R" ''
+'br\}
 .\"
 .\"
-.\" Original version, Andries Brouwer (aeb@cwi.nl), 950728
-.\" Added t directive, as Daniel Quinlan asked, 950824
-.\" Added L switch, John Coffman, 991118
-.\" Added T switch, John Coffman, 001001
-.\" Added p switch, John Coffman, 010402
-.\" Added x switch, John Coffman, 010409
-.\" Added A switch, John Coffman, 010417
-.\" Added M switch, John Coffman, 010417
-.\" Added g switch, John Coffman, 010526
-.\" Added z switch, John Coffman, 010829
-.\" Added E switch, John Coffman, 020409
-.\" Added B,F & X switches, John Coffman, 020418
-.\" Added "k" option to I switch, John Coffman, 020609
-.\" Added Z switch, John Coffman, 030314
-.\" Added I switch options "D" and "a", John Coffman, 030513
-.\" Added I switch option "R", John Coffman, 041116
-.\" Added H switch, John Coffman, 050927
+.\" Escape single quotes in literal strings from groff's Unicode transform.
+.ie \n(.g .ds Aq \(aq
+.el       .ds Aq '
 .\"
 .\"
-.TH LILO 8 "07 Oct 2005"
-.SH NAME
-lilo \- install boot loader
-.SH SYNOPSIS
+.\" If the F register is turned on, we'll generate index entries on stderr for
+.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
+.\" entries marked with X<> in POD.  Of course, you'll have to process the
+.\" output yourself in some meaningful fashion.
+.ie \nF \{\
+.    de IX
+.    tm Index:\\$1\t\\n%\t"\\$2"
+..
+.    nr % 0
+.    rr F
+.\}
+.el \{\
+.    de IX
+..
+.\}
+.\" ========================================================================
+.\"
+.IX Title "LILO 8"
+.TH LILO 8 "2013-05-01" "23.3" "lilo documentation"
+.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
+.\" way too many mistakes in technical documents.
+.if n .ad l
+.nh
+.SH "NAME"
+lilo \- install boot loader of LiLO
+.SH "SYNOPSIS"
+.IX Header "SYNOPSIS"
 Main function:
 Main function:
-.LP
-.B " /sbin/lilo"
-\- install boot loader
-.LP
+.PP
+
\b
+\&\fBlilo\fR
+.PP
 Auxiliary uses:
 Auxiliary uses:
-.LP
-.B " /sbin/lilo -A"
-\- activate/show active partition
-.br
-.B " /sbin/lilo -E"
-\- edit header or update a bitmap file
-.br
-.B " /sbin/lilo -I"
-\- inquire path name of current kernel
-.br
-.B " /sbin/lilo -M "
-\- write a Master Boot Loader on a device
-.br
-.B " /sbin/lilo -q"
-\- query map
-.br
-.B " /sbin/lilo -R"
-\- set default command line for next reboot
-.br
-.B " /sbin/lilo -T"
-\- tell more about specified topic
-.br
-.B " /sbin/lilo {-u|-U}"
-\- uninstall LILO boot loader
-.SH DESCRIPTION
-.LP
-.B lilo
-installs a boot loader that will be activated the next time you boot your
-system. The default configuration file
-.I "/etc/lilo.conf"
-(see 'man lilo.conf') will contain most options, but many, including
-those which override the
-configuration file, may be specified on the command line.
-.LP
-.TP
-.BI "\-\^A " "master-device [ N ]"
-Used with a single argument, inquire of active partition on device
-.IR master-device ;
-e.g., \fI/dev/hda\fP.  With N==0, deactivate all partitions on the device.  With
-N in the range [1..n], activate the specified partition and deactivate all
-others.  Normally, only primary partitions [1..4] may be activated, but if
-the Extended Master Boot Loader is present on the Master Boot Record
-of the device
-(see the \fI-M\fP option), any partition may be made active.  Whether the
-actual OS in the partition will boot from an extended partition depends on
-the characteristics of the OS.  LILO boot records for Linux
-may be booted from an extended partition.
-.TP
-.BI "\-\^b " bootdev
-Specify the boot device; i.e., where the boot loader will be installed.
-"\-b /dev/hda" specifies the Master Boot Record; "\-b /dev/sdb5" specifies
-the first extended partition on the second SCSI disk.
-.TP
-.BI "\-\^B " bitmap-file
-Specify a bitmap file for the boot-time graphics screen, preferably one
-already pre-processed with the 'lilo \-E' command.
-.TP
-.B "\-\^c"
-Enable map compaction. This will merge read requests from adjacent
-sectors. Speeds up the booting (especially from floppy).
-.TP
-.BI "\-\^C " config-file
-.B lilo
-Specify an alternate pathname for the configuration file.
-This option overrides the use of the default configuration file,
-.IR "/etc/lilo.conf" .
-.TP
-.BI "\-\^d " delay
-Specifies the delay time in tenths of a second (20 = 2 sec) before
-automatically booting the first image.  Gives you time to interrupt the
-automatic boot process with Shift, Alt, Ctrl, ScrollLock, or CapsLock.  If
-interrupted, the `boot:' prompt is displayed.  This switch is overridden by
-the appearance of
-.I prompt
-in the configuration file.
-.TP
-.BI "\-\^D " label
-Use the kernel with the given label, instead of the first one
-in the list, as the default kernel to boot.
-.TP
-.BI "\-\^E " filename.ext
-If \fB.ext\fP is \fB.bmp\fP, then take the file to be a bitmap graphic file
-for use in the "bitmap=" configuration file directive.  Enter an interactive
-editor to create or update the color/placement information in the
-bitmap file LILO header.  (see 'bmp-colors', 'bmp-table', and 'bmp-timer'
-on the man page for 'lilo.conf(5)'.)
-.sp
-If \fB.ext\fP is \fB.dat\fP, then take the file to be a configuration file which
-specifies bitmap graphic parameters, which are transferred into the LILO
-header in the bitmap file of the same name.
-.sp
-When a \fB.bmp\fP file is modified using a graphics editor (e.g., GIMP), the
-LILO header will be lost.  It can be restored using the \fB.dat\fP file,
-which is used as a text-based backup for the LILO header information.
-.TP
-.BI "\-\^f " disk-tab
-Specify disk geometry parameter file. (The default is
-.IR /etc/disktab .)
-.TP
-.BI "\-\^F"
-Override boot sector check for filesystems (e.g., swap, XFS, ...) which might be
-destroyed by the installation of the LILO boot sector on the first sector of
-the partition.  These filesystems use the first sector as a superblock.
+.PP
 
 
-Compare with "\-P ignore", which bypasses certain partition table checks.
-.TP
-.BI "\-\^g"
-Generate cylinder/head/sector (geometric) disk addresses.  Limited to
-cylinders up to 1023.  Forces compatibility with older versions of LILO.
-.TP
-.BI "\-\^H"
-Override fatal halt when a RAID array does not have all disks active.
-.TP
-.BI "\-\^i " boot-loader
-Specify a file to be used as the new boot loader. (The default is
-.IR /boot/boot.b .)
-.TP
-.BI "\-I " "label [D|a|i|k|r|R]"
-.B label
-is taken to be the name of an image specified in the configuration file.
\b
+\&\fBlilo\fR \fB\-A\fR        # activate/show active partition 
\b
+\&\fBlilo\fR \fB\-E\fR        # edit header or update a bitmap file 
\b
+\&\fBlilo\fR \fB\-I\fR        # inquire path name of current kernel 
\b
+\&\fBlilo\fR \fB\-M\fR        # write a Master Boot Loader on a device 
\b
+\&\fBlilo\fR \fB\-q\fR        # query map and show its content 
\b
+\&\fBlilo\fR \fB\-R\fR        # set default command line for next reboot 
\b
+\&\fBlilo\fR \fB\-T\fR        # tell more about specified topic 
\b
+\&\fBlilo\fR \fB{\-u|\-U}\fR   # uninstall LiLO boot loader
+.SH "DESCRIPTION"
+.IX Header "DESCRIPTION"
+lilo installs a boot loader that will be activated the next time you boot
+your system. The default configuration file \fI/etc/lilo.conf\fR (see manpage
+\&\fIlilo.conf\fR\|(5)) will contain most options, but many, including those which
+override the configuration file, may be specified  on the command line.
+.SH "OPTIONS"
+.IX Header "OPTIONS"
+.IP "\fB\-A\fR \fImaster-device [N]\fR" 4
+.IX Item "-A master-device [N]"
+Used with a single argument, inquire of active partition on device \fImaster-device\fR;
+e.g. \fI/dev/sda\fR. With N==0: deactivate all partitions on the device. With N in 
+the range [1..n]: activate the specified partition and deactivate all others.
+Normally, only primary partitions [1..4] may be activated, but if the 'Extended
+Master Boot Loader' is present on the Master Boot Record (\s-1MBR\s0) of the device 
+(see the \-M option), any partition may be made active.  Whether the actual \s-1OS\s0
+in the partition will boot from an extended partition depends on the characteristics
+of the \s-1OS\s0. \s-1LILO\s0 boot records for Linux may be booted from an extended partition.
+.IP "\fB\-b\fR \fIbootdev\fR" 4
+.IX Item "-b bootdev"
+Set the boot device where the boot loader will be installed. For example
+\&\fI\*(L"\-b /dev/sda\*(R"\fR set the Master Boot Record (\s-1MBR\s0) on the first disk as boot
+device. \fI\*(L"\-b /dev/sdb5\*(R"\fR set the first extended partition on the second disk
+as boot device.
+.IP "\fB\-B\fR \fIbitmap-file\fR" 4
+.IX Item "-B bitmap-file"
+Define a bitmap file for the boot-time graphics screen, preferably one already
+pre-processed with the \fI\-E\fR option.
+.IP "\fB\-c\fR" 4
+.IX Item "-c"
+Enable map compaction. This will merge read requests from adjacent sectors.
+Speeds up the booting especially from floppy.
+.IP "\fB\-C\fR \fIconfig-file\fR" 4
+.IX Item "-C config-file"
+Set another pathname and filename for the configuration file. The default
+configuration file is \fI/etc/lilo.conf\fR.
+.IP "\fB\-d\fR \fIdelay-time\fR" 4
+.IX Item "-d delay-time"
+Set the delay time in tenths of a second ('20' = 2 sec) before automatically
+booting the first image. This give you time to interrupt the automatic boot
+process with: Shift, Alt, Ctrl, ScrollLock, or CapsLock. If interrupted, the
+\&\fIboot:\fR prompt will be displayed.
+.Sp
+This switch will be overridden by the appearance of \fIprompt\fR in the
+configuration file!
+.IP "\fB\-D\fR \fIlabel\fR" 4
+.IX Item "-D label"
+Use the kernel with the given label as the default kernel to boot, instead of
+the first one in the list of the configuration file.
+.IP "\fB\-E\fR \fIfilename.xxx\fR" 4
+.IX Item "-E filename.xxx"
+If the extension \fB.xxx\fR is \fB.bmp\fR, then take the file to be a bitmap graphic file
+for use in the \fIbitmap=\fR configuration file directive. Enter an interactive
+editor to create or update the color/placement information in the \s-1LILO\s0 header
+of this bitmap file. (see \fIbmp-colors\fR, \fIbmp-table\fR, and \fIbmp-timer\fR on the
+manual page for \fIlilo.conf (5)\fR.)
+.Sp
+If \fB.xxx\fR is \fB.dat\fR then take this file to be a configuration file to set bitmap
+graphic parameters, which are transferred into the \s-1LILO\s0 header in the bitmap file
+of the same name.
+.Sp
+When a \fB.bmp\fR file is modified using a graphics editor (e.g. \s-1GIMP\s0), the \s-1LILO\s0
+header will be lost. It can be restored using the \fBdat\fR file, which is used as
+a text-based backup for the \s-1LILO\s0 header information.
+.IP "\fB\-f\fR \fIdisk-tab\fR" 4
+.IX Item "-f disk-tab"
+Set another disk geometry parameter file. The default is \fI/etc/disktab\fR.
+.IP "\fB\-F\fR" 4
+.IX Item "-F"
+Override boot sector check for filesystems (e.g., swap, ext4, xfs ...) which
+might be destroyed by the installation of the \s-1LILO\s0 boot sector on the first
+sector of the partition if these filesystems use the first sector as a superblock.
+.Sp
+Compare with \fI\-P ignore\fR, which bypasses certain partition table checks.
+.IP "\fB\-g\fR" 4
+.IX Item "-g"
+Generate 'cylinder/head/sector' (\s-1CHS\s0 geometric) disk addresses. Limited to cylinders
+up to 1023. Forces compatibility with very old versions of \s-1LILO\s0 \fI(obsolete switch)\fR.
+.IP "\fB\-H\fR" 4
+.IX Item "-H"
+Override fatal halt if a \s-1RAID\s0 array does not have all disks active.
+.IP "\fB\-I\fR \fIlabel [D|a|i|k|r|R]\fR" 4
+.IX Item "-I label [D|a|i|k|r|R]"
+\&\fBlabel\fR is taken to be the name of an image specified in the configuration file.
 This command will print the path name of the corresponding kernel file, keytable
 This command will print the path name of the corresponding kernel file, keytable
-file, initial ramdisk file, root specification, or "append="
-string ("i", "k", "r", "R", or "a" option). 
-The "D" option ignores the
-.B label
-parameter, and prints the default "image=" label, or first "image=" label
-if no default
-.BI image
-is specified.
-.TP
-.BI "\-\^l"
-Generate 24-bit linear sector addresses instead of cylinder/head/sector
-addresses.
-.TP
-.BI "\-\^L"
-Generate 32-bit Logical Block Addresses instead of cylinder/head/sector
-addresses, allowing
-access to all partitions on disks with more than 1024 cylinders.
-.TP
-.BI "\-\^m " map-file
-Use specified map file instead of the default.
-.TP
-.BI "\-\^M " "master-device " "[mbr|ext]"
-Install a Master Boot Record on the device specified as
-.IR master-device ,
-selecting the Standard or Extended Master Boot Loader per the option.
-The primary partition table on
-.I master-device
-is undisturbed.  If no valid Volume-ID (serial number)
-is present, then generate one
-and write it to the MBR.  If \fBmbr\fP is specified, the Standard Master
-Boot Loader
-will search partitions 1-4 for an active flag, and boot the flagged
-partition.  Only one active flag is allowed.  If \fBext\fP is specified, the
-search for an active partition will include extended partitions as well. 
-The presence of the Extended Master Boot Loader on the
-Master Boot Record (MBR = sector 0) of a disk
-affects the operation of the \fI-A\fP option.
-.TP
-.BI "\-\^p"
-Require interactive entry of all passwords specified as
-.B """""" 
-in the configuration file.
-.TP
-.BI "\-\^P " "{fix|ignore|\<global-option\>}"
-Fix or ignore `corrupt' partition tables, i.e., partition tables
-with linear and cylinder/head/sector addresses that do not correspond.
-Always try
-.I -P ignore
-first, as
-.I -P fix
-will re-write the partition table, possibly destroying all partitions
-on the disk.
-
-.I -P ignore
-is also used to bypass the partition table check for partition types within
-the partition table which
-might not allow the installation of a LILO boot sector.  Compare with the
-"\-F" flag, which overrides the check of the actual boot sector.
-
-.I "-P <global-option>"
-allows the passing of any global option which may appear in the global
-section (top) of the configuration file (/etc/lilo.conf).  For instance,
-.I -P nowarn
-will pass the "nowarn" option, just as though "nowarn" appeared in the
-configuration file (same as the "\-w" switch).  Similarly,
-.I -P timeout=50
-will add or override the "timeout=" line in the configuration file.  Note
-that the general
-.I -P
-switch actually duplicates a number of command line option switches. 
-However, it is not strictly the same as some switches whick cause an
-override of other options; e.g., "\-g" (\-P geometric), "\-L" (\-P lba32).
-.TP
-.B \-\^q
-List the currently mapped files.
-.B lilo
-maintains a file, by default
-.IR "/boot/map" ,
-containing the name and location of the kernel(s) to boot.
-This option will list the names therein.  Use with \fB-v\fP for
-more detailed information about the installed boot loader.
-.TP
-.BI "\-\^r " root-directory
-Before doing anything else, do a \fIchroot\fP to the indicated
-directory. The new root directory must contain a
-.I /dev
-directory, and may need a
-.I /boot
-directory. It may also need an
-.IR /etc/lilo.conf " file."
-.TP
-.BI "\-\^R " "command line"
-This option sets the default command for the boot loader the next
-time it executes. The boot loader will then erase this line: this
-is a once-only command. It is typically used in reboot scripts,
-just before calling `shutdown \-r'.  Used without any arguments, it will
-cancel a \fIlock\fP-ed or \fIfallback\fP command line.
-.TP
-.BI "\-\^s " save-file
-When
-.B lilo
-writes a new boot sector, it preserves the former contents of the sector
-in a file, named by default \fI/boot/boot.NNNN\fP,
-where NNNN is the hexadecimal representation of the major and minor
-device numbers of the drive/partition. This option specifies the backup
-save file in one of three ways: a save directory (default is '/boot') using
-the default filename 'boot.NNNN' in the specified directory; a pathname template
-to which '.NNNN' is appended (default would be '/boot/boot');
-or the full pathname of the file, which must include the correct '.NNNN'
-suffix. When used with the
-\fB-u\fP option, the full file pathname must be specified.
-.TP
-.BI "\-\^S " save-file
-Normally,
-.B lilo
-will not overwrite an existing boot sector save file. This options says
-that overwriting is to be forced. As with \fB-s\fP, the specification may be of a
-save directory, pathname template, or full pathname (which includes the '.NNNN'
-suffix.)
-.TP
-.BI "\-\^t "
-Test only. Do not really write a new boot sector or map file.
-Use together with \fB-v\fP to find out what
-.B lilo
-is about to do.
-.TP
-.BI "\-\^T " option
-Print out system information, some of it extracted from the system
-bios.  This is more convenient than booting the LILO diagnostic
-floppy on problem systems.
-.I option
+file, initial ramdisk file, root specification, or \*(L"append=\*(R" string (\*(L"i\*(R", \*(L"k\*(R",
+\&\*(L"r\*(R", \*(L"R\*(R", or \*(L"a\*(R" option). The \*(L"D\*(R" option ignores the \fBlabel\fR parameter and
+prints the default \*(L"image=\*(R" label, or the first \*(L"image=\*(R" label is selected if
+no default \fBimage\fR is set.
+.IP "\fB\-l\fR" 4
+.IX Item "-l"
+Generate 24\-bit linear sector addresses instead of cylinder/head/sector addresses.
+.IP "\fB\-L\fR" 4
+.IX Item "-L"
+Generate 32\-bit Logical Block Addresses (\s-1LBA\s0) instead of cylinder/head/sector (\s-1CHS\s0)
+addresses, allowing access to all partitions on disks with more than 1024 cylinders.
+(This is the default geometry).
+.IP "\fB\-m\fR \fImap-file\fR" 4
+.IX Item "-m map-file"
+Use another map file instead of the default file /boot/map.
+.IP "\fB\-M\fR \fImaster-device\fR \fB{mbr|ext}\fR" 4
+.IX Item "-M master-device {mbr|ext}"
+Install a Master Boot Record on the device specified as master-device, selecting
+the Standard or Extended Master Boot Loader per option. The primary partition
+table on master-device is undisturbed. If no valid Volume-ID (serial number) is
+present, then generate one and write it to the \s-1MBR\s0. If \fImbr\fR is set, the
+Standard Master Boot Loader will search partitions 1\-4 for an active flag, and
+boot the flagged partition. Only one active flag is allowed. If \fIext\fR is set,
+the search for an active partition will include extended partitions as well.
+The presence of the Extended Master Boot Loader on the Master Boot Record
+(\s-1MBR\s0 = sector 0) of a disk affects the operation of the \fI\-A\fR option.
+.IP "\fB\-p\fR" 4
+.IX Item "-p"
+Require interactive entry of all passwords set as "" in the configuration file.
+.IP "\fB\-P\fR \fI{fix|ignore|<global\-option\fR}>" 4
+.IX Item "-P {fix|ignore|<global-option}>"
+Fix or ignore 'corrupt' partition tables, e.g. partition tables with linear and
+cylinder/head/sector addresses that do not correspond. Always try \fBignore\fR
+first, as \fBfix\fR will re-write the partition table, possibly destroying all
+partitions on the disk.
+.Sp
+\&\fBignore\fR is also used to bypass the partition table check for partition types
+within the partition table which might not allow the installation of a \s-1LILO\s0 boot
+sector. Compare with the '\-F' flag, which overrides the check of the actual
+boot sector.
+.Sp
+\&\fB<global\-option>\fR allows the passing of any global option which may
+appear in the global section (top) of the  configuration file (\fI/etc/lilo.conf\fR).
+For instance \fI'\-P nowarn'\fR will pass the 'nowarn' option, just as though 'nowarn'
+appeared in the configuration file (same as the '\-w' switch).  Similarly
+\&\fI'\-P timeout=50'\fR will add or override the 'timeout=' line in the  configuration
+file. Note that the general \fB\-P\fR switch actually duplicates a number of command
+line option switches. However, it is not strictly the same as some switches which
+cause an override of other options; e.g. '\-g' (\-P geometric), '\-L' (\-P lba32).
+.IP "\fB\-q\fR" 4
+.IX Item "-q"
+List the currently mapped files. \fBlilo\fR maintains a file, by default \fI/boot/map\fR,
+containing each name and location of the kernel(s) to boot. This option will list
+the names therein.  Use with \fB\-v\fR for more detailed information about the
+installed boot loader.
+.IP "\fB\-r\fR \fIroot-directory\fR" 4
+.IX Item "-r root-directory"
+Before doing anything else, do a \fI'chroot'\fR to the indicated directory. The new
+root directory must contain a \fI/dev\fR directory and may need a /boot directory.
+It may also need an \fI/etc/lilo.conf\fR file.
+.IP "\fB\-R\fR \fIcommand-line\fR" 4
+.IX Item "-R command-line"
+This  option sets the default command for the boot loader for the next time it
+executes. After execution the boot loader will erase this line because it is a
+once-only command. It is typically used in reboot scripts, just before calling
+\&'shutdown \-r'. Used without any arguments, it will cancel a \fIlock\fR\-ed or
+\&\fIfallback\fR command line.
+.IP "\fB\-s\fR \fIsave-file\fR" 4
+.IX Item "-s save-file"
+When lilo writes a new boot sector, it preserves the former contents of the boot
+sector in a file, named by default /boot/boot.NNNN, where \s-1NNNN\s0 is the hexadecimal
+representation of the major and minor device numbers of the drive/partition.
+.Sp
+This option defines the backup save file in one of three ways: a save directory
+(default is '/boot') using the default filename 'boot.NNNN' in the defined
+directory; a pathname template to which '.NNNN' is appended (default would be
+\&'/boot/boot'); or the full pathname of the file, which must include the correct
+\&'.NNNN' suffix. When used with the \-u option, the full file pathname must be set.
+.IP "\fB\-S\fR \fIsave-file\fR" 4
+.IX Item "-S save-file"
+Normally lilo will not overwrite an existing boot sector save file. This options
+says that overwriting is to be forced. As with \-s, the setting may be of a save
+directory, pathname template, or full pathname (which includes the '.NNNN' suffix).
+.IP "\fB\-t\fR" 4
+.IX Item "-t"
+Test only. Do not really write a new boot sector or map file. Use together with
+\&\fB\-v\fR to find out what lilo is about to do.
+.IP "\fB\-T\fR \fIoption\fR" 4
+.IX Item "-T option"
+Print out system information, some of it extracted from system bios. This is more
+convenient than booting the \s-1LILO\s0 diagnostic floppy on problem systems. \fBoption\fR
 may be any one of the following:
 may be any one of the following:
-.IP
-.nf
-   help  - print a list of available diagnostics
-   ChRul - list the partition types subject to
-           Change-Rules
-   EBDA  - list Extended BIOS Data Area information
-   geom=<drive> list drive geometry for bios drive;
-           e.g., geom=0x80
-   geom  - list drive geometry for all drives
-   table=<drive> list the primary partition table;
-           e.g., table=/dev/sda
-   video - list graphic modes available to boot
-           loader
-.fi
-.TP
-.BI "\-\^u " [device-name]
-Uninstall \fIlilo\fP by copying the saved boot sector back.
-The '\-s' and '\-C' switches may be used with this option.
-The \fIdevice-name\fP is optional.  A time-stamp is checked.
-.TP
-.BI "\-\^U " [device-name]
-Idem, but do not check the time-stamp.
-.TP
-.B "\-\^v"
-Increase verbosity. Giving one to five \fB-v\fP options
-will make lilo more verbose, or use, \fB-v\fP \fIn\fP (n=1..5) to
-set verbosity level '\fIn\fP'.
-.TP
-.B "\-\^V"
+.Sp
+.Vb 11
+\& help          print a list of available diagnostics
+\& ChRul         list the partition types subject to
+\&                 Change\-Rules
+\& EBDA          list Extended BIOS Data Area information
+\& geom=<drive>  list drive geometry for bios drive;
+\&                 e.g. geom=0x80
+\& geom          list drive geometry for all drives
+\& table=<drive> list the primary partition table;
+\&                 e.g. table=/dev/sda
+\& video         list graphic modes available to boot
+\&                 loader
+.Ve
+.IP "\fB\-u\fR \fI[device\-name]\fR" 4
+.IX Item "-u [device-name]"
+Uninstall lilo by copying the saved boot sector back. The \fB\-s\fR and \fB\-C\fR switches
+may be used with this option. The device-name is optional. A time-stamp is
+checked.
+.IP "\fB\-U\fR \fI[device\-name]\fR" 4
+.IX Item "-U [device-name]"
+The same as '\-u', but do not check the time-stamp.
+.IP "\fB\-v\fR \fI[number]\fR" 4
+.IX Item "-v [number]"
+Increase verbosity. Giving one to five \fB\-v\fR options will make lilo more verbose.
+The \fBnumber\fR (range 1..5) set verbosity level.
+.IP "\fB\-V\fR" 4
+.IX Item "-V"
 Print version number.
 Print version number.
-.TP
-.B "\-\^w"
-Used as \fB-w\fP or \fB-w-\fP, suppress warning messages.
-Used as \fB-w+\fP, override \fInowarn\fP in
-the configuration file, and show warning messages.
-.TP
-.BI "\-\^x " option
-For RAID installations only.  The option may be any of the keywords
-.IR none ,
-.IR auto ,
-.IR mbr ,
-.IR mbr-only ,
-or a comma separated list of additional boot devices (no spaces allowed in
-the list).
-.TP
-.BI "\-\^X"
-Reserved for LILO internal use.  May produce different
-output for different LILO versions. The line beginning "CFLAGS="
-will contain the compiler options used to generate this version of LILO.
-.TP
-.B "\-\^z"
-When used with the `\-M' switch, clears the Volume-ID.  Usually used
-in the following sequence to generate a new Volume-ID:
-.nf
-     lilo \-z \-M /dev/hda
-     lilo \-M /dev/hda
-.fi
-.br
-.TP
-.BI "\-\^Z " option
-Tells the boot installer whether special precautions need to be taken
-because the BIOS fails to pass the correct device code in DL (\-Z0). Or may
-specify that the BIOS always gets DL right (\-Z1). Corresponds to, and
-overrides, the configuration file option 'bios-passes-dl='.
-.LP
-The above command line options correspond to the key words
-in the config file indicated below.
-.IP
-.TS
-l l.
-\-b bootdev    boot=bootdev
-\-B file.bmp   bitmap=file.bmp
-\-c    compact
-\-d dsec       delay=dsec
-\-D label      default=label
-\-i boot-loader        install=boot-loader
-\-f file       disktab=file
-\-g    geometric
-\-l    linear
-\-L    lba32
-\-m mapfile    map=mapfile
-\-P fix        fix-table
-\-P ignore     ignore-table
-\-s file       backup=file
-\-S file       force-backup=file
-\-v [N]        verbose=N
-\-w    nowarn
-\-x option     raid-extra-boot=option
-\-Z option     bios-passes-dl=option
-.TE
+.IP "\fB\-w\fR\fI[+|\-]\fR" 4
+.IX Item "-w[+|-]"
+Used as \fB\-w\fR or \fB\-w\-\fR to suppress warning messages. Used as '\-w+' to override
+\&\fI'nowarn'\fR in the configuration file and show warning messages.
+.IP "\fB\-x\fR \fIoption\fR" 4
+.IX Item "-x option"
+For \s-1RAID\s0 installations  only. The option may be any of the keywords: \fInone\fR,
+\&\fIauto\fR, \fImbr\fR, \fImbr-only\fR, or a comma separated list of additional boot
+devices (no spaces allowed in the list).
+.Sp
+\&\s-1RAID\s0 installations write the boot record to the \s-1RAID\s0 partition. Conditional
+writing of MBRs may occur to aid in making the \s-1RAID\s0 set bootable in a recovery
+situation, but all default actions may be overridden. Action similar to previous
+versions is achieved using the \fI'\-x mbr\-only'\fR switch.
+.IP "\fB\-X\fR" 4
+.IX Item "-X"
+Reserved for \s-1LILO\s0 internal use. May produce different output for different \s-1LILO\s0
+versions. The line beginning \*(L"CFLAGS=\*(R" will contain the compiler options used to
+generate this version of \s-1LILO\s0.
+.IP "\fB\-z\fR" 4
+.IX Item "-z"
+When used with the '\-M' switch, clears the Volume-ID.  Usually used in the 
+following sequence to generate a new Volume-ID:
+.Sp
+.Vb 2
+\&    lilo \-z \-M /dev/hda
+\&    lilo \-M /dev/hda
+.Ve
+.IP "\fB\-Z\fR \fIoption\fR" 4
+.IX Item "-Z option"
+Tells the boot installer whether special precautions need to be taken because
+the \s-1BIOS\s0 fails to pass the correct device code in \s-1DL\s0 (\-Z0). Or may specify
+that the \s-1BIOS\s0 always gets \s-1DL\s0 right (\-Z1). Corresponds to, and overrides, the
+configuration file option 'bios\-passes\-dl='.
+.SH "CONFIG OPTIONS"
+.IX Header "CONFIG OPTIONS"
+The above command line options correspond to the key words in the config file
+indicated below.
+.PP
+.Vb 1
+\&              \-b bootdev       boot=bootdev
+\&
+\&              \-B file.bmp      bitmap=file.bmp
+\&              \-c               compact
+\&              \-d dsec          delay=dsec
+\&              \-D label         default=label
+\&              \-f file          disktab=file
+\&              \-g               geometric
+\&              \-l               linear
+\&              \-L               lba32
+\&              \-m mapfile       map=mapfile
+\&              \-P fix           fix\-table
+\&              \-P ignore        ignore\-table
+\&              \-s file          backup=file
+\&              \-S file          force\-backup=file
+\&              \-v [N]           verbose=N
+\&              \-w               nowarn
+\&              \-x option        raid\-extra\-boot=option
+\&              \-Z option        bios\-passes\-dl=option
+.Ve
 .SH "BOOT OPTIONS"
 .SH "BOOT OPTIONS"
-The options described here may be specified at boot time on
-the command line when a
-kernel image is booted.  These options are processed by LILO, and are
-removed from the command line before it is passed to the kernel,
-unless otherwise noted.
-.LP
-.TP
-.BI lock
-Locks the command line, as though 'lock' had been specified in 'lilo.conf.'
-.TP
-.BI "mem=###[,K,M,G]"
-Specifies the maximum memory in the system in bytes, kilobytes, megabytes,
-or gigabytes.
-This option is not removed from the command line, and is always passed to
-the kernel.
-.TP
-.BI nobd
-Suppresses the BIOS data check.  This option is reserved for use with
-non-IBM-compliant BIOS's which hang with the lines:
-.sp
-.nf
-     Loading...............
-     BIOS data check 
-.fi
-.TP
-.BI "vga=[ASK,EXT,EXTENDED,NORMAL,###,0x###]"
+.IX Header "BOOT OPTIONS"
+The  options  described  here may be specified at boot time on the command line
+when a kernel image is booted. These options are processed by \s-1LILO\s0, and are
+removed from the command line before it is passed to the kernel, unless otherwise
+noted.
+.IP "\fBlock\fR" 4
+.IX Item "lock"
+Locks the command line, as though 'lock' had been defined in \fI/etc/lilo.conf\fR.
+.IP "\fBmem=###[,K,M,G]\fR" 4
+.IX Item "mem=###[,K,M,G]"
+Set the maximum memory in the system in bytes, kilobytes, megabytes or gigabytes.
+This option is not removed from the command line, and is always passed to the
+kernel.
+.IP "\fBnobd\fR" 4
+.IX Item "nobd"
+Suppresses the \s-1BIOS\s0 data check. This option is reserved for use with
+non-IBM-compliant \s-1BIOS\s0's which hang with the lines:
+.Sp
+.Vb 2
+\&    Loading...............
+\&    BIOS data check
+.Ve
+.IP "\fBvga=[\s-1ASK\s0,EXT,EXTENDED,NORMAL,###,0x###]\fR" 4
+.IX Item "vga=[ASK,EXT,EXTENDED,NORMAL,###,0x###]"
 Allows overriding the default video mode upon kernel startup.
 Allows overriding the default video mode upon kernel startup.
-.br
-.SH BOOT ERRORS
-The boot process takes place in two stages.  The first stage loader is a
-single sector, and is loaded by the BIOS or by the loader in the MBR.  It
-loads the multi-sector second stage loader, but is very space limited.  When
-the first stage loader gets control, it types the letter "L"; when it is
-ready to transfer control to the second stage loader it types the letter
-"I".  If any error occurs, like a disk read error, it will put out a
-hexadecimal error code, and then it will re-try the operation.  All hex
-error codes are BIOS return values, except for the lilo-generated 40, 99 and 9A.
-A partial list of error codes follows:
-.br
-.IP
-.TS
-l l.
-00  no error
-01  invalid disk command
-02  address mark not found
-03  disk write-protected
-04  sector not found
-06  floppy disk removed
-08  DMA overrun
-0A  bad sector flag
-0B  bad track flag
-20  controller failure
-40  seek failure (BIOS)
-40  cylinder>1023 (LILO)
-99  invalid second stage index sector (LILO)
-9A  no second stage loader signature (LILO)
-AA  drive not ready
-FF  sense operation failed
-.TE
-.br
-.LP
-Error code 40 is generated by the BIOS, or by LILO during the conversion of
-a linear (24-bit) disk address to a geometric (C:H:S) address.  On older
-systems which do not support lba32 (32-bit) addressing, this error may also
-be generated.  Errors 99 and 9A usually mean the map file (\-m or map=) is
-not readable, likely because LILO was not re-run after some system change,
-or there is a geometry mis-match between what LILO used (lilo \-v3 to
-display) and what is actually being used by the BIOS (one of the lilo
-diagnostic disks, available in the source distribution, may be needed to
-diagnose this problem).
-
-When the second stage loader has received control from the first stage, it
-prints the letter "L", and when it has initialized itself, including
-verifying the "Descriptor Table" \- the list of kernels/others to boot \- it
-will print the letter "O", to form the full word "LILO", in uppercase.
-
-All second stage loader error messages are English text, and try to
-pinpoint, more or less successfully, the point of failure.
-.br
-.SH INCOMPATIBILITIES
-.B lilo
-is known to have problems with the
-.I reiserfs
-introduced with the 2.2.x kernels, unless the file system is
-mounted with the 'notail' option.  This incompatibility has been
-resolved with reiserfs 3.6.18 and lilo 21.6.
-.I reiser4
-introduced with the 2.5.x kernels requires lilo 22.5.2 or later.
-.sp
-Beginning with version 22.0, RAID installations write the boot record to
-the RAID partition. Conditional writing of MBRs may occur to aid in making
-the RAID set bootable in a recovery situation, but all default actions may
-be overridden. Action similar to previous versions is
-achieved using the `\-x mbr-only' switch.
-.SH BUGS
-Configuration file options `backup' and `force-backup'
-should specify a backup directory or backup file pathname template on
-all RAID installations. Use of an explicit filename may not allow multiple
-backup files to be created correctly. It is best to use the default mechanism,
-as it works correctly in all cases.
+.SH "BOOT ERRORS"
+.IX Header "BOOT ERRORS"
+The  boot process takes place in two stages. The first stage loader is a single
+sector, and is loaded by the \s-1BIOS\s0 or by the loader in the \s-1MBR\s0. It loads the
+multi-sector second stage loader, but is very space limited. When the first
+stage  loader  gets  control, it types  the  letter 'L'; when it is ready to
+transfer control to the second stage loader it types the letter 'I'. If any
+error occurs, like a disk read error, it will put out a hexadecimal error code
+and then re-try the operation.  All hex error codes are \s-1BIOS\s0 return values,
+except for the lilo-generated codes: 40, 99 and 9A. A partial list of error
+codes follows:
+.PP
+.Vb 10
+\&    00  no error
+\&    01  invalid disk command
+\&    02  address mark not found
+\&    03  disk write\-protected
+\&    04  sector not found
+\&    06  floppy disk removed
+\&    08  DMA overrun
+\&    0A  bad sector flag
+\&    0B  bad track flag
+\&    20  controller failure
+\&    40  seek failure (BIOS)
+\&    40  cylinder>1023 (LILO)
+\&    99  invalid second stage index sector (LILO)
+\&    9A  no second stage loader signature (LILO)
+\&    AA  drive not ready
+\&    FF  sense operation failed
+.Ve
+.PP
+Error code 40 is generated by the \s-1BIOS\s0, or by \s-1LILO\s0 during the conversion of a
+linear (24\-bit) disk address to a geometric (C:H:S) address. On older systems
+which do not support lba32 (32\-bit) addressing, this error may also be generated.
+Errors 99 and 9A usually mean the map file ('\-m' or 'map=') is not readable,
+likely because \s-1LILO\s0 was not re-run after some system change, or there is a
+geometry mismatch between what \s-1LILO\s0 used (lilo \-v3 to display) and what is
+actually being used by the \s-1BIOS\s0 (one of the lilo diagnostic  disks, available
+in the source distribution, may be needed to diagnose this problem).
+.PP
+When  the second stage loader has received control from the first stage, it
+prints the letter 'L', and when it has initialized itself, including verifying
+the \*(L"Descriptor Table\*(R" \- the list of kernels/others to boot \- it will print
+the letter \*(L"O\*(R", to form the full word \*(L"\s-1LILO\s0\*(R", in uppercase.
+.PP
+All second stage loader error messages are English text and try to pinpoint,
+more or less successfully, the point of failure.
+.SH "BUGS"
+.IX Header "BUGS"
+Configuration file options 'backup' and 'force\-backup' should specify a backup
+directory or backup file pathname template on all \s-1RAID\s0 installations. Use of an
+explicit filename may not allow multiple backup files to be created correctly.
+It is best to use the  default mechanism, as it works correctly in all cases.
+.SH "COPYRIGHT and LICENSE"
+.IX Header "COPYRIGHT and LICENSE"
+.Vb 3
+\& Copyright (C) 1992\-1998 Werner Almesberger
+\& Copyright (C) 1999\-2007 John Coffman
+\& Copyright (C) 2009\-2013 Joachim Wiedorn
+.Ve
+.PP
+Redistribution and use in source and binary forms, with or without 
+modification, are permitted under the terms of the \s-1BSD\s0 license found in 
+the \s-1COPYING\s0 file.
+.SH "AUTHOR"
+.IX Header "AUTHOR"
+\&\fBlilo\fR was written by:
+.PP
+.Vb 3
+\& Werner Almesberger (version 0 to 21),
+\& John Coffman (version 21.2 to 22.8),
+\& Joachim Wiedorn (since version 23.0).
+.Ve
+.PP
+This manual page was written by Werner Almesberger and Joachim Wiedorn
+<ad_debian at joonet.de>.
 .SH "SEE ALSO"
 .SH "SEE ALSO"
-fdisk(8), lilo.conf(5), mkrescue(8), mkinitrd(8).
-.sp
-The lilo distribution comes with very extensive TeX documentation through
-Version 21.  Text file README's in the source directory provide updates on
-more recent topics.
-.SH "AUTHORS"
-Werner Almesberger <almesber@lrc.epfl.ch> (versions 0 to 21)
-.br
-John Coffman <johninsd@san.rr.com> (21.2 to present date)
+.IX Header "SEE ALSO"
+\&\fBlilo.conf\fR(5),
+\&\fBliloconfig\fR(8), 
+\&\fBlilo-uuid-diskid\fR(8),
+\&\fBmkrescue\fR(8), 
+\&\fBfdisk\fR(8),
+\&\fBmkinitrd\fR(8)
index c769b4d6db54c3afe94947675ff1cc03cfa8758f..557646b5a331f4165453413272d19c4541d30413 100644 (file)
@@ -1,5 +1,5 @@
 '\" t
 '\" t
-.\" @(#)lilo.conf.5 1.0 950728 aeb
+.\" @(#)lilo.conf.5
 .\" This page is based on the lilo docs, which carry the following
 .\" COPYING condition:
 .\"
 .\" This page is based on the lilo docs, which carry the following
 .\" COPYING condition:
 .\"
@@ -7,6 +7,9 @@
 .\" Copyright 1992-1998 Werner Almesberger.
 .\" Extensions to LILO, documentation and auxiliary programs are
 .\" Copyright 1999-2005 John Coffman.
 .\" Copyright 1992-1998 Werner Almesberger.
 .\" Extensions to LILO, documentation and auxiliary programs are
 .\" Copyright 1999-2005 John Coffman.
+.\" Extensions to LILO, documentation and auxiliary programs are
+.\" Copyright 2009-2011 Joachim Wiedorn.
+.\"
 .\" All rights reserved by the respective copyright holders.
 .\" 
 .\" Redistribution and use in source and binary forms of parts of or the
 .\" All rights reserved by the respective copyright holders.
 .\" 
 .\" Redistribution and use in source and binary forms of parts of or the
@@ -16,7 +19,7 @@
 .\" this software without specific prior written permission. This work
 .\" is provided "as is" and without any express or implied warranties.
 .\"
 .\" this software without specific prior written permission. This work
 .\" is provided "as is" and without any express or implied warranties.
 .\"
-.TH LILO.CONF 5 "April 2011"
+.TH LILO.CONF 5 "June 2011"
 .SH NAME
 lilo.conf \- configuration file for lilo
 .SH DESCRIPTION
 .SH NAME
 lilo.conf \- configuration file for lilo
 .SH DESCRIPTION
@@ -69,22 +72,22 @@ other=/dev/hdb5
 This configuration file specifies that lilo uses the Master
 Boot Record on /dev/hda. (For a discussion of the various ways
 to use lilo, and the interaction with other operating systems,
 This configuration file specifies that lilo uses the Master
 Boot Record on /dev/hda. (For a discussion of the various ways
 to use lilo, and the interaction with other operating systems,
-see user.tex from the lilo documentation.)
+see user.pdf from the lilo documentation.)
 .LP
 When booting, the boot loader will issue its 
 .I "boot:"
 .LP
 When booting, the boot loader will issue its 
 .I "boot:"
-prompt and wait for you to enter the label of the kernel (and any options)
-which you wish to boot. At any time you may hit [Tab] to see
-a list of kernel/other labels.
+prompt and wait for you to enter the label of the kernel (and any
+options) which you wish to boot. At any time you may hit [Tab] to
+see a list of kernel/other labels.
 Alternately, if the \fBmenu\fP boot loader is installed,
 a menu of boot options will be presented for your selection.
 The title of this menu is overridden with the menu
 title specification in this configuration file.
 Alternately, if the \fBmenu\fP boot loader is installed,
 a menu of boot options will be presented for your selection.
 The title of this menu is overridden with the menu
 title specification in this configuration file.
-If you enter nothing,
-then the default kernel image, the first mentioned, (/boot/zImage-1.5.99)
-will be booted after a timeout of 15 seconds (150 deciseconds).
-There may be at least 16 images mentioned in lilo.conf. (The exact number depends
-upon compilation options.)
+If you enter nothing, then the default kernel image, the first 
+mentioned, (in the example /boot/vmlinuz-2.6.29-1-i386) will be
+booted after a timeout of 15 seconds (150 deciseconds). There may
+be at least 16 images mentioned in lilo.conf. (The exact number 
+depends upon compilation options.)
 .LP
 As can be seen above, a configuration file starts with a number
 of global options (the top 9 lines in the example),
 .LP
 As can be seen above, a configuration file starts with a number
 of global options (the top 9 lines in the example),
@@ -95,7 +98,7 @@ Comment lines may appear anywhere, and begin with the "#" character.
 
 .SH "GLOBAL OPTIONS"
 There are many possible keywords. The description below is
 
 .SH "GLOBAL OPTIONS"
 There are many possible keywords. The description below is
-almost literally from user.tex (just slightly abbreviated).
+almost literally from user.pdf (just slightly abbreviated).
 .TP
 .BI "backup=" <backup-file>
 Specifies the location where a copy of any modified boot sector will be
 .TP
 .BI "backup=" <backup-file>
 Specifies the location where a copy of any modified boot sector will be
@@ -119,8 +122,8 @@ loader in the DL register.  Its only function at this point is experimental,
 as certain RAID installations may benefit from knowing that the
 BIOS is 100% reliable.  Its use should be considered experimental.
 .sp
 as certain RAID installations may benefit from knowing that the
 BIOS is 100% reliable.  Its use should be considered experimental.
 .sp
-N.B.:  This option may not be retained in releases beyond 22.5.1, and
-may be specified on the command line with the '\-Z' switch:  yes=1, no=0.
+This option may be specified on the command line with the '\-Z' switch:
+yes=1, no=0.
 .TP
 .BI "bitmap=" <bitmap-file>
 Specifies use of a 640x480x16 (VGA BIOS) or 640x480x256 (VGA/VESA BIOS)
 .TP
 .BI "bitmap=" <bitmap-file>
 Specifies use of a 640x480x16 (VGA BIOS) or 640x480x256 (VGA/VESA BIOS)
@@ -138,12 +141,12 @@ From a text file with all the information about 'bmp-colors', 'bmp-table'
 and 'bmp-timer' options together with the 'bitmap' option are stored in 
 the special LILO  header of the bitmap image file by the
 .BI "lilo -E"
 and 'bmp-timer' options together with the 'bitmap' option are stored in 
 the special LILO  header of the bitmap image file by the
 .BI "lilo -E"
-+command. Another way works without these special header information: All
-+the information about 'bmp-colors', 'bmp-table' and 'bmp-timer' options
-+together with the 'bitmap' option are stored in the configuration file.
-+Any use of the 'bmp-' options within the configuration file overrides
-+the options stored in the bitmap file header. If lilo cannot find any of
-+the 'bmp-' options, then default values are used.
+command. Another way works without these special header information: All
+the information about 'bmp-colors', 'bmp-table' and 'bmp-timer' options
+together with the 'bitmap' option are stored in the configuration file.
+Any use of the 'bmp-' options within the configuration file overrides
+the options stored in the bitmap file header. If lilo cannot find any of
+the 'bmp-' options, then default values are used.
 .TP
 .BI "bmp-colors=" <fg>,<bg>,<sh>,<hfg>,<hbg>,<hsh>
 Specifies the decimal values of the colors to be used for the menu display
 .TP
 .BI "bmp-colors=" <fg>,<bg>,<sh>,<hfg>,<hbg>,<hsh>
 Specifies the decimal values of the colors to be used for the menu display
@@ -184,14 +187,12 @@ then the form 'bmp-timer = none' is acceptable.  This will disable the timer
 display entirely.
 .TP
 .BI "boot=" <boot-device>
 display entirely.
 .TP
 .BI "boot=" <boot-device>
-Sets the name of the device (e.g. a hard disk partition) that contains
-the boot sector. If this keyword is omitted, the boot sector is read
-from (and possibly written to) the device that is currently mounted as root.
+Sets the name of the device (e.g. hard disk or partition) that contains
+the boot sector and where the new boot sector should be written to. Notice: 
+The boot-device should be the device with the currently mounted root partition.
 .sp
 A raid installation is initiated by specifying a RAID1 device as the boot
 .sp
 A raid installation is initiated by specifying a RAID1 device as the boot
-device; e.g., "boot=/dev/md0".  Note that LILO version 22.0 and later
-operate differently from earlier versions with respect to the actual
-location of the boot records.
+device; e.g., "boot=/dev/md0".
 .sp
 On newer systems you need an unique ID for the boot device. If the boot
 sector should write to a partition you can use its UUID in the same manner
 .sp
 On newer systems you need an unique ID for the boot device. If the boot
 sector should write to a partition you can use its UUID in the same manner
@@ -230,7 +231,7 @@ rules are sufficient.  The strings which define the partition types
 are used in a
 .I change
 section (see below), with the suffixes "_normal" or "_hidden" appended.
 are used in a
 .I change
 section (see below), with the suffixes "_normal" or "_hidden" appended.
-See section "Partition type change rules" of user.tex for more details.
+See section "Partition type change rules" of user.pdf for more details.
 .TP
 .BI "compact"
 Tries to merge read requests for adjacent sectors into a single 
 .TP
 .BI "compact"
 Tries to merge read requests for adjacent sectors into a single 
@@ -260,7 +261,7 @@ This action is modified by specifying `prompt' (see below).
 .TP
 .BI "disk=" <device-name>
 Defines non-standard parameters for the specified disk.
 .TP
 .BI "disk=" <device-name>
 Defines non-standard parameters for the specified disk.
-See section "Disk geometry" of user.tex for details.
+See section "Disk geometry" of user.pdf for details.
 For versions of LILO prior to 22.5, the `bios=' parameter
 is quite useful for specifying how the BIOS has assigned
 device codes to your disks.
 For versions of LILO prior to 22.5, the `bios=' parameter
 is quite useful for specifying how the BIOS has assigned
 device codes to your disks.
@@ -707,17 +708,26 @@ If the booted image is a Linux kernel, then one may pass
 command line parameters to this kernel.
 .TP
 .BI "addappend=" <string>
 command line parameters to this kernel.
 .TP
 .BI "addappend=" <string>
-(22.6) The kernel parameters from the specified string, are concatenated to the
+The kernel parameters of this string are concatenated to the
 parameter(s) from an
 .B "append="
 parameter(s) from an
 .B "append="
-specification (see below).
-The string must be enclosed within double quotes.  Usually, the previous
+option (see below).
+The string of addappend must be enclosed within double quotes. 
+Usually, the previous
 .B "append="
 .B "append="
-will specify parameters common to all kernels by appearing in the top,
-or global, section of the configuration file and
+will set parameters common to all kernels by appearing in the global 
+section of the configuration file and
 .B "addappend="
 will be used to add local parameter(s) to an individual image.
 .B "addappend="
 will be used to add local parameter(s) to an individual image.
-Addappend= may be used only once per "image=" section.
+The addappend option may be used only once per "image=" section.
+.sp
+If the string is a very long line, this line can be divided 
+in more lines using "\\" as last character of a line, e.g.
+.sp
+.nf
+    addappend="noapic acpi=off pci=usepirqmask \\
+            pnpbios=off pnpacpi=off noisapnp"
+.fi
 .TP
 .BI "append=" <string>
 Appends the options specified to the parameter line passed to the kernel.
 .TP
 .BI "append=" <string>
 Appends the options specified to the parameter line passed to the kernel.
@@ -726,14 +736,16 @@ entirely auto-detected or for which probing may be dangerous. Multiple
 kernel parameters are separated by a blank space, and the string must be
 enclosed in double quotes.  A local append= appearing withing an image=
 section overrides any
 kernel parameters are separated by a blank space, and the string must be
 enclosed in double quotes.  A local append= appearing withing an image=
 section overrides any
-global append= appearing in the top section of the configuration file.
-Append= may be used only once per "image="
+global append= appearing in the global section of the configuration file.
+The append option may be used only once per "image="
 section. To concatenate parameter strings, use "addappend=". Example:
 .sp
 .nf
      append="mem=96M hd=576,64,32 console=ttyS1,9600"
 .fi
 .sp
 section. To concatenate parameter strings, use "addappend=". Example:
 .sp
 .nf
      append="mem=96M hd=576,64,32 console=ttyS1,9600"
 .fi
 .sp
+If the string is a very long line, this line can be divided in more lines 
+using "\\" as last character of a line. See example of addappend option.
 .TP
 .BI "initrd=" <name>
 Specifies the initial ramdisk image to be loaded with the kernel.  The
 .TP
 .BI "initrd=" <name>
 Specifies the initial ramdisk image to be loaded with the kernel.  The
@@ -769,9 +781,8 @@ If the special name
 is used, the root device is set to the device on which the root file
 system is currently mounted. If the root has been changed with  \-r ,
 the respective device is used. If the variable `root' is omitted,
 is used, the root device is set to the device on which the root file
 system is currently mounted. If the root has been changed with  \-r ,
 the respective device is used. If the variable `root' is omitted,
-the root device setting contained in the kernel image is used.
-(And that is set at compile time using the ROOT_DEV variable in
-the kernel Makefile, and can later be changed with the rdev(8) program.)
+the root device setting contained in the running kernel image is used.
+Warning: This can induce to an unbootable system!
 .sp
 The root filesystem may also be specified by a
 .B LABEL=
 .sp
 The root filesystem may also be specified by a
 .B LABEL=
@@ -855,11 +866,6 @@ in its boot sector.)
 Note that /sbin/lilo must be re-run if a partition table mapped referenced
 with `table' is modified.
 .TP
 Note that /sbin/lilo must be re-run if a partition table mapped referenced
 with `table' is modified.
 .TP
-.BI "table=" <drive-letter>
-This option is obsolete. It were used in the special case with the obsolete
-.I os2_d
-chain loader.
-.TP
 .BI "change"
 This keyword starts a section which describes how primary partition IDs are
 changed, and how primary partitions are activated and deactivated.  If
 .BI "change"
 This keyword starts a section which describes how primary partition IDs are
 changed, and how primary partitions are activated and deactivated.  If
diff --git a/man/lilo.pod b/man/lilo.pod
new file mode 100644 (file)
index 0000000..602c857
--- /dev/null
@@ -0,0 +1,451 @@
+=for header
+manpage:  LILO
+section:  8
+title:    lilo documentation
+version:  23.3
+datum:    2013-05-01
+
+=encoding utf8
+
+=head1 NAME
+
+lilo - install boot loader of LiLO
+
+=head1 SYNOPSIS
+
+Main function:
+
+E<10> E<8>
+B<lilo>
+
+Auxiliary uses:
+
+E<10> E<8>
+B<lilo> B<-A>        # activate/show active partition E<10> E<8>
+B<lilo> B<-E>        # edit header or update a bitmap file E<10> E<8>
+B<lilo> B<-I>        # inquire path name of current kernel E<10> E<8>
+B<lilo> B<-M>        # write a Master Boot Loader on a device E<10> E<8>
+B<lilo> B<-q>        # query map and show its content E<10> E<8>
+B<lilo> B<-R>        # set default command line for next reboot E<10> E<8>
+B<lilo> B<-T>        # tell more about specified topic E<10> E<8>
+B<lilo> B<{-u|-U}>   # uninstall LiLO boot loader
+
+=head1 DESCRIPTION
+
+lilo installs a boot loader that will be activated the next time you boot
+your system. The default configuration file F</etc/lilo.conf> (see manpage
+lilo.conf(5)) will contain most options, but many, including those which
+override the configuration file, may be specified  on the command line.
+
+=head1 OPTIONS
+
+=over 4
+
+=item B<-A> I<master-device [N]>
+
+Used with a single argument, inquire of active partition on device I<master-device>;
+e.g. I</dev/sda>. With N==0: deactivate all partitions on the device. With N in 
+the range [1..n]: activate the specified partition and deactivate all others.
+Normally, only primary partitions [1..4] may be activated, but if the 'Extended
+Master Boot Loader' is present on the Master Boot Record (MBR) of the device 
+(see the -M option), any partition may be made active.  Whether the actual OS
+in the partition will boot from an extended partition depends on the characteristics
+of the OS. LILO boot records for Linux may be booted from an extended partition.
+
+=item B<-b> I<bootdev>
+
+Set the boot device where the boot loader will be installed. For example
+I<"-b /dev/sda"> set the Master Boot Record (MBR) on the first disk as boot
+device. I<"-b /dev/sdb5"> set the first extended partition on the second disk
+as boot device.
+
+=item B<-B> I<bitmap-file>
+
+Define a bitmap file for the boot-time graphics screen, preferably one already
+pre-processed with the I<-E> option.
+
+=item B<-c>
+
+Enable map compaction. This will merge read requests from adjacent sectors.
+Speeds up the booting especially from floppy.
+
+=item B<-C> I<config-file>
+
+Set another pathname and filename for the configuration file. The default
+configuration file is F</etc/lilo.conf>.
+
+=item B<-d> I<delay-time>
+
+Set the delay time in tenths of a second ('20' = 2 sec) before automatically
+booting the first image. This give you time to interrupt the automatic boot
+process with: Shift, Alt, Ctrl, ScrollLock, or CapsLock. If interrupted, the
+I<boot:> prompt will be displayed.
+
+This switch will be overridden by the appearance of I<prompt> in the
+configuration file!
+
+=item B<-D> I<label>
+
+Use the kernel with the given label as the default kernel to boot, instead of
+the first one in the list of the configuration file.
+
+=item B<-E> I<filename.xxx>
+
+If the extension B<.xxx> is B<.bmp>, then take the file to be a bitmap graphic file
+for use in the I<bitmap=> configuration file directive. Enter an interactive
+editor to create or update the color/placement information in the LILO header
+of this bitmap file. (see I<bmp-colors>, I<bmp-table>, and I<bmp-timer> on the
+manual page for I<lilo.conf (5)>.)
+
+If B<.xxx> is B<.dat> then take this file to be a configuration file to set bitmap
+graphic parameters, which are transferred into the LILO header in the bitmap file
+of the same name.
+
+When a B<.bmp> file is modified using a graphics editor (e.g. GIMP), the LILO
+header will be lost. It can be restored using the B<dat> file, which is used as
+a text-based backup for the LILO header information.
+
+=item B<-f> I<disk-tab>
+
+Set another disk geometry parameter file. The default is F</etc/disktab>.
+
+=item B<-F>
+
+Override boot sector check for filesystems (e.g., swap, ext4, xfs ...) which
+might be destroyed by the installation of the LILO boot sector on the first
+sector of the partition if these filesystems use the first sector as a superblock.
+
+Compare with I<-P ignore>, which bypasses certain partition table checks.
+
+=item B<-g>
+
+Generate 'cylinder/head/sector' (CHS geometric) disk addresses. Limited to cylinders
+up to 1023. Forces compatibility with very old versions of LILO I<(obsolete switch)>.
+
+=item B<-H>
+
+Override fatal halt if a RAID array does not have all disks active.
+
+=item B<-I> I<label [D|a|i|k|r|R]>
+
+B<label> is taken to be the name of an image specified in the configuration file.
+This command will print the path name of the corresponding kernel file, keytable
+file, initial ramdisk file, root specification, or "append=" string ("i", "k",
+"r", "R", or "a" option). The "D" option ignores the B<label> parameter and
+prints the default "image=" label, or the first "image=" label is selected if
+no default B<image> is set.
+
+=item B<-l>
+
+Generate 24-bit linear sector addresses instead of cylinder/head/sector addresses.
+
+=item B<-L>
+
+Generate 32-bit Logical Block Addresses (LBA) instead of cylinder/head/sector (CHS)
+addresses, allowing access to all partitions on disks with more than 1024 cylinders.
+(This is the default geometry).
+
+=item B<-m> I<map-file>
+
+Use another map file instead of the default file /boot/map.
+
+=item B<-M> I<master-device> B<{mbr|ext}>
+
+Install a Master Boot Record on the device specified as master-device, selecting
+the Standard or Extended Master Boot Loader per option. The primary partition
+table on master-device is undisturbed. If no valid Volume-ID (serial number) is
+present, then generate one and write it to the MBR. If I<mbr> is set, the
+Standard Master Boot Loader will search partitions 1-4 for an active flag, and
+boot the flagged partition. Only one active flag is allowed. If I<ext> is set,
+the search for an active partition will include extended partitions as well.
+The presence of the Extended Master Boot Loader on the Master Boot Record
+(MBR = sector 0) of a disk affects the operation of the I<-A> option.
+
+=item B<-p>
+
+Require interactive entry of all passwords set as "" in the configuration file.
+
+=item B<-P> I<{fix|ignore|<global-option>}>
+
+Fix or ignore 'corrupt' partition tables, e.g. partition tables with linear and
+cylinder/head/sector addresses that do not correspond. Always try B<ignore>
+first, as B<fix> will re-write the partition table, possibly destroying all
+partitions on the disk.
+
+B<ignore> is also used to bypass the partition table check for partition types
+within the partition table which might not allow the installation of a LILO boot
+sector. Compare with the '-F' flag, which overrides the check of the actual
+boot sector.
+
+B<E<lt>global-optionE<gt>> allows the passing of any global option which may
+appear in the global section (top) of the  configuration file (F</etc/lilo.conf>).
+For instance I<'-P nowarn'> will pass the 'nowarn' option, just as though 'nowarn'
+appeared in the configuration file (same as the '-w' switch).  Similarly
+I<'-P timeout=50'> will add or override the 'timeout=' line in the  configuration
+file. Note that the general B<-P> switch actually duplicates a number of command
+line option switches. However, it is not strictly the same as some switches which
+cause an override of other options; e.g. '-g' (-P geometric), '-L' (-P lba32).
+
+=item B<-q>
+
+List the currently mapped files. B<lilo> maintains a file, by default F</boot/map>,
+containing each name and location of the kernel(s) to boot. This option will list
+the names therein.  Use with B<-v> for more detailed information about the
+installed boot loader.
+
+=item B<-r> I<root-directory>
+
+Before doing anything else, do a I<'chroot'> to the indicated directory. The new
+root directory must contain a I</dev> directory and may need a /boot directory.
+It may also need an F</etc/lilo.conf> file.
+
+=item B<-R> I<command-line>
+
+This  option sets the default command for the boot loader for the next time it
+executes. After execution the boot loader will erase this line because it is a
+once-only command. It is typically used in reboot scripts, just before calling
+'shutdown -r'. Used without any arguments, it will cancel a I<lock>-ed or
+I<fallback> command line.
+
+=item B<-s> I<save-file>
+
+When lilo writes a new boot sector, it preserves the former contents of the boot
+sector in a file, named by default /boot/boot.NNNN, where NNNN is the hexadecimal
+representation of the major and minor device numbers of the drive/partition.
+
+This option defines the backup save file in one of three ways: a save directory
+(default is '/boot') using the default filename 'boot.NNNN' in the defined
+directory; a pathname template to which '.NNNN' is appended (default would be
+'/boot/boot'); or the full pathname of the file, which must include the correct
+'.NNNN' suffix. When used with the -u option, the full file pathname must be set.
+
+=item B<-S> I<save-file>
+
+Normally lilo will not overwrite an existing boot sector save file. This options
+says that overwriting is to be forced. As with -s, the setting may be of a save
+directory, pathname template, or full pathname (which includes the '.NNNN' suffix).
+
+=item B<-t>
+
+Test only. Do not really write a new boot sector or map file. Use together with
+B<-v> to find out what lilo is about to do.
+
+=item B<-T> I<option>
+
+Print out system information, some of it extracted from system bios. This is more
+convenient than booting the LILO diagnostic floppy on problem systems. B<option>
+may be any one of the following:
+
+ help          print a list of available diagnostics
+ ChRul         list the partition types subject to
+                 Change-Rules
+ EBDA          list Extended BIOS Data Area information
+ geom=<drive>  list drive geometry for bios drive;
+                 e.g. geom=0x80
+ geom          list drive geometry for all drives
+ table=<drive> list the primary partition table;
+                 e.g. table=/dev/sda
+ video         list graphic modes available to boot
+                 loader
+
+=item B<-u> I<[device-name]>
+
+Uninstall lilo by copying the saved boot sector back. The B<-s> and B<-C> switches
+may be used with this option. The device-name is optional. A time-stamp is
+checked.
+
+=item B<-U> I<[device-name]>
+
+The same as '-u', but do not check the time-stamp.
+
+=item B<-v> I<[number]>
+
+Increase verbosity. Giving one to five B<-v> options will make lilo more verbose.
+The B<number> (range 1..5) set verbosity level.
+
+=item B<-V>
+
+Print version number.
+
+=item B<-w>I<[+|-]>
+
+Used as B<-w> or B<-w-> to suppress warning messages. Used as '-w+' to override
+I<'nowarn'> in the configuration file and show warning messages.
+
+=item B<-x> I<option>
+
+For RAID installations  only. The option may be any of the keywords: I<none>,
+I<auto>, I<mbr>, I<mbr-only>, or a comma separated list of additional boot
+devices (no spaces allowed in the list).
+
+RAID installations write the boot record to the RAID partition. Conditional
+writing of MBRs may occur to aid in making the RAID set bootable in a recovery
+situation, but all default actions may be overridden. Action similar to previous
+versions is achieved using the I<'-x mbr-only'> switch.
+
+=item B<-X>
+
+Reserved for LILO internal use. May produce different output for different LILO
+versions. The line beginning "CFLAGS=" will contain the compiler options used to
+generate this version of LILO.
+
+=item B<-z>
+
+When used with the '-M' switch, clears the Volume-ID.  Usually used in the 
+following sequence to generate a new Volume-ID:
+
+    lilo -z -M /dev/hda
+    lilo -M /dev/hda
+
+=item B<-Z> I<option>
+
+Tells the boot installer whether special precautions need to be taken because
+the BIOS fails to pass the correct device code in DL (-Z0). Or may specify
+that the BIOS always gets DL right (-Z1). Corresponds to, and overrides, the
+configuration file option 'bios-passes-dl='.
+
+=back
+
+=head1 CONFIG OPTIONS
+
+The above command line options correspond to the key words in the config file
+indicated below.
+
+              -b bootdev       boot=bootdev
+
+              -B file.bmp      bitmap=file.bmp
+              -c               compact
+              -d dsec          delay=dsec
+              -D label         default=label
+              -f file          disktab=file
+              -g               geometric
+              -l               linear
+              -L               lba32
+              -m mapfile       map=mapfile
+              -P fix           fix-table
+              -P ignore        ignore-table
+              -s file          backup=file
+              -S file          force-backup=file
+              -v [N]           verbose=N
+              -w               nowarn
+              -x option        raid-extra-boot=option
+              -Z option        bios-passes-dl=option
+
+
+=head1 BOOT OPTIONS
+
+The  options  described  here may be specified at boot time on the command line
+when a kernel image is booted. These options are processed by LILO, and are
+removed from the command line before it is passed to the kernel, unless otherwise
+noted.
+
+=over 4
+
+=item B<lock>
+
+Locks the command line, as though 'lock' had been defined in F</etc/lilo.conf>.
+
+=item B<mem=###[,K,M,G]>
+
+Set the maximum memory in the system in bytes, kilobytes, megabytes or gigabytes.
+This option is not removed from the command line, and is always passed to the
+kernel.
+
+=item B<nobd>
+
+Suppresses the BIOS data check. This option is reserved for use with
+non-IBM-compliant BIOS's which hang with the lines:
+
+    Loading...............
+    BIOS data check
+
+=item B<vga=[ASK,EXT,EXTENDED,NORMAL,###,0x###]>
+
+Allows overriding the default video mode upon kernel startup.
+
+=back
+
+=head1 BOOT ERRORS
+
+The  boot process takes place in two stages. The first stage loader is a single
+sector, and is loaded by the BIOS or by the loader in the MBR. It loads the
+multi-sector second stage loader, but is very space limited. When the first
+stage  loader  gets  control, it types  the  letter 'L'; when it is ready to
+transfer control to the second stage loader it types the letter 'I'. If any
+error occurs, like a disk read error, it will put out a hexadecimal error code
+and then re-try the operation.  All hex error codes are BIOS return values,
+except for the lilo-generated codes: 40, 99 and 9A. A partial list of error
+codes follows:
+
+    00  no error
+    01  invalid disk command
+    02  address mark not found
+    03  disk write-protected
+    04  sector not found
+    06  floppy disk removed
+    08  DMA overrun
+    0A  bad sector flag
+    0B  bad track flag
+    20  controller failure
+    40  seek failure (BIOS)
+    40  cylinder>1023 (LILO)
+    99  invalid second stage index sector (LILO)
+    9A  no second stage loader signature (LILO)
+    AA  drive not ready
+    FF  sense operation failed
+
+Error code 40 is generated by the BIOS, or by LILO during the conversion of a
+linear (24-bit) disk address to a geometric (C:H:S) address. On older systems
+which do not support lba32 (32-bit) addressing, this error may also be generated.
+Errors 99 and 9A usually mean the map file ('-m' or 'map=') is not readable,
+likely because LILO was not re-run after some system change, or there is a
+geometry mismatch between what LILO used (lilo -v3 to display) and what is
+actually being used by the BIOS (one of the lilo diagnostic  disks, available
+in the source distribution, may be needed to diagnose this problem).
+
+When  the second stage loader has received control from the first stage, it
+prints the letter 'L', and when it has initialized itself, including verifying
+the "Descriptor Table" - the list of kernels/others to boot - it will print
+the letter "O", to form the full word "LILO", in uppercase.
+
+All second stage loader error messages are English text and try to pinpoint,
+more or less successfully, the point of failure.
+
+=head1 BUGS
+
+Configuration file options 'backup' and 'force-backup' should specify a backup
+directory or backup file pathname template on all RAID installations. Use of an
+explicit filename may not allow multiple backup files to be created correctly.
+It is best to use the  default mechanism, as it works correctly in all cases.
+
+=head1 COPYRIGHT and LICENSE
+
+ Copyright (C) 1992-1998 Werner Almesberger
+ Copyright (C) 1999-2007 John Coffman
+ Copyright (C) 2009-2013 Joachim Wiedorn
+
+Redistribution and use in source and binary forms, with or without 
+modification, are permitted under the terms of the BSD license found in 
+the COPYING file.
+
+=head1 AUTHOR
+
+B<lilo> was written by:
+
+ Werner Almesberger (version 0 to 21),
+ John Coffman (version 21.2 to 22.8),
+ Joachim Wiedorn (since version 23.0).
+
+This manual page was written by Werner Almesberger and Joachim Wiedorn
+<ad_debian at joonet.de>.
+
+=head1 SEE ALSO
+
+B<lilo.conf>(5),
+B<liloconfig>(8), 
+B<lilo-uuid-diskid>(8),
+B<mkrescue>(8), 
+B<fdisk>(8),
+B<mkinitrd>(8)
+
+=cut
diff --git a/man/liloconfig.8 b/man/liloconfig.8
new file mode 100644 (file)
index 0000000..2ce52a1
--- /dev/null
@@ -0,0 +1,151 @@
+.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07)
+.\"
+.\" Standard preamble:
+.\" ========================================================================
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Vb \" Begin verbatim text
+.ft CW
+.nf
+.ne \\$1
+..
+.de Ve \" End verbatim text
+.ft R
+.fi
+..
+.\" Set up some character translations and predefined strings.  \*(-- will
+.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
+.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
+.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
+.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
+.\" nothing in troff, for use with C<>.
+.tr \(*W-
+.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
+.ie n \{\
+.    ds -- \(*W-
+.    ds PI pi
+.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
+.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
+.    ds L" ""
+.    ds R" ""
+.    ds C` ""
+.    ds C' ""
+'br\}
+.el\{\
+.    ds -- \|\(em\|
+.    ds PI \(*p
+.    ds L" ``
+.    ds R" ''
+'br\}
+.\"
+.\" Escape single quotes in literal strings from groff's Unicode transform.
+.ie \n(.g .ds Aq \(aq
+.el       .ds Aq '
+.\"
+.\" If the F register is turned on, we'll generate index entries on stderr for
+.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
+.\" entries marked with X<> in POD.  Of course, you'll have to process the
+.\" output yourself in some meaningful fashion.
+.ie \nF \{\
+.    de IX
+.    tm Index:\\$1\t\\n%\t"\\$2"
+..
+.    nr % 0
+.    rr F
+.\}
+.el \{\
+.    de IX
+..
+.\}
+.\" ========================================================================
+.\"
+.IX Title "LILOCONFIG 8"
+.TH LILOCONFIG 8 "2013-05-01" "23.3" "liloconfig documentation"
+.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
+.\" way too many mistakes in technical documents.
+.if n .ad l
+.nh
+.SH "NAME"
+liloconfig \- create new lilo.conf file (with diskid and uuid)
+.SH "SYNOPSIS"
+.IX Header "SYNOPSIS"
+\&\fBliloconfig\fR [\fB\-h\fR] [\fB\-v\fR] [\fB\-f\fR] [\fBlilo.conf\fR]
+.SH "DESCRIPTION"
+.IX Header "DESCRIPTION"
+liloconfig is an simple program for creating a new lilo.conf file.
+After creating the new configuration file you must execute '/sbin/lilo'.
+.PP
+liloconfig use the lilo.example.conf file as template. In the final
+lilo.conf file you find many useful comments for custom changes.
+.SH "OPTIONS"
+.IX Header "OPTIONS"
+.IP "\fB\-h\fR" 4
+.IX Item "-h"
+Print a brief help.
+.IP "\fB\-v\fR" 4
+.IX Item "-v"
+Print verbose messages.
+.IP "\fB\-f\fR" 4
+.IX Item "-f"
+Force overriding existing lilo.conf.
+.SH "EXAMPLES"
+.IX Header "EXAMPLES"
+Lines in the configuration file /etc/lilo.conf:
+.PP
+.Vb 1
+\&  ### LILO global section ###
+\&
+\&  #large\-memory
+\&  lba32
+\&  boot = /dev/sda
+\&  map = /boot/map
+\&  install = menu
+\&  menu\-scheme = Wb:Yr:Wb:Wb
+\&  prompt
+\&  timeout = 100
+\&  vga = normal
+\&  #default = Linux
+\&
+\&  ### LILO per\-image section ###
+\&
+\&  #boot = /dev/sda
+\&  boot = /dev/disk/by\-id/ata\-SAMSUNG_SV1604N_S01FJ10X999999
+\&
+\&  image = /boot/vmlinuz\-3.5.0\-trunk\-686
+\&      label = "Linux"
+\&      #root = /dev/sda1
+\&      root = "UUID=18843936\-00f9\-4df0\-a373\-000d05a5dd44"
+\&      read\-only
+\&  #   restricted
+\&  #   alias = 1
+\&  #   optional
+\&      initrd = /boot/initrd.img\-3.5.0\-trunk\-686
+\&
+\&  image = /boot/vmlinuz\-3.2.0\-4\-686
+\&      label = "Linux Old"
+\&      #root = /dev/sda1
+\&      root = "UUID=18843936\-00f9\-4df0\-a373\-000d05a5dd44"
+\&      read\-only
+\&  #   restricted
+\&  #   alias = 2
+\&  #   optional
+\&      initrd = /boot/initrd.img\-3.2.0\-4\-686
+.Ve
+.SH "COPYRIGHT and LICENSE"
+.IX Header "COPYRIGHT and LICENSE"
+Copyright (C) 2011\-2013 Joachim Wiedorn
+.PP
+This script is free software; you can redistribute it and/or modify
+it under the terms of the \s-1GNU\s0 General Public License as published by 
+the Free Software Foundation; either version 2 of the License, or 
+(at your option) any later version.
+.SH "AUTHOR"
+.IX Header "AUTHOR"
+\&\fBlilconfig\fR was written by Joachim Wiedorn.
+.PP
+This manual page was written by Joachim Wiedorn <ad_debian at joonet.de>.
+.SH "SEE ALSO"
+.IX Header "SEE ALSO"
+\&\fBlilo\fR(8), \fBupdate-lilo\fR(8), \fBlilo-uuid-diskid\fR(8)
diff --git a/man/liloconfig.pod b/man/liloconfig.pod
new file mode 100644 (file)
index 0000000..a00e672
--- /dev/null
@@ -0,0 +1,105 @@
+=for header
+manpage:  LILOCONFIG
+section:  8
+title:    liloconfig documentation
+version:  23.3
+datum:    2013-05-01
+
+=encoding utf8
+
+=head1 NAME
+
+liloconfig - create new lilo.conf file (with diskid and uuid)
+
+=head1 SYNOPSIS
+
+B<liloconfig> [B<-h>] [B<-v>] [B<-f>] [B<lilo.conf>]
+
+=head1 DESCRIPTION
+
+liloconfig is an simple program for creating a new lilo.conf file.
+After creating the new configuration file you must execute '/sbin/lilo'.
+
+liloconfig use the lilo.example.conf file as template. In the final
+lilo.conf file you find many useful comments for custom changes.
+
+=head1 OPTIONS
+
+=over 4
+
+=item B<-h>
+
+Print a brief help.
+
+=item B<-v>
+
+Print verbose messages.
+
+=item B<-f>
+
+Force overriding existing lilo.conf.
+
+=back
+
+=head1 EXAMPLES
+
+Lines in the configuration file /etc/lilo.conf:
+
+  ### LILO global section ###
+
+  #large-memory
+  lba32
+  boot = /dev/sda
+  map = /boot/map
+  install = menu
+  menu-scheme = Wb:Yr:Wb:Wb
+  prompt
+  timeout = 100
+  vga = normal
+  #default = Linux
+
+  ### LILO per-image section ###
+
+  #boot = /dev/sda
+  boot = /dev/disk/by-id/ata-SAMSUNG_SV1604N_S01FJ10X999999
+
+  image = /boot/vmlinuz-3.5.0-trunk-686
+      label = "Linux"
+      #root = /dev/sda1
+      root = "UUID=18843936-00f9-4df0-a373-000d05a5dd44"
+      read-only
+  #   restricted
+  #   alias = 1
+  #   optional
+      initrd = /boot/initrd.img-3.5.0-trunk-686
+
+  image = /boot/vmlinuz-3.2.0-4-686
+      label = "Linux Old"
+      #root = /dev/sda1
+      root = "UUID=18843936-00f9-4df0-a373-000d05a5dd44"
+      read-only
+  #   restricted
+  #   alias = 2
+  #   optional
+      initrd = /boot/initrd.img-3.2.0-4-686
+
+=head1 COPYRIGHT and LICENSE
+
+Copyright (C) 2011-2013 Joachim Wiedorn
+
+This script is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by 
+the Free Software Foundation; either version 2 of the License, or 
+(at your option) any later version.
+
+=head1 AUTHOR
+
+B<lilconfig> was written by Joachim Wiedorn.
+
+This manual page was written by Joachim Wiedorn <ad_debian at joonet.de>.
+
+=head1 SEE ALSO
+
+B<lilo>(8), B<update-lilo>(8), B<lilo-uuid-diskid>(8)
+
+=cut
diff --git a/man/pod2manpage b/man/pod2manpage
new file mode 100644 (file)
index 0000000..c98936d
--- /dev/null
@@ -0,0 +1,80 @@
+#!/bin/bash
+#
+#       pod2manpage  -  convert pod file into manual page
+#       
+#       Copyright 2009-2013 Joachim Wiedorn <ad_debian at joonet.de>
+#       
+#       This program is free software; you can redistribute it and/or modify
+#       it under the terms of the GNU General Public License as published by
+#       the Free Software Foundation; either version 2 of the License, or
+#       (at your option) any later version.
+#       
+#       This program is distributed in the hope that it will be useful,
+#       but WITHOUT ANY WARRANTY; without even the implied warranty of
+#       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#       GNU General Public License for more details.
+#       
+#       You should have received a copy of the GNU General Public License
+#       along with this program; if not, write to the Free Software
+#       Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+#       MA 02110-1301, USA.
+
+set -e
+
+if ! test /usr/bin/pod2man; then
+       echo "$0: Programm pod2man not found on the system!"
+       echo "$0: Please install perl (>= 5.6.0) on your system."
+       exit 1
+fi
+
+if test -z "$1"; then
+       echo "Usage: $0 <manpage.pod>"
+       echo ""
+       echo "       The file manpage.pod needs a header with six lines:"
+       echo "       =for header"
+       echo "       manpage: <program name>"
+       echo "       section: <manpage section>"
+       echo "       title:   <title string>"
+       echo "       version: <version number>"
+       echo "       datum:   <modification date>"
+       echo ""
+       exit 0
+fi
+
+if ! test -e "$1"; then
+       echo "$0: File $1 not found - Abort!"
+       exit 1
+fi
+
+NAME=`echo "$1" | sed -e 's/\.pod$//g'`
+if ! test -e "${NAME}.pod"; then
+       echo "$0: File $1 is not a podfile - Abort!"
+       exit 1
+fi
+
+# read file header
+SUCH=manpage
+manpage=$(head -n7 "$1" | grep $SUCH | sed -e "s/\.*${SUCH}\:\ *\(.*\)/\1/")
+SUCH=section
+section=$(head -n7 "$1" | grep $SUCH | sed -e "s/\.*${SUCH}\:\ *\(.*\)/\1/")
+SUCH=title
+title=$(head -n7 "$1" | grep $SUCH | sed -e "s/\.*${SUCH}\:\ *\(.*\)/\1/")
+SUCH=version
+version=$(head -n7 "$1" | grep $SUCH | sed -e "s/\.*${SUCH}\:\ *\(.*\)/\1/")
+SUCH=datum
+datum=$(head -n7 "$1" | grep $SUCH | sed -e "s/\.*${SUCH}\:\ *\(.*\)/\1/")
+
+# check for utf8 encoding
+mycoding=""
+if [ `head -n20 $1 | grep ^=encoding | grep -c -i utf` -eq 1 ]; then
+       mycoding="--utf8"
+fi
+
+# convert pod to manpage
+pod2man --section="$section" --center "$title" \
+       --release="$version" --date="$datum" ${mycoding} \
+       ${NAME}.pod  ${NAME}.${section}
+
+#man ./${NAME}.${section}
+echo "Manpage ${NAME}.${section} created."
+
index 784c4811dbba9381eb4304bad286ec6c6527b0a3..104bf86a56ce296f85e576cd815edaa24e978778 100755 (executable)
--- a/mkrescue
+++ b/mkrescue
@@ -1,39 +1,35 @@
 #!/bin/bash
 #
 #!/bin/bash
 #
-# mkrescue
-#
-#      30-Oct-2001     original version 1.0
-#
-# Revision history:
-#      09-Apr-2002     John Coffman    modify for lilo 22.3   1.1
-#      09-Jun-2002     John Coffman    get keyboard translation table 1.2
-#                                      (suggested by Qing Liu)
-#      07-May-2003     John Coffman    add nowarn for lilo 22.5.2  1.3
-#      13-May-2003     John Coffman    use default image, add append=  1.4
-#      24-May-2003     John Coffman    specify ext2 params for xtra space
-#      26-May-2003     John Coffman    el-torito-bootable-CD   2.1
-#      30-May-2003        "            add lilo version check  2.1
-#      07-Jul-2003        "            determine loopback dynamically 2.3
-#      29-Aug-2004        "            allow --root LABEL=lblname  2.4
-#      01-Sep-2004        "            fix check for LILO version  2.4
-#      03-Oct-2004        "            get root= from /etc/fstab   2.5
-#      15-Nov-2004        "            support --iso --size HD     3.0
-#      18-Aug-2005        "            applied temp-file security patch 3.1
-#      25-Sep-2005        "            log config file on --debug  3.2
-#      04-Oct-2005        "            new 'master' determination  3.2
-#      07-Oct-2005        "            add -v0 -w to usages of -I  3.2
+#       mkrescue - create a boot floppy or cd image with the current kernel
 #
 #
+#       Copyright 2001-2005 John Coffman
+#       Copyright 2010-2011 Joachim Wiedorn <ad_debian at joonet.de>
+#       
+#       This program is free software; you can redistribute it and/or modify
+#       it under the terms of the GNU General Public License as published by
+#       the Free Software Foundation; either version 2 of the License, or
+#       (at your option) any later version.
+#       
+#       This program is distributed in the hope that it will be useful,
+#       but WITHOUT ANY WARRANTY; without even the implied warranty of
+#       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#       GNU General Public License for more details.
+#       
+#       You should have received a copy of the GNU General Public License
+#       along with this program; if not, write to the Free Software
+#       Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+#       MA 02110-1301, USA.
 
 debug=false
 #debug=true
 
 # set the version number on this command
 
 debug=false
 #debug=true
 
 # set the version number on this command
-version=3.2
+version=3.8
 
 # set the version of LILO required to run
 major=22
 
 # set the version of LILO required to run
 major=22
-minor=6
-revision=1
+minor=8
+revision=0
 
 log=$(pwd)/mkrescue.log
 clog=$(pwd)/mkrescue.conf.log
 
 log=$(pwd)/mkrescue.log
 clog=$(pwd)/mkrescue.conf.log
@@ -50,32 +46,29 @@ usage:      `basename $0` [--help]
            [--root <device>] [--nocompact] [--noformat]
            [--iso] [--size 1440|1200|2880|HD]
 
            [--root <device>] [--nocompact] [--noformat]
            [--iso] [--size 1440|1200|2880|HD]
 
-  --device  is the floppy drive; e.g.,  /dev/fd0
-  --fast  specifies creation using a loopback device, which may be faster
-  --fs  is the filesystem to make on the device; e.g.,  ext2
-  --help  prints this helpfile
-  --iso  create a bootable ISO image to burn to a CD-R or CD-RW
-  --keymap  is the keyboard translation table; default to same as lilo.conf
+  --device   is the floppy drive; e.g.,  /dev/fd0
+  --fast     specifies creation using a loopback device, which may be faster
+  --fs       is the filesystem to make on the device; e.g.,  ext2
+  --help     prints this helpfile
+  --iso      create a bootable ISO image to burn to a CD-R or CD-RW
+  --keymap   is the keyboard translation table; default to same as lilo.conf
   --noformat  bypasses creation of a new filesystem on device
   --nocompact  omits lilo map file compaction
   --noformat  bypasses creation of a new filesystem on device
   --nocompact  omits lilo map file compaction
-  --size  is assumed to be 1440 (1.44M), unless 1200 or 2880 is specified
-       HD may be specified for ISO images
-  --image  specifies the label of the kernel/initrd if not the default
-  --install  text is the default for floppies, menu for ISO images
-  --initrd and --kernel  are the initial ramdisk & kernel files
-  --append  is a string used to specify kernel options
-  --root  is the root filesystem for the boot floppy; e.g., current
+  --size     is assumed to be 1440 (1.44M), unless 1200 or 2880 is specified
+             HD may be specified for ISO images
+  --image    specifies the label of the kernel/initrd if not the default
+  --install  'text' is the default for floppies, 'menu' for ISO images
+  --initrd   and --kernel  are the initial ramdisk & kernel files
+  --append   is a string used to specify kernel options
+  --root     is the root filesystem for the boot floppy; e.g., current
   --version  prints the version number of `basename $0`
   --version  prints the version number of `basename $0`
+  --debug    provide verbose output and pausing after defined steps
 
 Used without any arguments, `basename $0` will use the default kernel in
 /etc/lilo.conf, the companion initrd (if any), and the specified root
 filesystem to make a bootable rescue floppy.
 
 EOF
 
 Used without any arguments, `basename $0` will use the default kernel in
 /etc/lilo.conf, the companion initrd (if any), and the specified root
 filesystem to make a bootable rescue floppy.
 
 EOF
-#
-# --install & --debug are undocumented above
-#
-#
     exit $1
 }
 
     exit $1
 }
 
@@ -96,11 +89,9 @@ fi
 compact=-c
 device=/dev/fd0
 fs=ext2
 compact=-c
 device=/dev/fd0
 fs=ext2
-tmpbase="`mktemp -dt $(basename $0).XXXXXXXXXX`" || exit
-if [ "$debug" != true ]; then
-        trap 'rm -rf -- "$tmpbase"' EXIT
-        trap 'trap - EXIT; rm -rf -- "$tmpbase"; exit 1' HUP INT QUIT TERM
-fi
+tmpbase="`mktemp -dt $(basename $0).XXXXXXXXXX`" || {
+    echo "Could not create temporary directory."; exit 1
+}
 mount="$tmpbase/mkrescue-flp"
 mfile="$tmpbase/mkrescue-emu"
 mtemp="$tmpbase/mkrescue-tmp"
 mount="$tmpbase/mkrescue-flp"
 mfile="$tmpbase/mkrescue-emu"
 mtemp="$tmpbase/mkrescue-tmp"
@@ -191,11 +182,6 @@ umount $mount 2>/dev/null
 rm -rf $mount/*
 > $mfile
 
 rm -rf $mount/*
 > $mfile
 
-mkdir $tmpbase || {
-    echo "Could not create temporary directory."
-    exit 1
-}
-
 master=`mount | grep " / " | cut -d " " -f 1`
 master=`echo $master | sed "s/part[0-9]*$/disc/"`
 master=`echo $master | sed "s/[0-9]*$//"`
 master=`mount | grep " / " | cut -d " " -f 1`
 master=`echo $master | sed "s/part[0-9]*$/disc/"`
 master=`echo $master | sed "s/[0-9]*$//"`
@@ -674,7 +660,8 @@ if [ $fast = error ]; then
 fi
 
 if [ $isoimage = yes ]; then
 fi
 
 if [ $isoimage = yes ]; then
-       echo MKISOFS
+       echo START MakeISOFS:
+       echo
        out=$device
        opt=
        if [ $size = $hdsize ]; then
        out=$device
        opt=
        if [ $size = $hdsize ]; then
@@ -683,18 +670,19 @@ if [ $isoimage = yes ]; then
            opt=-hard-disk-boot
        fi
        mv $mfile $mount/boot.bin
            opt=-hard-disk-boot
        fi
        mv $mfile $mount/boot.bin
-       mkisofs $opt -J -R -T \
+       genisoimage $opt -J -R -T \
                -V LILO_BOOT -A "Linux Boot CD created by LILO mkrescue" \
                -b boot.bin -c boot.cat -o $out $mount
        cat <<EOF
 
                -V LILO_BOOT -A "Linux Boot CD created by LILO mkrescue" \
                -b boot.bin -c boot.cat -o $out $mount
        cat <<EOF
 
-END MKISOFS:  output is in  '$device'
+END MakeISOFS:  output is in  '$device'
 
 
 
 
-The bootable CD can be burned with the 'cdrecord' utility
+The bootable CD can be burned with the 'cdrecord' or 'wodim' utility
 using a command of the form:
 
        cdrecord [<options>] [dev=<device>] $device
 using a command of the form:
 
        cdrecord [<options>] [dev=<device>] $device
+       wodim [<options>] [dev=<device>] $device
 
 EOF
 elif [ "$fast" = fast ]; then
 
 EOF
 elif [ "$fast" = fast ]; then
index f2c4aad063db584b3cba9b02d5f47434c5ea26d6..0f360926f04e68c86976b87103efe1480dba2999 100644 (file)
@@ -91,27 +91,6 @@ other=/dev/sdb2
        map-drive = 0x81  to = 0x82
        map-drive = 0x82  to = 0x80
 
        map-drive = 0x81  to = 0x82
        map-drive = 0x82  to = 0x80
 
-#
-#  We can boot OS/2 from a secondary partition.  The 'table='
-#  specification tells OS/2 that the secondary (boot) parition
-#  mounts as drive E:.  Versions of LILO prior to version 22 will 
-#  require a special boot loader, but as of version 22, all
-#  chain loader functions have been combined into the default
-#  chain loader, '/boot/chain.b'.
-
-other=/dev/sda5
-#      loader=/boot/os2_d.b
-       label=os2
-       table=E:
-       change
-         partition=/dev/hda1
-           set=DOS16_big_hidden
-         partition=/dev/hda2
-           set=NTFS_hidden
-
-#  Partition change rules are required to force drive E: to 
-#  be assinged properly.  MS & IBM partitions may be NORMAL
-#  or HIDDEN.
 
 #########################################
 # end sample-raid.conf                 #
 
 #########################################
 # end sample-raid.conf                 #
index ec2f3498369b081e9f7a107e9b1e3f100279e92c..02219a5134cfba38a20574ea02e7cc79d62ae478 100644 (file)
@@ -2,7 +2,7 @@
 
 #       liloconfig -  creating a new lilo.conf file
 #       
 
 #       liloconfig -  creating a new lilo.conf file
 #       
-#       Copyright 2011 Joachim Wiedorn <ad_debian@joonet.de>
+#       Copyright 2011-2013 Joachim Wiedorn <ad_debian@joonet.de>
 #       
 #       This program is free software; you can redistribute it and/or modify
 #       it under the terms of the GNU General Public License as published by
 #       
 #       This program is free software; you can redistribute it and/or modify
 #       it under the terms of the GNU General Public License as published by
@@ -30,7 +30,7 @@ use File::Copy;
 #---- global variables
 my $prog = $0;
 $prog =~ s#.*/##;
 #---- global variables
 my $prog = $0;
 $prog =~ s#.*/##;
-my $version = "0.1";
+my $version = "0.2";
 
 #---- parameter check
 # h: help, v: verbose, f: force
 
 #---- parameter check
 # h: help, v: verbose, f: force
@@ -52,7 +52,7 @@ our $fstabconf = "/etc/fstab";
 our $idpath = "/dev/disk/by-id";
 our $uuidpath = "/dev/disk/by-uuid";
 our $lblpath = "/dev/disk/by-label";
 our $idpath = "/dev/disk/by-id";
 our $uuidpath = "/dev/disk/by-uuid";
 our $lblpath = "/dev/disk/by-label";
-our $template = "/etc/lilo.conf_example";
+our $template = "/usr/share/doc/lilo/examples/lilo.example.conf.gz";
 
 our $rootpart;    # found root part
 our $root_dev;    # /dev/hdX9, /dev/sdX9, /dev/md/*
 
 our $rootpart;    # found root part
 our $root_dev;    # /dev/hdX9, /dev/sdX9, /dev/md/*
@@ -456,7 +456,7 @@ sub write_image_config {
        my $nr2;
 
        # search for kernel image files
        my $nr2;
 
        # search for kernel image files
-       my @vmlinuz = readpipe("/bin/ls -t -1 /boot/vmlinuz-2* 2>/dev/null");
+       my @vmlinuz = readpipe("/bin/ls -t -1 /boot/vmlinuz-* 2>/dev/null");
 
        # append to new lilo.conf
        open(MYFH_NEW, ">> $liloconfnew") or die "Cannot open file: $!";
 
        # append to new lilo.conf
        open(MYFH_NEW, ">> $liloconfnew") or die "Cannot open file: $!";
@@ -470,8 +470,9 @@ sub write_image_config {
                $initrd =~ s/vmlinuz/initrd\.img/;
                $nr2 = $nr + 1;
 
                $initrd =~ s/vmlinuz/initrd\.img/;
                $nr2 = $nr + 1;
 
-                       print MYFH_NEW     'image = ' . $image . "\n";
-                       if($opt_v) { print 'image = ' . $image . "\n"; }
+               print MYFH_NEW     'image = ' . $image . "\n";
+               if($opt_v) { print 'image = ' . $image . "\n"; }
+
                if ($nr == 0) {
                        print MYFH_NEW     "\t"  . 'label = "Linux"' . "\n";
                        if($opt_v) { print "\t"  . 'label = "Linux"' . "\n"; }
                if ($nr == 0) {
                        print MYFH_NEW     "\t"  . 'label = "Linux"' . "\n";
                        if($opt_v) { print "\t"  . 'label = "Linux"' . "\n"; }
@@ -480,6 +481,7 @@ sub write_image_config {
                        print MYFH_NEW     "\t"  . 'label = "Linux Old"' . "\n";
                        if($opt_v) { print "\t"  . 'label = "Linux Old"' . "\n"; }
                }
                        print MYFH_NEW     "\t"  . 'label = "Linux Old"' . "\n";
                        if($opt_v) { print "\t"  . 'label = "Linux Old"' . "\n"; }
                }
+
                if ($root_id) {
                        print MYFH_NEW     "\t"  . '#root = ' . $root_dev . "\n";
                        if($opt_v) { print "\t"  . '#root = ' . $root_dev . "\n"; }
                if ($root_id) {
                        print MYFH_NEW     "\t"  . '#root = ' . $root_dev . "\n";
                        if($opt_v) { print "\t"  . '#root = ' . $root_dev . "\n"; }
@@ -490,20 +492,26 @@ sub write_image_config {
                        print MYFH_NEW     "\t"  . 'root = ' . $root_dev . "\n";
                        if($opt_v) { print "\t"  . 'root = ' . $root_dev . "\n"; }
                }
                        print MYFH_NEW     "\t"  . 'root = ' . $root_dev . "\n";
                        if($opt_v) { print "\t"  . 'root = ' . $root_dev . "\n"; }
                }
-                       print MYFH_NEW     "\t"  . 'read-only' . "\n";
-                       if($opt_v) { print "\t"  . 'read-only' . "\n"; }
-                       print MYFH_NEW     "#\t" . 'restricted' . "\n";
-                       if($opt_v) { print "#\t" . 'restricted' . "\n"; }
-                       print MYFH_NEW     "#\t" . 'alias = ' . "$nr2" . "\n";
-                       if($opt_v) { print "#\t" . 'alias = ' . "$nr2" . "\n"; }
-                       print MYFH_NEW     "#\t" . 'optional' . "\n";
-                       if($opt_v) { print "#\t" . 'optional' . "\n"; }
+
+               print MYFH_NEW     "\t"  . 'read-only' . "\n";
+               if($opt_v) { print "\t"  . 'read-only' . "\n"; }
+               print MYFH_NEW     "#\t" . 'restricted' . "\n";
+               if($opt_v) { print "#\t" . 'restricted' . "\n"; }
+               print MYFH_NEW     "#\t" . 'alias = ' . "$nr2" . "\n";
+               if($opt_v) { print "#\t" . 'alias = ' . "$nr2" . "\n"; }
+               print MYFH_NEW     "#\t" . 'optional' . "\n";
+               if($opt_v) { print "#\t" . 'optional' . "\n"; }
+
                if (-f $initrd) {
                        print MYFH_NEW     "\t"  . 'initrd = ' . $initrd . "\n";
                        if($opt_v) { print "\t"  . 'initrd = ' . $initrd . "\n"; }
                }
                if (-f $initrd) {
                        print MYFH_NEW     "\t"  . 'initrd = ' . $initrd . "\n";
                        if($opt_v) { print "\t"  . 'initrd = ' . $initrd . "\n"; }
                }
-                       print MYFH_NEW     "\n";
-                       if($opt_v) { print "\n"; }
+               else {
+                       if($opt_v) { print "initrd $initrd could not be found!\n" }
+               }
+
+               print MYFH_NEW     "\n";
+               if($opt_v) { print "\n"; }
 
                $nr++;
                last if ($nr > 1);
 
                $nr++;
                last if ($nr > 1);
@@ -556,7 +564,7 @@ Lines in the configuration file /etc/lilo.conf:
   #boot = /dev/sda
   boot = /dev/disk/by-id/ata-SAMSUNG_SV1604N_S01FJ10X999999
 
   #boot = /dev/sda
   boot = /dev/disk/by-id/ata-SAMSUNG_SV1604N_S01FJ10X999999
 
-  image = /boot/vmlinuz-2.6.32-5book-686
+  image = /boot/vmlinuz-3.5.0-trunk-686
       label = "Linux"
       #root = /dev/sda1
       root = "UUID=18843936-00f9-4df0-a373-000d05a5dd44"
       label = "Linux"
       #root = /dev/sda1
       root = "UUID=18843936-00f9-4df0-a373-000d05a5dd44"
@@ -564,9 +572,9 @@ Lines in the configuration file /etc/lilo.conf:
   #   restricted
   #   alias = 1
   #   optional
   #   restricted
   #   alias = 1
   #   optional
-      initrd = /boot/initrd.img-2.6.32-5book-686
+      initrd = /boot/initrd.img-3.5.0-trunk-686
 
 
-  image = /boot/vmlinuz-2.6.32-5-686
+  image = /boot/vmlinuz-3.2.0-4-686
       label = "Linux Old"
       #root = /dev/sda1
       root = "UUID=18843936-00f9-4df0-a373-000d05a5dd44"
       label = "Linux Old"
       #root = /dev/sda1
       root = "UUID=18843936-00f9-4df0-a373-000d05a5dd44"
@@ -574,7 +582,7 @@ Lines in the configuration file /etc/lilo.conf:
   #   restricted
   #   alias = 2
   #   optional
   #   restricted
   #   alias = 2
   #   optional
-      initrd = /boot/initrd.img-2.6.32-5-686
+      initrd = /boot/initrd.img-3.2.0-4-686
 
 =head1 OPTIONS
 
 
 =head1 OPTIONS
 
index af916c484a3bf875d45d9c53f7c082ccecd428dd..feb144e7a6ba5447ed08ad889e0760b5e7336d04 100644 (file)
@@ -1,6 +1,6 @@
 # -*- makefile -*-
 #
 # -*- makefile -*-
 #
-# Copyright 2009-2011 Joachim Wiedorn
+# Copyright 2009-2013 Joachim Wiedorn
 # All rights reserved.
 # 
 # Licensed under the terms contained in the file 'COPYING'
 # All rights reserved.
 # 
 # Licensed under the terms contained in the file 'COPYING'
@@ -16,7 +16,7 @@ include ../make.vars
 
 SHELL=/bin/sh
 CC=gcc
 
 SHELL=/bin/sh
 CC=gcc
-CPP=$(CC) -E
+CPP=$(CC) -E -P -ffreestanding
 AS86=as86 -0 -a
 LD86=ld86 -0
 NASM=nasm
 AS86=as86 -0 -a
 LD86=ld86 -0
 NASM=nasm
@@ -243,8 +243,9 @@ install:
        if [ -f diag1.img ]; then cp -f diag1.img $$DESTDIR$(BOOT_DIR); fi
        if [ -f diag2.img ]; then cp -f diag2.img $$DESTDIR$(BOOT_DIR); fi
 
        if [ -f diag1.img ]; then cp -f diag1.img $$DESTDIR$(BOOT_DIR); fi
        if [ -f diag2.img ]; then cp -f diag2.img $$DESTDIR$(BOOT_DIR); fi
 
+       strip lilo
        cp lilo $$DESTDIR$(SBIN_DIR)/lilo
        cp lilo $$DESTDIR$(SBIN_DIR)/lilo
-       strip $$DESTDIR$(SBIN_DIR)/lilo
+       [ -x lilo.static ] && strip lilo.static
        cp ../mkrescue $$DESTDIR$(USRSBIN_DIR)/mkrescue
        cp ../keytab-lilo.pl $$DESTDIR$(USRSBIN_DIR)/keytab-lilo
 
        cp ../mkrescue $$DESTDIR$(USRSBIN_DIR)/mkrescue
        cp ../keytab-lilo.pl $$DESTDIR$(USRSBIN_DIR)/keytab-lilo
 
@@ -263,8 +264,6 @@ mkloader:   temp.c
 tidy:
        rm -f core $(LIS) *.shs *.crc $(TMP)*
        rm -rf sbin boot usr
 tidy:
        rm -f core $(LIS) *.shs *.crc $(TMP)*
        rm -rf sbin boot usr
-       if [ -x lilo ]; then strip lilo; fi
-       if [ -x lilo.static ]; then strip lilo.static; fi
 
 clean:
        rm -f *.o *.s *.i *.img *.b tmp_make version
 
 clean:
        rm -f *.o *.s *.i *.img *.b tmp_make version
index 2548f704310212d1434ec82efbfb9b20e6ace4c2..7a378b0112cb680e1ee5182075b2e91a9797ad02 100644 (file)
@@ -1,7 +1,7 @@
 /* bdata.h
  * 
  * Copyright 2000-2007 John Coffman
 /* bdata.h
  * 
  * Copyright 2000-2007 John Coffman
- * Copyright 2009-2010 Joachim Wiedorn
+ * Copyright 2009-2011 Joachim Wiedorn
  * All rights reserved.
  * 
  * Licensed under the terms contained in the file 'COPYING'
  * All rights reserved.
  * 
  * Licensed under the terms contained in the file 'COPYING'
index 7814a4855fbbcfef9f351c25866fa60a81a123d5..cdb2b838f086677a3bc40267f7ca9849865b932a 100644 (file)
@@ -1,11 +1,11 @@
-;  biosdata.S  is
+;  biosdata.S
 ;
 ;
-;  Copyright 2002-2004 John Coffman.
+;  Copyright 2002-2004 John Coffman
+;  Copyright 2009-2011 Joachim Wiedorn
 ;  All rights reserved.
 ;
 ;  All rights reserved.
 ;
-;  Licensed under the terms contained in the file 'COPYING' in the 
-;  source directory.
-;
+;  Licensed under the terms contained in the file 'COPYING'
+;  in the source directory.
 ;
 
 
 ;
 
 
index 4f48948a4148003fedade3f5dec3e006b800906c..4854e0ee3715738c8639c04f94ce6c679c4b866e 100644 (file)
@@ -1,12 +1,13 @@
 ; bitmap.S
 ;
 ; bitmap.S
 ;
-; Copyright 2001-2005 John Coffman.
-; All rights reserved.
-; 
-; Licensed under the terms contained in the file 'COPYING' in the 
-; source directory.
+;  Copyright 2001-2005 John Coffman
+;  Copyright 2009-2011 Joachim Wiedorn
+;  All rights reserved.
 ;
 ;
+;  Licensed under the terms contained in the file 'COPYING'
+;  in the source directory.
 ;
 ;
+
 #define ncol KEYTABLE+256+mt_ncol
 
 
 #define ncol KEYTABLE+256+mt_ncol
 
 
index 014f707f5c825d6fafdaaaa10b0d953702ebe419..aacde033e2ad24b11dd70593597571d798e1099b 100644 (file)
@@ -1,7 +1,7 @@
 /* bitmap.h
  * 
  * Copyright 2001-2007 John Coffman
 /* bitmap.h
  * 
  * Copyright 2001-2007 John Coffman
- * Copyright 2009-2010 Joachim Wiedorn
+ * Copyright 2009-2011 Joachim Wiedorn
  * All rights reserved.
  * 
  * Licensed under the terms contained in the file 'COPYING'
  * All rights reserved.
  * 
  * Licensed under the terms contained in the file 'COPYING'
index 6d7effa0e8e4c7fe5f8507af75f7bc85e723530d..03aaaa01174ff86493bd8603404da3dca7bfb989 100644 (file)
@@ -2,7 +2,7 @@
  * 
  * Copyright 1992-1995 Werner Almesberger
  * Copyright 1999-2007 John Coffman
  * 
  * Copyright 1992-1995 Werner Almesberger
  * Copyright 1999-2007 John Coffman
- * Copyright 2009-2010 Joachim Wiedorn
+ * Copyright 2009-2011 Joachim Wiedorn
  * All rights reserved.
  * 
  * Licensed under the terms contained in the file 'COPYING'
  * All rights reserved.
  * 
  * Licensed under the terms contained in the file 'COPYING'
index 25b27449d69d13ea63c946cb12267a76540b4a3c..af26ca7eec521e40cbd98752b09a1cdc95439b8a 100644 (file)
@@ -2,7 +2,7 @@
  * 
  * Copyright 1992-1998 Werner Almesberger
  * Copyright 1999-2007 John Coffman
  * 
  * Copyright 1992-1998 Werner Almesberger
  * Copyright 1999-2007 John Coffman
- * Copyright 2009-2010 Joachim Wiedorn
+ * Copyright 2009-2011 Joachim Wiedorn
  * All rights reserved.
  * 
  * Licensed under the terms contained in the file 'COPYING'
  * All rights reserved.
  * 
  * Licensed under the terms contained in the file 'COPYING'
index e153860bf3c26f325fc27928a6c60410dad191e2..5f6bb37f9f1c77335841a7cd94c0d38378c44c66 100644 (file)
@@ -2,7 +2,7 @@
  * 
  * Copyright 1992-1998 Werner Almesberger
  * Copyright 1999-2007 John Coffman
  * 
  * Copyright 1992-1998 Werner Almesberger
  * Copyright 1999-2007 John Coffman
- * Copyright 2009-2010 Joachim Wiedorn
+ * Copyright 2009-2011 Joachim Wiedorn
  * All rights reserved.
  * 
  * Licensed under the terms contained in the file 'COPYING'
  * All rights reserved.
  * 
  * Licensed under the terms contained in the file 'COPYING'
index 283e7912339a94969546ccbead34f31e249c5d4a..3f5e95aeb4c1c0c5c358cb3ae1f8826fb74a7c55 100644 (file)
--- a/src/cfg.c
+++ b/src/cfg.c
@@ -2,7 +2,7 @@
  * 
  * Copyright 1992-1997 Werner Almesberger
  * Copyright 1999-2007 John Coffman
  * 
  * Copyright 1992-1997 Werner Almesberger
  * Copyright 1999-2007 John Coffman
- * Copyright 2009-2010 Joachim Wiedorn
+ * Copyright 2009-2011 Joachim Wiedorn
  * All rights reserved.
  * 
  * Licensed under the terms contained in the file 'COPYING'
  * All rights reserved.
  * 
  * Licensed under the terms contained in the file 'COPYING'
index acd0c0e4ec5c4278a6a6822bca607d89b108cae4..64a4d3aee5aeb4034a4f199282ce854a0f43e937 100644 (file)
--- a/src/cfg.h
+++ b/src/cfg.h
@@ -2,7 +2,7 @@
  * 
  * Copyright 1992-1998 Werner Almesberger
  * Copyright 1999-2007 John Coffman
  * 
  * Copyright 1992-1998 Werner Almesberger
  * Copyright 1999-2007 John Coffman
- * Copyright 2009-2010 Joachim Wiedorn
+ * Copyright 2009-2011 Joachim Wiedorn
  * All rights reserved.
  * 
  * Licensed under the terms contained in the file 'COPYING'
  * All rights reserved.
  * 
  * Licensed under the terms contained in the file 'COPYING'
index 0b3fae1312c70b0c89dbe12b8537832666a92e77..5e6d298515b8578e4c91fc151501e9e93651f604 100644 (file)
@@ -1,11 +1,12 @@
 ;  chain.S  -  LILO boot chainer 
 ;
 ;  chain.S  -  LILO boot chainer 
 ;
-; Copyright 1992-1998 Werner Almesberger.
-; Copyright 1999-2004 John Coffman.
-; All rights reserved.
+;  Copyright 1992-1998 Werner Almesberger
+;  Copyright 1999-2004 John Coffman
+;  Copyright 2009-2011 Joachim Wiedorn
+;  All rights reserved.
 ;
 ;
-; Licensed under the terms contained in the file 'COPYING' in the 
-; source directory.
+;  Licensed under the terms contained in the file 'COPYING'
+;  in the source directory.
 ;
 
 #define LILO_ASM
 ;
 
 #define LILO_ASM
index 7a0b6e59821e7ac1446c32e200e6408a4a79557a..cc252075dfca0fd4f67b8aa561a4b11cea86e005 100644 (file)
@@ -1,14 +1,13 @@
-/* common.c  -  Common data structures and functions. */
-/*
-Copyright 1992-1998 Werner Almesberger.
-Copyright 1999-2005 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-*/
-
+/* common.c  -  Common data structures and functions
+ * 
+ * Copyright 1992-1998 Werner Almesberger
+ * Copyright 1999-2005 John Coffman
+ * Copyright 2009-2011 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 #define _GNU_SOURCE
 #include <unistd.h>
 
 #define _GNU_SOURCE
 #include <unistd.h>
index b4106f69b6c9dc9a38c4fc4926f1d5fe826e9cf9..fb715eadf5c9baec3006febb3563a22507388a6a 100644 (file)
@@ -1,15 +1,13 @@
-#if 0
-  common.h  -  Common data structures and functions.
-
-Copyright 1992-1998 Werner Almesberger.
-Copyright 1999-2005 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-
-#endif
+/* common.h  -  Common data structures and functions
+ * 
+ * Copyright 1992-1998 Werner Almesberger
+ * Copyright 1999-2005 John Coffman
+ * Copyright 2009-2011 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 #ifndef COMMON_H
 #define COMMON_H
 
 #ifndef COMMON_H
 #define COMMON_H
index 381806279d9c2e279006f6e1f88212eb9f975c8c..d5fdfab7dbb7556b80e4d93cdad6b913282fbfca 100644 (file)
@@ -1,14 +1,13 @@
-/* config.h  -  Configurable parameters */
-/*
-Copyright 1992-1998 Werner Almesberger.
-Copyright 1999-2006 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-*/
-
+/* config.h  -  Configurable parameters
+ * 
+ * Copyright 1992-1998 Werner Almesberger
+ * Copyright 1999-2006 John Coffman
+ * Copyright 2009-2011 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 #ifndef CONFIG_H
 #define CONFIG_H
 
 #ifndef CONFIG_H
 #define CONFIG_H
index 6c84e28bbf23e385699c0826d3eba0f9785f78e5..0fa290e36c319659342d11893dfd1ea0695a1e94 100644 (file)
--- a/src/crt.S
+++ b/src/crt.S
@@ -1,12 +1,11 @@
-#if 0
-; crt.S  is
-Copyright 2000-2005 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-#endif
+; crt.S
+;
+;  Copyright 2000-2005 John Coffman
+;  Copyright 2009-2011 Joachim Wiedorn
+;  All rights reserved.
+;
+;  Licensed under the terms contained in the file 'COPYING'
+;  in the source directory.
 ;
 
 XPITCH  =      MAX_IMAGE_NAME+6
 ;
 
 XPITCH  =      MAX_IMAGE_NAME+6
index 2a5c8ff657aeceda0bde0dc4f41e36e5b2930684..93d3039a13ab153c366ce31b22afe69826870e20 100644 (file)
@@ -1,13 +1,13 @@
-/* device.c  -  Device access */
-/*
-Copyright 1992-1997 Werner Almesberger.
-Copyright 1999-2006 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-*/
+/* device.c  -  Device access
+ * 
+ * Copyright 1992-1997 Werner Almesberger
+ * Copyright 1999-2006 John Coffman
+ * Copyright 2009-2011 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 #define _GNU_SOURCE
 #include <unistd.h>
 
 #define _GNU_SOURCE
 #include <unistd.h>
index a9623a22f4d522bafc70654b90ec29f2b7473442..0b096715445bc19363208fe9e7a64794326b35b9 100644 (file)
@@ -1,14 +1,13 @@
 /* device.h  -  Device access
 /* device.h  -  Device access
-
-Copyright 1992-1996 Werner Almesberger.
-Copyright 1999-2004 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-*/
-
+ * 
+ * Copyright 1992-1996 Werner Almesberger
+ * Copyright 1999-2004 John Coffman
+ * Copyright 2009-2011 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 #ifndef DEVICE_H
 #define DEVICE_H
 
 #ifndef DEVICE_H
 #define DEVICE_H
index c0c7a4b3f3cbe49a4dfd2508d3b091a04c01cb07..677b259517f92c12b9edb25baa5765ebb35bac11 100644 (file)
@@ -1,13 +1,13 @@
-/*
-; disk.S -- inquire of BIOS and display disk parameters
+;  disk.S  -  inquire of BIOS and display disk parameters
+;
+;  Copyright 1999-2004 John Coffman
+;  Copyright 2009-2011 Joachim Wiedorn
+;  All rights reserved.
+;
+;  Licensed under the terms contained in the file 'COPYING'
+;  in the source directory.
 ;
 ;
-Copyright 1999-2004 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
 
 
-*/
 #define DEBUG 0
 #define DELL_DIRTY_HACK
 
 #define DEBUG 0
 #define DELL_DIRTY_HACK
 
index 7b7244f20cb790e038c90da3ebbf1601f37a55c5..87eff633f9d8217a4f093fba613e67a1177678e1 100644 (file)
@@ -1,12 +1,13 @@
-/*  display4.S is
-
- Copyright 2001-2005 John Coffman.
- All rights reserved.
-
- Licensed under the terms contained in the file 'COPYING' in the 
- source directory.
+;  display4.S
+;
+;  Copyright 2001-2005 John Coffman
+;  Copyright 2009-2013 Joachim Wiedorn
+;  All rights reserved.
+;
+;  Licensed under the terms contained in the file 'COPYING'
+;  in the source directory.
+;
 
 
-*/
 ;
 ;      Static Name Aliases
 ;
 ;
 ;      Static Name Aliases
 ;
@@ -587,10 +588,10 @@ _display4:
          cmp   WORD (bx+14+2),#0       ; hi-order part of DWORD
        jne     d4_I573
        seg     es
          cmp   WORD (bx+14+2),#0       ; hi-order part of DWORD
        jne     d4_I573
        seg     es
-         cmp   WORD (bx+14),#40        ; Windows/OS2 bitmap header
+         cmp   WORD (bx+14),#40        ; Windows bitmap header
        je      d4_I574
        seg     es
        je      d4_I574
        seg     es
-         cmp   WORD (bx+14),#12        ; OS2 bitmap header
+         cmp   WORD (bx+14),#12        ; OS2 bitmap header (obsolete)
        je      d4_I574
 ; Line 297
 d4_I573:
        je      d4_I574
 ; Line 297
 d4_I573:
@@ -616,7 +617,7 @@ d4_I574:
          cmp   BYTE (bx),#40           ; Windows
        je      d4_I575
 
          cmp   BYTE (bx),#40           ; Windows
        je      d4_I575
 
-;  OS2 bitmaps
+;  OS2 bitmaps (obselete)
        seg     es
          mov   ax,WORD (bx+8)
         seg    es
        seg     es
          mov   ax,WORD (bx+8)
         seg    es
@@ -643,7 +644,7 @@ d4_I574:
        jne     d4_I576
        jmp     d4_I575a
 
        jne     d4_I576
        jmp     d4_I575a
 
-; Windows/OS2 bitmaps
+; Windows bitmaps
 d4_I575:
        seg     es
          mov   ax,WORD (bx+12)
 d4_I575:
        seg     es
          mov   ax,WORD (bx+12)
@@ -891,13 +892,13 @@ d4_F581:
        les     bx,(bp-22)      ;bmh
 ;;     seg     es
 ;;       mov   ax,WORD (bx+8)          ; 480
        les     bx,(bp-22)      ;bmh
 ;;     seg     es
 ;;       mov   ax,WORD (bx+8)          ; 480
-       mov     ax,#480                 ; Windows or OS2
+       mov     ax,#480                 ; Windows
 ;;     seg     es
 ;;       mov   dx,WORD (bx+4)          ; 640
 ;;     seg     es
 ;;       mov   dx,WORD (bx+4)          ; 640
-       mov     dx,#640                 ; Windows or OS2
+       mov     dx,#640                 ; Windows
        seg     es
        seg     es
-         cmp   BYTE (bx),#13           ; OS2
-       sbb     cx,cx                   ; OS2 = -1, Win = 0
+         cmp   BYTE (bx),#13           ; OS2 (obsolete)
+       sbb     cx,cx                   ; Win = 0  OS2 = -1 (obsolete)
        not     cx
        seg     es
          and   cx,WORD (bx+16)         ; compression
        not     cx
        seg     es
          and   cx,WORD (bx+16)         ; compression
index e59b7064eb22ee0c805c24e182e0db3d17752f31..d1e3457bfea39e2477bc1d51da0eeed90ea12cbc 100644 (file)
@@ -1,12 +1,12 @@
-#if 0
-;  dparam.S  is
-Copyright 1992 Werner Almesberger */
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-#endif
+;  dparam.S
+;
+;  Copyright 1992 Werner Almesberger
+;  Copyright 2009-2011 Joachim Wiedorn
+;  All rights reserved.
+;
+;  Licensed under the terms contained in the file 'COPYING'
+;  in the source directory.
+;
 
        .text
 
 
        .text
 
index 8115fc301d104062a2605f65e4b080980823bcc8..c115edfe747eeb8249cb7689586b160d36e9749b 100644 (file)
@@ -1,13 +1,12 @@
-/* dump.S  -  LILO register dumper */
-
- Copyright 1995-1997 Werner Almesberger.
- All rights reserved.
-
- Licensed under the terms contained in the file 'COPYING' in the 
- source directory.
-
-*/
-
+;  dump.S
+;
+;  Copyright 1995-1997 Werner Almesberger
+;  Copyright 2009-2011 Joachim Wiedorn
+;  All rights reserved.
+;
+;  Licensed under the terms contained in the file 'COPYING'
+;  in the source directory.
+;
 
 #define LILO_ASM
 #include "lilo.h"
 
 #define LILO_ASM
 #include "lilo.h"
index 2630fbe280990a3afedeb80571a7e3275f7e57c5..1fa45f2e3160b0ede5006bdc5b761f8264868731 100644 (file)
@@ -1,12 +1,12 @@
-/* edit.c -- bitmap file manipulation and editing */
-/*
-Copyright 2002-2004 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-*/
+/* edit.c  -  Bitmap file manipulation and editing
+ * 
+ * Copyright 2002-2004 John Coffman
+ * Copyright 2009-2011 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 #define _GNU_SOURCE
 #include <unistd.h>
 
 #define _GNU_SOURCE
 #include <unistd.h>
index fd85c7210996a2c8a515b17d9187c4349e9e93d7..72f370e496e75072e11ba1ed5c8c0482d3263bd8 100644 (file)
@@ -1,14 +1,13 @@
-/* edit.h -- declarations for bitmap file parameter block editing */
-/*
-Copyright 1992-1998 Werner Almesberger.
-Copyright 1999-2004 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-*/
-
+/* edit.h  -  Bitmap file manipulation and editing
+ * 
+ * Copyright 1992-1998 Werner Almesberger
+ * Copyright 1999-2004 John Coffman
+ * Copyright 2009-2011 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 #ifndef EDIT_H
 #define EDIT_H
 
 #ifndef EDIT_H
 #define EDIT_H
index aabb1a779f85befe3d2cc5e8040413911befbe67..48b5021154289a2731189369f3a542a5b8ebf868 100644 (file)
@@ -1,13 +1,14 @@
-#if 0
-;  first.S  -  LILO first stage boot loader with LBA32 support */
-Copyright 1992-1998 Werner Almesberger.
-Copyright 1999-2005 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
+;  first.S  -  LILO first stage boot loader with LBA32 support
+;
+;  Copyright 1992-1998 Werner Almesberger
+;  Copyright 1999-2005 John Coffman
+;  Copyright 2009-2011 Joachim Wiedorn
+;  All rights reserved.
+;
+;  Licensed under the terms contained in the file 'COPYING'
+;  in the source directory.
+;
 
 
-#endif
 #define LILO_ASM
 #include "lilo.h"
 get common.s           /* as86 "include" will bypass the CPP */
 #define LILO_ASM
 #include "lilo.h"
 get common.s           /* as86 "include" will bypass the CPP */
index 6b581743c9be9c236d2cd703ffdf92ea44618aeb..37db4552a1452af033b729facf5a32af759ef363 100644 (file)
@@ -1,14 +1,13 @@
-/* geometry.c  -  Device and file geometry computation */
-/*
-Copyright 1992-1998 Werner Almesberger.
-Copyright 1999-2005 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-*/
-/* Patched for linux-2.4.0 - Glibc-2.2 by Sergey Ostrovsky 11/16/2000 */
+/* geometry.c  -  Device and file geometry computation
+ * 
+ * Copyright 1992-1998 Werner Almesberger
+ * Copyright 1999-2005 John Coffman
+ * Copyright 2009-2011 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 #define _GNU_SOURCE
 #include <unistd.h>
 
 #define _GNU_SOURCE
 #include <unistd.h>
@@ -64,7 +63,7 @@ source directory.
  /* (*(__u32 *)"R4Sb"); */
 #endif
 #ifndef REISER4_IOC_UNPACK
  /* (*(__u32 *)"R4Sb"); */
 #endif
 #ifndef REISER4_IOC_UNPACK
-#define REISER4_IOC_UNPACK              _IOW(0xCD,1,long)
+#define REISER4_IOC_UNPACK      _IOW(0xCD,1,long)
 #endif
 #endif
 
 #endif
 #endif
 
@@ -298,10 +297,11 @@ int has_partitions_beta(dev_t dev)
       (major >= MAJOR_SMART2 && major <= MAJOR_SMART2+7) ||
       (major >= MAJOR_CISS && major <= MAJOR_CISS+7) ||
       major == MAJOR_FTL || major == MAJOR_NFTL || major == MAJOR_DOC ||
       (major >= MAJOR_SMART2 && major <= MAJOR_SMART2+7) ||
       (major >= MAJOR_CISS && major <= MAJOR_CISS+7) ||
       major == MAJOR_FTL || major == MAJOR_NFTL || major == MAJOR_DOC ||
-      (major >= MAJOR_SD9 && major <= MAJOR_SD16)
+      (major >= MAJOR_SD9 && major <= MAJOR_SD16) ||
+      (major >= MAJOR_SATA1 && major <= MAJOR_SATA2)
         ) return 0xFFFFFFF0;   /* 4 bit partition mask */
 
         ) return 0xFFFFFFF0;   /* 4 bit partition mask */
 
-    if ( major == MAJOR_SATA || major == MAJOR_SATA2
+    if ( major == MAJOR_CARM1 || major == MAJOR_CARM2
         )  return 0xFFFFFFE0;  /* 5 bit partition mask */
 
     if ( major == MAJOR_IBM_iSER ||
         )  return 0xFFFFFFE0;  /* 5 bit partition mask */
 
     if ( major == MAJOR_IBM_iSER ||
@@ -394,10 +394,10 @@ void do_disk(void)
     maxpart = cfg_get_strg(cf_disk,"max-partitions");
     if (maxpart) {
       if (major<nelem(max_partno)) {
     maxpart = cfg_get_strg(cf_disk,"max-partitions");
     if (maxpart) {
       if (major<nelem(max_partno)) {
-       int i = to_number(maxpart);
-       if (max_partno[major] && max_partno[major]!=i) die("Cannot alter 'max-partitions' for known disk  %s", disk);
-       max_partno[major] = i;
-       if (i!=7 && i!=15 && i!=31 && i!=63) die("disk=%s:  illegal value for max-partitions(%d)", disk, i);
+        int i = to_number(maxpart);
+          if (max_partno[major] && max_partno[major]!=i) die("Cannot alter 'max-partitions' for known disk  %s", disk);
+          max_partno[major] = i;
+          if (i!=7 && i!=15 && i!=31 && i!=63 && i!=128) die("disk=%s:  illegal value for max-partitions(%d)", disk, i);
       }
       else {
         die("Implementation restriction: max-partitions on major device > %d", (int)nelem(max_partno)-1);
       }
       else {
         die("Implementation restriction: max-partitions on major device > %d", (int)nelem(max_partno)-1);
@@ -492,12 +492,8 @@ static int scan_last_dev(ST_BUF *next,char *parent,int major,int increment)
 static int last_dev(int major,int increment)
 {
 /*
 static int last_dev(int major,int increment)
 {
 /*
- * In version 12 to 18, LILO only relied on scan_last_dev (or last_dev). This
- * obviously didn't work if entries in /dev were missing. Versions 18 and 19
- * added the probe loop, which seems to be okay, but which may probe for
- * invalid minor numbers. The IDE driver objects to that. Since last_dev is
- * only used to count IDE drives anyway, we try now only the first two devices
- * and forget about scan_last_dev.
+ * Since last_dev is only used to count IDE drives anyway, we try 
+ * now only the first two devices and forget about scan_last_dev.
  */
     DEVICE dev;
     int devs;
  */
     DEVICE dev;
     int devs;
@@ -610,13 +606,9 @@ void geo_query_dev(GEOMETRY *geo,int device,int all)
     struct hd_geometry hdprm;
 
     if (verbose>=5) printf("geo_query_dev: device=%04X\n", device);
     struct hd_geometry hdprm;
 
     if (verbose>=5) printf("geo_query_dev: device=%04X\n", device);
-#if 0
-/*  Werner's original */
-    get_all = all || MAJOR(device) != MAJOR_FD; */
-#else
-/* simplify the condition -- JRC 2003-06-04 */
+    /* simplified condition -- JRC 2003-06-04 */
     get_all = all;
     get_all = all;
-#endif
+
     if (!MAJOR(device))
        die("Trying to map files from unnamed device 0x%04x (NFS/RAID mirror down ?)",device);
     if (device == MAJMIN_RAM)
     if (!MAJOR(device))
        die("Trying to map files from unnamed device 0x%04x (NFS/RAID mirror down ?)",device);
     if (device == MAJMIN_RAM)
@@ -692,6 +684,14 @@ void geo_query_dev(GEOMETRY *geo,int device,int all)
            geo->sectors = hdprm.sectors;
            geo->start = hdprm.start;
            break;
            geo->sectors = hdprm.sectors;
            geo->start = hdprm.start;
            break;
+       case MAJOR_SATA1:
+       case MAJOR_SATA2:
+               printf("WARNING: SATA partition in the high region (>15):\n");
+               printf("LILO needs the kernel in one of the first 15 SATA partitions. If \n");
+               printf("you need support for kernel in SATA partitions of the high region \n");
+               printf("than try grub2 for this purpose! \n");
+               die("Sorry, cannot handle device 0x%04x",device);
+           break;
        MASK31:
            geo->device = 0x80 + last_dev(MAJOR_HD,64) + (MINOR(device) >> 5);
            if (!get_all) break;
        MASK31:
            geo->device = 0x80 + last_dev(MAJOR_HD,64) + (MINOR(device) >> 5);
            if (!get_all) break;
@@ -1480,7 +1480,7 @@ int geo_comp_addr(GEOMETRY *geo,int offset,SECTOR_ADDR *addr)
                    break;
            if (!dm_target)
                die("device-mapper: Sector outside mapped device? (%d: %u/%"PRIu64")",
                    break;
            if (!dm_target)
                die("device-mapper: Sector outside mapped device? (%d: %u/%"PRIu64")",
-                   geo->base_dev, sector, (uint64_t)(dm_table->target ?
+                   (int) geo->base_dev, sector, (uint64_t)(dm_table->target ?
                      (dm_table->target->start+dm_table->target->length) : 0));
 
            dev = dm_target->device;
                      (dm_table->target->start+dm_table->target->length) : 0));
 
            dev = dm_target->device;
index cba720a8e953a58899635febebf41c63484c55f3..a1c47583a31f2a3c10fa8bd7871a0b9932441b5d 100644 (file)
@@ -1,13 +1,14 @@
-/* geometry.h  -  Device and file geometry computation */
-/*
-Copyright 1992-1998 Werner Almesberger.
-Copyright 1999-2005 John Coffman.
-All rights reserved.
+/* geometry.h  -  Device and file geometry computation
+ * 
+ * Copyright 1992-1998 Werner Almesberger
+ * Copyright 1999-2005 John Coffman
+ * Copyright 2009-2011 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-*/
 #ifndef GEOMETRY_H
 #define GEOMETRY_H
 
 #ifndef GEOMETRY_H
 #define GEOMETRY_H
 
index 6bf37db2cb98d9dfba7b89228b43bd5335ef349b..7918bd36e5a3fdc07df26d9649843608cfea2bc5 100644 (file)
@@ -1,12 +1,12 @@
-#if 0
-; graph.S  is
-Copyright 2000-2004 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-#endif
+;  graph.S
+;
+;  Copyright 2000-2004 John Coffman
+;  Copyright 2009-2011 Joachim Wiedorn
+;  All rights reserved.
+;
+;  Licensed under the terms contained in the file 'COPYING'
+;  in the source directory.
+;
 
 #ifndef GRAPH_S
 #define GRAPH_S
 
 #ifndef GRAPH_S
 #define GRAPH_S
index b26c33e48fd254382cb2609f900c3f1352e5fc33..369f273f06411baead6efabab4f3f2a60eb23b5d 100644 (file)
@@ -1,15 +1,13 @@
-/* identify.c  -  Translate label names to kernel paths */
-
-/* 
-Copyright 1992-1998 Werner Almesberger.
-Copyright 1999-2004 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-*/
-
+/* identify.c  -  Translate label names to kernel paths
+ * 
+ * Copyright 1992-1998 Werner Almesberger
+ * Copyright 1999-2004 John Coffman
+ * Copyright 2009-2011 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 #define _GNU_SOURCE
 #include <stdlib.h>
 
 #define _GNU_SOURCE
 #include <stdlib.h>
index 36888f5713de6d05c1c31f49447bc318d48797c4..b42ba4a1190b9064214f36faeb8234f43b20b203 100644 (file)
@@ -1,15 +1,13 @@
 /* identify.h  -  Translate label names to kernel paths
 /* identify.h  -  Translate label names to kernel paths
-
-Copyright 1992-1995 Werner Almesberger.
-Copyright 1999-2004 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-*/
-
-
+ * 
+ * Copyright 1992-1995 Werner Almesberger
+ * Copyright 1999-2004 John Coffman
+ * Copyright 2009-2011 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 #ifndef IDENTIFY_H
 #define IDENTIFY_H
 
 #ifndef IDENTIFY_H
 #define IDENTIFY_H
index 0e6c2424142cab9764c694851fd2f5a7e76fee2f..09b40dcd5422454b4e22fe194e742663a2c48d8c 100644 (file)
@@ -2,7 +2,7 @@
  * 
  * Copyright 1992-1998 Werner Almesberger
  * Copyright 1999-2007 John Coffman
  * 
  * Copyright 1992-1998 Werner Almesberger
  * Copyright 1999-2007 John Coffman
- * Copyright 2009-2011 Joachim Wiedorn
+ * Copyright 2009-2013 Joachim Wiedorn
  * All rights reserved.
  * 
  * Licensed under the terms contained in the file 'COPYING'
  * All rights reserved.
  * 
  * Licensed under the terms contained in the file 'COPYING'
@@ -829,7 +829,7 @@ fprintf(errstd,"REBOOT=\"%s\"\n", reboot_arg);
         }
         printf("  * Copyright (C) 1992-1998 Werner Almesberger  (until v20)\n"
                "  * Copyright (C) 1999-2007 John Coffman  (until v22)\n"
         }
         printf("  * Copyright (C) 1992-1998 Werner Almesberger  (until v20)\n"
                "  * Copyright (C) 1999-2007 John Coffman  (until v22)\n"
-               "  * Copyright (C) 2009-2011 Joachim Wiedorn  (since v23)\n"
+               "  * Copyright (C) 2009-2013 Joachim Wiedorn  (since v23)\n"
                "This program comes with ABSOLUTELY NO WARRANTY. This is free software \n"
                "distributed under the BSD License (3-clause). Details can be found in \n"
                "the file COPYING, which is distributed with this software.\n"
                "This program comes with ABSOLUTELY NO WARRANTY. This is free software \n"
                "distributed under the BSD License (3-clause). Details can be found in \n"
                "the file COPYING, which is distributed with this software.\n"
index 86d87ca84f3e5d6ad2247ca20621e1565a3a9781..c11330b4b166e30b0d7976f8e2a4117a593f51d9 100644 (file)
@@ -2,7 +2,7 @@
  * 
  * Copyright 1992-1998 Werner Almesberger
  * Copyright 1999-2006 John Coffman
  * 
  * Copyright 1992-1998 Werner Almesberger
  * Copyright 1999-2006 John Coffman
- * Copyright 2009-2011 Joachim Wiedorn
+ * Copyright 2009-2013 Joachim Wiedorn
  * All rights reserved.
  * 
  * Licensed under the terms contained in the file 'COPYING'
  * All rights reserved.
  * 
  * Licensed under the terms contained in the file 'COPYING'
 #define MAJOR_SD16     135 /* SCSI disks    -255 */
 #define MAJOR_DAC960_8 136 /* Ninth Mylex DAC960 PCI RAID controller */
 #define MAJOR_EMD      153 /* Enhanced multi-disk RAID sets */
 #define MAJOR_SD16     135 /* SCSI disks    -255 */
 #define MAJOR_DAC960_8 136 /* Ninth Mylex DAC960 PCI RAID controller */
 #define MAJOR_EMD      153 /* Enhanced multi-disk RAID sets */
-#define MAJOR_SATA     160 /* Carmel SATA Disk on first 8-port controller */
-#define MAJOR_SATA2    161 /* Carmel SATA Disk on 2nd 8-port controller */
+#define MAJOR_CARM1    160 /* Carmel SATA Disk on first 8-port controller */
+#define MAJOR_CARM2    161 /* Carmel SATA Disk on 2nd 8-port controller */
+
 /* don't use the following */
 #define MAJOR_MDP      254 /* Enhanced multi-disk RAID sets [experimental?] */
 
 /* don't use the following */
 #define MAJOR_MDP      254 /* Enhanced multi-disk RAID sets [experimental?] */
 
+/* high partitions (>15) on SATA hard disks */
+#define MAJOR_SATA1    259 /* high SATA disk partitions */
+#define MAJOR_SATA2    260 /* high SATA disk partitions */
+
 #define MAX_TOKEN      1023 /* max device Token length */
 #define MAX_IMAGE_NAME 15 /* maximum name length (w/o terminating NUL) */
 #define MAX_DESCR_SECTORS  12  /* upper limit on MAX_DESCR_SECS */
 #define MAX_TOKEN      1023 /* max device Token length */
 #define MAX_IMAGE_NAME 15 /* maximum name length (w/o terminating NUL) */
 #define MAX_DESCR_SECTORS  12  /* upper limit on MAX_DESCR_SECS */
 #define PART_WIN_EXTD_LBA 0xF  /* Win95/98 Extended partition */
 #define PART_LINUX_EXTD   0x85 /* Linux Extended partition */
 #define PART_LINUX_LVM    0x8E /* Linux LVM partition */
 #define PART_WIN_EXTD_LBA 0xF  /* Win95/98 Extended partition */
 #define PART_LINUX_EXTD   0x85 /* Linux Extended partition */
 #define PART_LINUX_LVM    0x8E /* Linux LVM partition */
-#define PART_OS2_BOOTMGR  0xA  /* OS/2 Boot Manager */
+/* #define PART_OS2_BOOTMGR  0xA       -  OS/2 Boot Manager */
 
 #define PART_DOS12       1     /* DOS 12 bit FAT partition type */
 #define PART_DOS16_SMALL  4    /* DOS 16 bit FAT partition type, < 32 MB */
 
 #define PART_DOS12       1     /* DOS 12 bit FAT partition type */
 #define PART_DOS16_SMALL  4    /* DOS 16 bit FAT partition type, < 32 MB */
index 5bfc86121cd4041a48254a3d1c66845881cf9405..ab86176cd2190fc0465e36f238467aeb97f610ba 100644 (file)
@@ -1,12 +1,13 @@
-/* loader.h */
-/*
-Copyright 2002-2004 John Coffman.
-All rights reserved.
+/* loader.h
+ * 
+ * Copyright 2002-2004 John Coffman
+ * Copyright 2009-2011 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-*/
 #include "common.h"
 
 extern BUILTIN_FILE First;
 #include "common.h"
 
 extern BUILTIN_FILE First;
@@ -16,6 +17,4 @@ extern BUILTIN_FILE Bitmap;
 extern BUILTIN_FILE Mbr;
 extern BUILTIN_FILE Mbr2;
 extern BUILTIN_FILE Chain;
 extern BUILTIN_FILE Mbr;
 extern BUILTIN_FILE Mbr2;
 extern BUILTIN_FILE Chain;
-extern BUILTIN_FILE Os2_d;
 
 
-/* end loader.h */
index c583c0df141f91912cf2a537634161d78af43067..9ec0d80d86f9d806ddc2a0ade2c294fe770b4ece 100644 (file)
--- a/src/map.c
+++ b/src/map.c
@@ -1,14 +1,13 @@
-/* map.c  -  Map file creation */
-/*
-Copyright 1992-1998 Werner Almesberger.
-Copyright 1999-2005 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-*/
-
+/* map.c  -  Map file creation
+ * 
+ * Copyright 1992-1998 Werner Almesberger
+ * Copyright 1999-2005 John Coffman
+ * Copyright 2009-2011 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 #define _GNU_SOURCE
 #include <unistd.h>
 
 #define _GNU_SOURCE
 #include <unistd.h>
index 67dd442f22bef46463f29c7fa31c64ce1dc480e8..0501d6cdb3f2a9b04e0608c2cdfd3d35a07fc685 100644 (file)
--- a/src/map.h
+++ b/src/map.h
@@ -1,13 +1,13 @@
-/* map.h  -  Map file creation */
-/*
-Copyright 1992-1998 Werner Almesberger.
-Copyright 1999-2004 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-*/
+/* map.c  -  Map file creation
+ * 
+ * Copyright 1992-1998 Werner Almesberger
+ * Copyright 1999-2004 John Coffman
+ * Copyright 2009-2011 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 #ifndef MAP_H
 #define MAP_H
 
 #ifndef MAP_H
 #define MAP_H
index 993b23d7ea8d9356efea1ae85f67c92ab3dd35d2..73bae7af3e0b8f054086c35244c899d7c1a5942b 100644 (file)
@@ -1,12 +1,15 @@
 ;  mapper.S  -  LILO chain loader subroutine
 ;
 ;  mapper.S  -  LILO chain loader subroutine
 ;
-; Copyright 2003-2004 John Coffman.
-; All rights reserved.
+;  Copyright 2003-2004 John Coffman
+;  Copyright 2009-2011 Joachim Wiedorn
+;  All rights reserved.
 ;
 ;
-; Licensed under the terms contained in the file 'COPYING' in the 
-; source directory.
+;  Licensed under the terms contained in the file 'COPYING'
+;  in the source directory.
 ;
 ;
-; Check for presence of existing drive mapper
+
+
+;  Check for presence of existing drive mapper
 ;
 ;      Enter with  DS == CS,  SS == 0000         (chain loader)
 ;      Enter with  DS == CS == ES,  SS != 0000   (second stage)
 ;
 ;      Enter with  DS == CS,  SS == 0000         (chain loader)
 ;      Enter with  DS == CS == ES,  SS != 0000   (second stage)
index 26028475c121655b68a794ff4277ba8100bc7d7f..15902cfb77f8db994f6eb5c2bc12ac60c4f91f3b 100644 (file)
--- a/src/mbr.S
+++ b/src/mbr.S
@@ -1,10 +1,11 @@
-;  mbr.S -- Master Boot Record to boot first partition marked active
+;  mbr.S  -  Master Boot Record to boot first partition marked active
 ;
 ;
-; Copyright 2002-2004 John Coffman.
-; All rights reserved.
+;  Copyright 2002-2004 John Coffman
+;  Copyright 2009-2011 Joachim Wiedorn
+;  All rights reserved.
 ;
 ;
-; Licensed under the terms contained in the file 'COPYING' in the 
-; source directory.
+;  Licensed under the terms contained in the file 'COPYING'
+;  in the source directory.
 ;
 
 /* set to 1 for debugging output */
 ;
 
 /* set to 1 for debugging output */
index f6bbbeca5836b28b7e51e7cc5578e232bf3ec90b..69d5a5514aefa7d9a9807dfd323d98d1f2c41ae4 100644 (file)
@@ -1,9 +1,8 @@
 /*
    md.h : Multiple Devices driver for Linux
 /*
    md.h : Multiple Devices driver for Linux
-          Copyright (C) 1994-96 Marc ZYNGIER
-         <zyngier@ufr-info-p7.ibp.fr> or
-         <maz@gloups.fdn.fr>
-         
+          Copyright (C) 1994-1996 Marc ZYNGIER
+          <zyngier@ufr-info-p7.ibp.fr> or <maz@gloups.fdn.fr>
+   
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2, or (at your option)
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2, or (at your option)
index c0d371b81deddfad5a65f486aed2ed21143f2567..d1b35f780fc07fb74352e704b3dd6f653e477642 100644 (file)
@@ -1,13 +1,15 @@
-#if 0
-; menu.S  is
-Copyright 2000-2004 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
+;  menu.S
+;
+;  Copyright 2000-2004 John Coffman
+;  Copyright 2009-2011 Joachim Wiedorn
+;  All rights reserved.
+;
+;  Licensed under the terms contained in the file 'COPYING'
+;  in the source directory.
+;
 
 
-#endif
 #define PAGE0
 #define PAGE0
+
 ;
 ; mn_init:
 ;      enter with nothing
 ;
 ; mn_init:
 ;      enter with nothing
index 7dbbc5d99261a2772aa630fedcfa278cfa6c1181..50d99e930f18f7a8d1cc62b2072f4c2edcb547cf 100644 (file)
@@ -1,13 +1,13 @@
-/* partition.c  -  Partition table handling */
-/*
-Copyright 1992-1998 Werner Almesberger.
-Copyright 1999-2005 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-*/
+/* partition.c  -  Partition table handling
+ * 
+ * Copyright 1992-1998 Werner Almesberger
+ * Copyright 1999-2005 John Coffman
+ * Copyright 2009-2013 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 #define _GNU_SOURCE
 #include <stdlib.h>
 
 #define _GNU_SOURCE
 #include <stdlib.h>
@@ -101,9 +101,9 @@ if ( !(do_md_install && extra==X_MBR_ONLY) ) {
     else if (  !strncmp("NTFS", bs.par_d.system, 4)
                || anywhere(bs.sector,"NTLDR")  ) ret=PTW_NTFS;
 
     else if (  !strncmp("NTFS", bs.par_d.system, 4)
                || anywhere(bs.sector,"NTLDR")  ) ret=PTW_NTFS;
 
-/* check for HPFS */
-    else if (  !strncmp("OS2", bs.par_d.system, 3)
-               || anywhere(bs.sector,"OS2LDR")  ) ret=PTW_OS2;
+/* do not check for obsolete OS2_HPFS */
+/*    else if (        !strncmp("OS2", bs.par_d.system, 3)
+               || anywhere(bs.sector,"OS2LDR")  ) ret=PTW_OS2; */
 
 /* check for DOS FAT */
     else if (
 
 /* check for DOS FAT */
     else if (
@@ -115,10 +115,6 @@ if ( !(do_md_install && extra==X_MBR_ONLY) ) {
        && (bs.par_d.bpb.sectors_per_cluster & (bs.par_d.bpb.sectors_per_cluster-1))==0
                                ) {
                ret=PTW_DOS;
        && (bs.par_d.bpb.sectors_per_cluster & (bs.par_d.bpb.sectors_per_cluster-1))==0
                                ) {
                ret=PTW_DOS;
-#if 0
-/* this, it turns out is from Windows 98, so no caution here on NT */
-               if (anywhere(bs.sector,"WINBOOT SYS")) ret+=PTW_NTFS;
-#endif
     }
     
 /* check for SWAP -- last check, as 'bs' is overwritten */
     }
     
 /* check for SWAP -- last check, as 'bs' is overwritten */
@@ -221,14 +217,13 @@ void part_verify(int dev_nr,int type)
              i == PART_FAT32 ||
              i == PART_FAT32_LBA ||
              i == PART_FAT16_LBA ||
              i == PART_FAT32 ||
              i == PART_FAT32_LBA ||
              i == PART_FAT16_LBA ||
-             i == PART_NTFS ||
-             i == PART_OS2_BOOTMGR ;
+             i == PART_NTFS ;
 
     if (type && !Linux) {
        warn("partition type 0x%02X"" on device 0x%04X is a dangerous place for\n"
              "    a boot sector.%s",
                        part_table[part].sys_ind, dev_nr,
 
     if (type && !Linux) {
        warn("partition type 0x%02X"" on device 0x%04X is a dangerous place for\n"
              "    a boot sector.%s",
                        part_table[part].sys_ind, dev_nr,
-       dos ? "  A DOS/Windows/OS2 system may be rendered unbootable."
+       dos ? "  A DOS/Windows system may be rendered unbootable."
                "\n  The backup copy of this boot sector should be retained."
                : "" );
 #if 0
                "\n  The backup copy of this boot sector should be retained."
                : "" );
 #if 0
@@ -557,12 +552,7 @@ void do_change(void)
 
 void preload_types(void)
 {
 
 void preload_types(void)
 {
-#if 0 /* don't know if it makes sense to add these too */
-    add_type("Netware", 0x64, 0x74);
-    add_type("OS2_BM", 0x0a, 0x1a);
-#endif
-    add_type("OS2_HPFS", 0x07, 0x17);
-
+/*  add_type("OS2_HPFS", 0x07, 0x17); */
     add_type("FAT16_lba", PART_FAT16_LBA, -1);
     add_type("FAT32_lba", PART_FAT32_LBA, -1);
     add_type("FAT32", PART_FAT32, -1);
     add_type("FAT16_lba", PART_FAT16_LBA, -1);
     add_type("FAT32_lba", PART_FAT32_LBA, -1);
     add_type("FAT32", PART_FAT32, -1);
index 23b8b7ccc4940449488e4c33bbf2f69ae3efbe88..e3c2fa3f9fbb764b9bd584914bf44295a4d21380 100644 (file)
@@ -1,15 +1,13 @@
-/* partition.h  -  Partition table handling */
-
-/*
-Copyright 1992-1998 Werner Almesberger.
-Copyright 1999-2004 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-*/
-
+/* partition.h  -  Partition table handling
+ * 
+ * Copyright 1992-1998 Werner Almesberger
+ * Copyright 1999-2004 John Coffman
+ * Copyright 2009-2011 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 #ifndef PARTITION_H
 #define PARTITION_H
 
 #ifndef PARTITION_H
 #define PARTITION_H
index 91062d363cf8d9909b8415257eab4e05622b9e42..44572633381fa9345db30f5f19530cc139afd7d4 100644 (file)
@@ -1,12 +1,12 @@
-/* probe.c -- BIOS probes */
-/*
-Copyright 1999-2006 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-*/
+/* probe.c  -  BIOS probe utility
+ * 
+ * Copyright 1999-2006 John Coffman
+ * Copyright 2009-2013 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 /*#define DEBUG_PROBE*/
 #define BITMAP 0       /* change to 1 when do_bitmap is filled in */
 
 /*#define DEBUG_PROBE*/
 #define BITMAP 0       /* change to 1 when do_bitmap is filled in */
@@ -149,12 +149,12 @@ static struct partitions {
     { "DOS12", PART_DOS12, HIDDEN_OFF },
     { "DOS16_small", PART_DOS16_SMALL, HIDDEN_OFF },
     { "DOS16_big", PART_DOS16_BIG, HIDDEN_OFF },
     { "DOS12", PART_DOS12, HIDDEN_OFF },
     { "DOS16_small", PART_DOS16_SMALL, HIDDEN_OFF },
     { "DOS16_big", PART_DOS16_BIG, HIDDEN_OFF },
-    { "NTFS or OS2_HPFS", PART_NTFS, HIDDEN_OFF },     /* same as HPFS; keep these two together */
+    { "NTFS", PART_NTFS, HIDDEN_OFF }, /* same as HPFS; keep these two together */
 /*  { "HPFS", PART_HPFS, HIDDEN_OFF }, */      /* same as NTFS */
     { "FAT32", PART_FAT32, HIDDEN_OFF },
     { "FAT32_lba", PART_FAT32_LBA, HIDDEN_OFF },
     { "FAT16_lba", PART_FAT16_LBA, HIDDEN_OFF },
 /*  { "HPFS", PART_HPFS, HIDDEN_OFF }, */      /* same as NTFS */
     { "FAT32", PART_FAT32, HIDDEN_OFF },
     { "FAT32_lba", PART_FAT32_LBA, HIDDEN_OFF },
     { "FAT16_lba", PART_FAT16_LBA, HIDDEN_OFF },
-    { "OS/2 BootMgr", PART_OS2_BOOTMGR, 0 },
+/*  { "OS/2 BootMgr", PART_OS2_BOOTMGR, 0 }, */  /* obsolete system */
     { "DOS extended", PART_DOS_EXTD, 0 },
     { "WIN extended", PART_WIN_EXTD_LBA, 0 },
     { "Linux ext'd", PART_LINUX_EXTD, 0 },
     { "DOS extended", PART_DOS_EXTD, 0 },
     { "WIN extended", PART_WIN_EXTD_LBA, 0 },
     { "Linux ext'd", PART_LINUX_EXTD, 0 },
index c384c4fd77957d6da767b68b534ff3e0a6770529..1b86d99e5a8eeab053b2dd89bbe980b2012e81ef 100644 (file)
@@ -1,18 +1,17 @@
-/* probe.h  -- definitions for the LILO probe utility
-
-Copyright 1999-2005 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-*/
+/* probe.h  -  BIOS probe utility
+ * 
+ * Copyright 1999-2005 John Coffman
+ * Copyright 2009-2011 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 #ifndef __PROBE_H_
 #define __PROBE_H_
 
 
 
 #ifndef __PROBE_H_
 #define __PROBE_H_
 
 
-
 struct disk_geom {
    unsigned int n_total_blocks;
    int n_sect;
 struct disk_geom {
    unsigned int n_total_blocks;
    int n_sect;
index ceda00de8c4587f39f4f28df697a7f3a33f4d42d..18b528a9845445cc96958a55b28dde3cfe44a3b0 100644 (file)
@@ -1,13 +1,14 @@
-; pseudo.S -- produce a pseudo kernel header
+;  pseudo.S  -  Produce a pseudo kernel header
 ;
 ;
-;      This file is useful for booting arbitrary binary images
-;      at      0x1000:0000
+;               Useful for booting arbitrary
+;               binary images at 0x1000:0000
 ;
 ;
-; Copyright 2002-2005 John Coffman.
-; All rights reserved.
-; 
-; Licensed under the terms contained in the file 'COPYING' in the 
-; source directory.
+;  Copyright 2002-2005 John Coffman
+;  Copyright 2009-2011 Joachim Wiedorn
+;  All rights reserved.
+;
+;  Licensed under the terms contained in the file 'COPYING'
+;  in the source directory.
 ;
 
 #define DEBUG 0
 ;
 
 #define DEBUG 0
index 6a1a640171a29d86cf2b568abc2f444056aebf4a..fc0dc659504dfaf7dfc63d447865c95efc19fa24 100644 (file)
@@ -1,12 +1,12 @@
-/* raid.c  -  The RAID-1 hooks for LILO */
-/*
-Copyright 2001-2005 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-*/
+/* raid.c  -  The RAID-1 hooks for LILO
+ * 
+ * Copyright 2001-2005 John Coffman
+ * Copyright 2009-2011 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 #define _GNU_SOURCE
 #include <stdlib.h>
 
 #define _GNU_SOURCE
 #include <stdlib.h>
index e233bac36f7769af05fa254c7f78a164521b9ac9..865c1a852b5d684464e58e073d3335ec2fe8e27b 100644 (file)
@@ -1,12 +1,12 @@
-/* raid.h  -  The RAID-1 hooks for LILO */
-/*
-Copyright 2001-2004 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-*/
+/* raid.h  -  The RAID-1 hooks for LILO
+ * 
+ * Copyright 2001-2004 John Coffman
+ * Copyright 2009-2011 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 int do_md_install, ndisk, md_bios;
 
 
 int do_md_install, ndisk, md_bios;
 
index c55eac254e4747c36b3b7f4e9172870b9a3d1cce..ef37b77e5db04daa95d2666987afbce5ba8b18d4 100644 (file)
@@ -1,12 +1,13 @@
-/*
-;  read.S  is
-Copyright 1999-2006 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
+;  read.S
+;
+;  Copyright 1999-2006 John Coffman
+;  Copyright 2009-2011 Joachim Wiedorn
+;  All rights reserved.
+;
+;  Licensed under the terms contained in the file 'COPYING'
+;  in the source directory.
+;
 
 
-*/
 #define NEW_WRITE 1
 ;
 ; lba_read:      read using LBA
 #define NEW_WRITE 1
 ;
 ; lba_read:      read using LBA
index 9e91a244c72d02abe0f7542ad31b2996ea121ffb..37e9f1b0938a0c7428281e702bfa6af3ed33e458 100644 (file)
@@ -1,13 +1,13 @@
-#if 0
-/* second.S  -  LILO second stage boot loader */
-Copyright 1992-1998 Werner Almesberger.
-Copyright 1999-2006 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-#endif
+;  second.S  -  LILO second stage boot loader
+;
+;  Copyright 1992-1998 Werner Almesberger
+;  Copyright 1999-2006 John Coffman
+;  Copyright 2009-2011 Joachim Wiedorn
+;  All rights reserved.
+;
+;  Licensed under the terms contained in the file 'COPYING'
+;  in the source directory.
+;
 
 /*#define DEBUG*/
 #define REG_DUMP 1
 
 /*#define DEBUG*/
 #define REG_DUMP 1
index 64a2fcca13e67426ceffbd19a5e3d6c1ab05b308..5b20c2fcccea6cdc6beb527952162f96149779f5 100644 (file)
@@ -1,11 +1,10 @@
-/* shs2.c -- NIST proposed Secure Hash Standard
-*/
-/*
-   Written 2 September 1992, Peter C. Gutmann,
+/* shs2.c  -  NIST proposed Secure Hash Standard
+
+   Written 2 September 1992, Peter C. Gutmann;
    This implementation placed in the public domain.
 
    This implementation placed in the public domain.
 
-   Transcribed 2 October 2001, John Coffman.
-   Modified for FIPS PUB 180-1 (supercedes FIPS PUB 180)
+   Transcribed 2 October 2001, John Coffman;
+   Modified for FIPS PUB 180-1 (supercedes FIPS PUB 180).
 
 */
 
 
 */
 
index ac5073d4d256b601aa8bb5a26ed20c4639859c72..88a08a62728f6fb57d030ee9b3a49459ed8401ec 100644 (file)
@@ -1,6 +1,6 @@
-/* shs2.h -- NIST secure hash standard */
-/*
-   Written 2 September 1992, Peter C. Gutmann,
+/* shs2.c  -  NIST proposed Secure Hash Standard
+
+   Written 2 September 1992, Peter C. Gutmann;
    This implementation placed in the public domain.
 
    Transcribed 2 October 2001, John Coffman.
    This implementation placed in the public domain.
 
    Transcribed 2 October 2001, John Coffman.
index 3d254029b426f0478b3eb863e66f0e122812a789..bbafff80980750bfb791cd2660cf20f1da9f4379 100644 (file)
@@ -1,13 +1,14 @@
-; shs3.S
-/*
-Copyright 2000-2004 John Coffman.
-All rights reserved.
+;  shs3.S
+;
+;  Copyright 2000-2004 John Coffman
+;  Copyright 2009-2011 Joachim Wiedorn
+;  All rights reserved.
+;
+;  Licensed under the terms contained in the file 'COPYING'
+;  in the source directory.
+;
 
 
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
 
 
-*/
-;
 ;;;    group   dgroup _data
 
 ;;;    segment _data public align=16 class=data
 ;;;    group   dgroup _data
 
 ;;;    segment _data public align=16 class=data
index a64725e8736614650244f8414ac5a3fbd316c8d8..99e565c99987e5ecdbb3d45135def88d7cdf457e 100644 (file)
@@ -1,12 +1,12 @@
-/* strlen.S
-
- Copyright 2000-2004 John Coffman.
- All rights reserved.
-
- Licensed under the terms contained in the file 'COPYING' in the 
- source directory.
-
-*/
+ strlen.S
+;
+;  Copyright 2000-2004 John Coffman
+;  Copyright 2009-2011 Joachim Wiedorn
+;  All rights reserved.
+;
+;  Licensed under the terms contained in the file 'COPYING'
+;  in the source directory.
+;
 
 ;
 ; strlen:  find length of a string
 
 ;
 ; strlen:  find length of a string
index a25f32b90a21ffb49398b563b648a112d3f58dc2..acf06e46d3493a13e4acba22a666fa6432bb3fb9 100644 (file)
@@ -1,14 +1,13 @@
 /* temp.h  -  Temporary file registry
 /* temp.h  -  Temporary file registry
-
-Copyright 1992-1995 Werner Almesberger.
-Copyright 1999-2004 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-*/
-
+ * 
+ * Copyright 1992-1995 Werner Almesberger
+ * Copyright 1999-2004 John Coffman
+ * Copyright 2009-2011 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 #ifndef TEMP_H
 #define TEMP_H
 
 #ifndef TEMP_H
 #define TEMP_H
index 4231aaffe88bee19303d0c82765b29232a3a5ab9..2eb7742667b0acecf2631ee8e8055c06cba909c7 100644 (file)
@@ -1,11 +1,19 @@
-/* version.h   */
+/* version.h
+ * 
+ * Copyright 2005-2007 John Coffman
+ * Copyright 2009-2013 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 #ifndef VERSION_H
 #define VERSION_H
 
 
 #ifndef VERSION_H
 #define VERSION_H
 
-#define VERSION_MAJOR 23
-#define VERSION_MINOR 2
+#define VERSION_MAJOR 24
+#define VERSION_MINOR 0
 #define VERSION_EDIT  ""
 #define VERSION_EDIT  ""
-#define VERSION_DATE "09-Apr-2011"
+#define VERSION_DATE "07-Juni-2013"
 
 #endif
 
 #endif
index c4b735419b7686e9c1e86f6b8bcdee0ce872dfe8..7685688a6f119595221ee1bf054855117d3983ec 100644 (file)
@@ -1,12 +1,12 @@
-/* vesainfo.h */
-/*
-Copyright 2003-2004 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-*/
+/* vesainfo.c
+ * 
+ * Copyright 2003-2004 John Coffman
+ * Copyright 2009-2011 Joachim Wiedorn
+ * All rights reserved.
+ * 
+ * Licensed under the terms contained in the file 'COPYING'
+ * in the source directory.
+ */
 
 #ifndef _VESAINFO_H
 #define _VESAINFO_H
 
 #ifndef _VESAINFO_H
 #define _VESAINFO_H
index 322f9e31a6483e9a7527d97bdccd7c27e911423a..6ce36b03d30af699dcdbd6ecd814ebe138d06317 100644 (file)
@@ -1,12 +1,12 @@
-#if 0
-;  volume.S  is
-Copyright 2003-2004 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the 
-source directory.
-
-#endif
+;  volume.S
+;
+;  Copyright 2003-2004 John Coffman
+;  Copyright 2009-2011 Joachim Wiedorn
+;  All rights reserved.
+;
+;  Licensed under the terms contained in the file 'COPYING'
+;  in the source directory.
+;
 
 #ifdef BSS_DATA
 
 
 #ifdef BSS_DATA