Displaying 3 results from an estimated 3 matches for "kdump_bootdir".
2019 Mar 28
2
How to specify kernel version when restart kdump
...use on test system before.
1) In CentOS 6 we have the classical SysV service
file: /etc/rc.d/init.d/kdump
Supposing you have just installed 2.6.32-642.13.1.el6.x86_64 kernel
Analyzing what it runs we have
DUMP_KERNELVER=""
MKDUMPRD_ARGS=""
. /etc/sysconfig/kdump
In my case:
KDUMP_BOOTDIR="/boot"
local running_kernel=`uname -r`
kdump_kver=`echo $running_kernel | sed 's/smp//g'`
MKDUMPRD="/sbin/mkdumprd -d -f $MKDUMPRD_ARGS"
kdump_initrd="${KDUMP_BOOTDIR}/initrd-${kdump_kver}kdump.img"
and at the end it runs this command if it doesn't find...
2019 Mar 27
2
How to specify kernel version when restart kdump
What do you mean? Wouldn't the kernel version always be the actual
running version of the kernel that was booted?
Ben
On 3/26/19 6:16 PM, wuzhouhui wrote:
>> -----Original Messages-----
>> From: "Benjamin Hauger" <hauger at noao.edu>
>> Sent Time: 2019-03-27 00:15:21 (Wednesday)
>> To: centos at centos.org
>> Cc:
>> Subject: Re: [CentOS]
2009 Jun 25
0
[PATCH node-image] kdump support
...9 100644
--- a/ovirt-node-image.ks
+++ b/ovirt-node-image.ks
@@ -30,6 +30,14 @@ mkdir -p /config
mkdir -p /data
mkdir -p /liveos
echo "/dev/HostVG/Config /config ext3 defaults,noauto 0 0" >> /etc/fstab
+
+# kdump configuration
+augtool <<\EOF
+set /files/etc/sysconfig/kdump/KDUMP_BOOTDIR /boot-kdump
+save
+EOF
+mkdir -p /boot-kdump
+
%end
%post
@@ -63,7 +71,7 @@ sed -i -e 's/ quiet//' $LIVE_ROOT/isolinux/isolinux.cfg
awk '
BEGIN {
# append additional default boot parameters
- add_boot_params="check"
+ add_boot_params="check crashkernel=128M at...