Hello,
Thanks for the comment.
If we remove this, how about explicitly adding a backup process
before
rebuilding initramfs for safety's sake? I think there will also be times
when we want to put it back completely.
You're right. I will add the statement as note under step 2.
Best Regards,
Shigeki Morishima
> -----Original Message-----
> From: HAGIO KAZUHITO(萩尾 一仁) <k-hagio-ab(a)nec.com>
> Sent: Friday, January 31, 2020 12:37 AM
> To: Morishima, Shigeki/森島 茂貴 <s.morishima(a)fujitsu.com>;
'kexec(a)lists.fedoraproject.org'
> <kexec(a)lists.fedoraproject.org>
> Subject: RE: [PATCH] Add --force option to step 2 in early-kdump-howto.txt
>
> > -----Original Message-----
> > Hello,
> >
> > 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 | 5 ++---
> > 1 file changed, 2 insertions(+), 3 deletions(-)
> >
> > diff --git a/early-kdump-howto.txt b/early-kdump-howto.txt
> > index b8cab6a..5f592c1 100644
> > --- a/early-kdump-howto.txt
> > +++ b/early-kdump-howto.txt
> > @@ -34,14 +34,13 @@ 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
> >
> > 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.
>
> Hi,
>
If we remove this, how about explicitly adding a backup process
before
rebuilding initramfs for safety's sake? I think there will also be times
when we want to put it back completely.
> (It may be good to have such a procedure as well.)
>
> Thanks,
> Kazu
>
> >
> > [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
> >
> > Best Regards,
> > Shigeki Morishima
> >
> > ----------------------------------------------------------------------
> > 森島 茂貴(Morishima Shigeki)
> > 富士通ミッションクリティカルソフトウェア株式会社(MCS)
> > MC サービスソリューション統括部)ネットワークチーム
> > E-mail: s.morishima(a)fujitsu.com
> > Tel: 055-924-7280 (内線: 7260540352)
> > ----------------------------------------------------------------------
> > _______________________________________________
> > 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