On Thu, Feb 6, 2020 at 10:52 AM s.morishima(a)fujitsu.com
<s.morishima(a)fujitsu.com> wrote:
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(a)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
_______________________________________________
kexec mailing list -- kexec(a)lists.fedoraproject.org
To unsubscribe send an email to kexec-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/kexec@lists.fedoraproject.org
Thanks for the patch, looks good to me.
Acked-by: Kairui Song <kasong(a)redhat.com>
--
Best Regards,
Kairui Song