Commit 14c5541b authored by Joachim Wiedorn's avatar Joachim Wiedorn

Add readme snippet about defragmenting problems

parent c3e58b59
...@@ -5,15 +5,15 @@ README for lilo in Debian ...@@ -5,15 +5,15 @@ README for lilo in Debian
** Distribution upgrade ** ** Distribution upgrade **
If you are upgrading or dist-upgrading, it is recommended to run 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) /sbin/lilo after that. Usually this work will be done by the hook
hook scripts for kernel and initramfs. scripts for kernel and initramfs (see /etc/kernel, /etc/initramfs).
** Other installed bootloader ** ** 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 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. They don't check whether another bootloader is activated.
Grub and Grub2 have its own hook scripts which will be executed, too, but 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 ...@@ -24,6 +24,19 @@ the package information about other installed bootloader for correct
configuration. 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 ** ** Large initrd files **
Usually LILO loads the initrd file into the first 15MB of memory to Usually LILO loads the initrd file into the first 15MB of memory to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment