【发布时间】:2018-06-20 07:43:59
【问题描述】:
我正在测试基于 ubuntu 发行版 (ubuntu-14.04.1-desktop-amd64) 的 kdump 功能,发现通过以下步骤,/proc/cmdline 没有得到更新:
1:修改/etc/default/grub[1]
2: sudo update-grub
3:重启
重启后,cat /proc/cmdline[3] 没有我在 /etc/default/grub 中所做的更改,而 /boot/grub/grub.cfg[2] 中的启动 cmdline 确实显示了我所做的变了。
任何专家有一些想法?非常感谢
[1]在/etc/defaut/grub中手动修改
GRUB_CMDLINE_LINUX_DEFAULT="静默飞溅foo=bar crashkernel=256M"
[2]自动更新grub.cfg
/boot/vmlinuz-3.13.0-32-generic root=UUID=9e93b3d1-2859-473c-9c1f-204c2bb4e4f5 ro quiet splash foo=bar crashkernel=256M $vt_handoff
[3]cat /proc/cmdline
eric@eric-test-kdump:~$ cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-3.13.0-32-generic root=UUID=9e93b3d1-2859-473c-9c1f-204c2bb4e4f5 ro quiet splash vt.handoff=7
【问题讨论】:
-
发现与以下链接完全相同的问题,但尚未得到答复...askubuntu.com/questions/898640/…
-
可能是你错误地安装了grub-legacy,我看到了,今天apt install grub在debian 10中安装了它,我也遇到了类似的问题。