Patch for better support of hardening
[rrq/maintain_lilo.git] / debian / README.Debian
index d539ccd7428451f8a8e3fcd17b5e7130cb4fae86..a8e8282cff9ce0b1c5762c6484743d7b22dd6d43 100644 (file)
@@ -5,15 +5,15 @@ README for lilo in Debian
 ** Distribution upgrade **
 
 If you are upgrading or dist-upgrading, it is recommended to run 
-/sbin/lilo after that. Usually this work will be done by the (new)
-hook scripts for kernel and initramfs.
+/sbin/lilo after that. Usually this work will be done by the hook
+scripts for kernel and initramfs (see /etc/kernel, /etc/initramfs).
 
 
 ** Other installed bootloader **
 
-Please pay attention to the hook scripts for kernel and initrd, if  you
+Please pay attention to the hook scripts for kernel and initramfs, if  you
 have also installed another bootloader. With every update of kernel or
-initrd these hook scripts will be executed and then Lilo rewrite the MBR.
+initramfs these hook scripts will be executed and then Lilo rewrite the MBR.
 They don't check whether another bootloader is activated. 
 
 Grub and Grub2 have its own hook scripts which will be executed, too, but
@@ -24,6 +24,19 @@ the package information about other installed bootloader for correct
 configuration.
 
 
+** XFS defragmenting /boot **
+
+On the XFS filesystem (or others too?), there could growing problems with
+kernel files (vmlinuz*) in /boot directory while someone defragmenting
+partitions. To protect vmlinuz* files from moving to other addresses on the
+disk, which would lead to an unbootable system, it is recommended to use
+'chattr' if the /boot directory have a XFS filesystem.
+
+Lilo 24.1 comes with some hook scripts for this case. Go into directory
+/usr/lib/lilo/hook and start the Makefile as root with 'make install'. Then
+these scripts will ensure that lilo survives when xfs defragments files.
+
+
 ** Large initrd files **
 
 Usually LILO loads the initrd file into the first 15MB of memory to
@@ -76,3 +89,18 @@ override fatal halt while found an inactive disk of an RAID-1 array.
 Warning: Booting with partial RAID-1 installation only on active disks
 is not failsafe!
 
+
+** Very old documentation **
+
+The following very old documentation can be found in lilo-doc package:
+
+  - html/user_21-5.html
+  - html/tech_21-5.html
+  - INCOMPAT
+  - README
+  - README.disk
+  - README.common.problems
+  - README.volumeID
+  - README.pseudo
+  - README.bitmaps
+  - README.raid1