X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=debian%2FREADME.Debian;h=a8e8282cff9ce0b1c5762c6484743d7b22dd6d43;hb=14c5541b67dce5728356e6a6c83b594b648c46fe;hp=9ae005feec2a9e150d5e379ce00dd3200602a505;hpb=c3e58b59a1d71041a2674a64c46130436bd67ffa;p=rrq%2Fmaintain_lilo.git diff --git a/debian/README.Debian b/debian/README.Debian index 9ae005f..a8e8282 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -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