Add readme snippet about defragmenting problems
authorJoachim Wiedorn <ad_debian@joonet.de>
Fri, 17 Oct 2014 19:54:00 +0000 (21:54 +0200)
committerJoachim Wiedorn <ad_debian@joonet.de>
Fri, 17 Oct 2014 19:54:00 +0000 (21:54 +0200)
debian/README.Debian

index 9ae005feec2a9e150d5e379ce00dd3200602a505..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