LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   kdump (https://www.linuxquestions.org/questions/linux-general-1/kdump-4175452980/)

hnasr2001 03-06-2013 10:05 AM

kdump
 
Is there a way to allocate memory to kdump without using system-config-kdump. I like to do it from command line only, then I can incorporate into my kickstart.

rayfordj 03-07-2013 05:17 PM

Pass the parameter to the bootloader option in your ks file.

(RHEL5)
Code:

bootloader --append="crashkernel=128M@16M" --location=mbr
(RHEL6)
Code:

bootloader --append="crashkernel=128M" --location=mbr
Then enable the service and configure kdump.conf in %post to use the correct partition to write vmcore.


Have a look at Chapter 26. The kdump Crash Recovery Service too as it might be helpful. Specifically, 26.2.3. Configuring kdump on the Command Line should give you some guidance on what's required to configure it on a system from the command-line that you can then further incorporate into kickstart, as needed. How do I troubleshoot kernel crashes, hangs, or reboots with kdump on Red Hat Enterprise Linux? is another good reference.


All times are GMT -5. The time now is 10:27 PM.