For step2 in early-kdump-howto.txt, --force option of dracut is necessary to rebuild system initramfs. Without --force option, executing step2 fails because system initramfs already exists.
Signed-off-by: Shigeki Morishima s.morishima@jp.fujitsu.com --- early-kdump-howto.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/early-kdump-howto.txt b/early-kdump-howto.txt index b8cab6a..f4fae36 100644 --- a/early-kdump-howto.txt +++ b/early-kdump-howto.txt @@ -34,14 +34,16 @@ You can rebuild the initramfs with earlykdump support with below steps: For the failure_action, you can choose anything other than "reboot".
2. rebuild system initramfs with earlykdump support. - # dracut --add earlykdump + # dracut --force --add earlykdump + + NOTE: Recommend to backup the original system initramfs before performing + this step to put it back if something happens during boot-up.
3. add rd.earlykdump in grub kernel command line.
Note: [1]. Early kdump initramfs size will be large because it includes vmlinuz and -kdump initramfs. And for step 2 if you are sure to overwrite system initramfs -you can backup the original initramfs and use "--force" option. +kdump initramfs.
[2]. Early kdump inherits the settings of normal kdump, so any changes that caused normal kdump rebuilding also require rebuilding the system initramfs -- 1.8.3.1