我试图在Ubuntu VMconfiguration内核转储参考下面的链接。 https://wiki.ubuntu.com/Kernel/CrashdumpRecipe当我尝试加载kdump-config的时候出现错误。
root @ iscsitest12:〜#kdump-config加载
根@ iscsitest12:〜#
我手动添加下面的configuration文件中的条目。 root @ iscsitest12:〜#grep -i crash /boot/grub/menu.lst
crashkernel = 384M-2G:64M,2G-:128M
根@ iscsitest12:〜#
root @ iscsitest12:〜#grep -i crash /etc/default/grub.d/kexec-tools.cfg GRUB_CMDLINE_LINUX_DEFAULT =“$ GRUB_CMDLINE_LINUX_DEFAULT crashkernel = 384M-:128M”crashkernel = 384M-2G:64M,2G-:128M root @ iscsitest12:〜#
在执行update-grub之后,条目从menu.lst中消失。
root @ iscsitest12:〜#grep -i crash /boot/grub/menu.lst
root @ iscsitest12:〜#grep -i crash /etc/default/grub.d/kexec-tools.cfg
GRUB_CMDLINE_LINUX_DEFAULT =“$ GRUB_CMDLINE_LINUX_DEFAULT crashkernel = 384M-:128M”crashkernel = 384M-2G:64M,2G-:128M
root @ iscsitest12:〜#kdump-config加载
根@ iscsitest12:〜#
如何纠正这一点。 OS是Ubuntu-14.04,arch-64位