sles12中的grub文件更新失败

时间:2018-04-14 18:04:36

标签: azure linux-kernel grub sles

致力于在MICROSOFT-AZURE上托管的SLES12SP3 kdump配置。尝试启动kdump服务但grub文件没有使用/ etc / default / grub crashkernel = 384M中的崩溃内核参数进行更新。 ERROR:

Starting Load kdump kernel and initrd...
Memory for crashkernel is not reserved   
Please reserve memory by passing"crashkerne
Then try to loading kdump kernelkexec_file_
kdump.service: Main process exited, code=exite
Failed to start Load kdump kernel and initrd.
kdump.service: Unit entered failed state.
kdump.service: Failed with result 'exit-code'.

任何帮助都将受到赞赏并提前感谢。

1 个答案:

答案 0 :(得分:0)

最后我通过执行以下命令

更新了grub文件
#grub2-mkconfig -o /boot/grub2//grub.cfg

重新启动后,当我运行命令cat / proc / cmdline时,它显示崩溃内核参数,如下所示

  

earlyprintk = ttyS0 console = ttyS0 rootdelay = 300 net.ifnames = 0    crashkernel = 384M dis_ucode_ldr quiet