Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-29-2013, 03:09 PM   #1
Registered: Dec 2013
Posts: 112

Rep: Reputation: Disabled
Saving grub.conf file

1. How can I save existing grub.conf file and install newest kernel/patch update in my redhat server
2. How to observe the changes on grub.conf file
3. How to chose old kernel.

Thanks in advance.
Old 12-29-2013, 03:16 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
1. Make a copy of it someplace else before running an update. Generally, one uses yum to update software (including the kernel) on a Red Hat system.
2. Run a diff between the old and new copy of the grub.conf file.
3. Select it from the GRUB bootloader menu. Note that yum purges old kernels (keeping just the most recent and second most recent, so these are the only choices you will have). You can also modify the default entry in the grub.conf.

Note that Red Hat provides extensive documentation for their OSes; you probably want to read it.
Old 12-30-2013, 12:39 AM   #3
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,411

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Actually, the limit is controlled by
in /etc/yum.conf.

Generally you would just set that to the reqd num and probably not bother backing up grub.conf in this case, unless you were going to manually edit it.

Of course you should backup your whole system regularly anyway.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
saving changes to xorg.conf file; resetting after logoff linuxandtsm Linux - Newbie 1 06-06-2012 08:15 PM
GRUB menu.lst/grub.conf file with multiple partitions dasy2k1 Linux - General 1 04-19-2007 09:42 AM
Is lilo.conf file format is same for grub.conf? Chundo Linux - Newbie 1 01-30-2006 07:21 PM
grub bootloader : saving a new configuration file? lynnsbomb Mandriva 3 02-03-2004 05:10 PM
saving changes to apache2/conf/httpd.conf file Zaius Linux - Newbie 6 01-10-2004 12:45 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:46 AM.

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