Add note that mdadm tweak only required for Debian 9

This commit is contained in:
Gauthier Provost 2019-07-16 14:36:55 +08:00
parent 4a028c3c61
commit ca2a2ecba0

View file

@ -12,9 +12,9 @@ In this guide, we will show how to create different RAID configurations :
### Fix mdadm ### Fix mdadm
You might see the following error message in your boot messages *"mdadm: initramfs boot message: /scripts/local-bottom/mdadm: rm: not found"* Under Debian 9 (Stretch) you might see the following error message in your boot messages *"mdadm: initramfs boot message: /scripts/local-bottom/mdadm: rm: not found"*. This minor issue has been fixed in Debian 10 (Buster).
To fix this minor issue simply edit the *mdadm* hook script of initramfs: To fix this minor issue in Debian 9, simply edit the *mdadm* hook script of initramfs:
sudo nano /usr/share/initramfs-tools/hooks/mdadm sudo nano /usr/share/initramfs-tools/hooks/mdadm
@ -377,7 +377,7 @@ if [ $EVENT == "RebuildStarted" ]; then
echo 1 > $BRIGHTNESS echo 1 > $BRIGHTNESS
fi fi
# An md array that was rebuilding, isn't any more, either because it finished normally or was aborted. # An md array that was rebuilding, isn't any more, either because it finished normally or was aborted.
if [ $EVENT == "RebuildFinished" ]; then if [ $EVENT == "RebuildFinished" ]; then
echo none > $TRIGGER echo none > $TRIGGER
echo 0 > $BRIGHTNESS echo 0 > $BRIGHTNESS