LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-06-2013, 10:05 AM   #1
hnasr2001
LQ Newbie
 
Registered: Nov 2012
Posts: 16
Blog Entries: 1

Rep: Reputation: Disabled
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.
 
Old 03-07-2013, 05:17 PM   #2
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 475

Rep: Reputation: 73
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with kdump jackiebaron Linux - General 2 09-14-2012 04:47 AM
Any kdump experts out there? jackiebaron Linux - General 4 08-03-2012 07:35 AM
Clueless about Kdump jackiebaron Linux - Software 2 08-03-2012 06:19 AM
Kdump not actually dumping anything MikeyCarter Linux - Software 0 03-07-2011 11:20 AM
Problems using kdump zman2245 Linux - Software 0 05-18-2010 01:26 PM


All times are GMT -5. The time now is 06:57 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration