[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Setting Default GRUB Kernel for Boot

Posted on 2004-11-10
2
Medium Priority
?
379 Views
Last Modified: 2013-12-15
Hello,

I'm running an Intel based Redhat Linux server.

The server is located in a remote data center, so I don't have console access to view the grub options at bootup.

I recently installed the latest Linux kernel, and it appears in the /boot/grub/menu.lst file. HOWEVER - the system is still booting to the old kernel.

Is there a way to CHANGE the default kernel, without actually removing the old kernel/s.

Thanks!
Eric
0
Comment
Question by:epaschal
2 Comments
 
LVL 38

Accepted Solution

by:
wesly_chen earned 1000 total points
ID: 12543043
Hi,

   Login as root, edit /boot/grub/menu.lst
------------------------------
default 0       <=== change to 0 if your new kernel show up below as the first title
timeout 10
splashimage=(hd0,5)/boot/grub/debian.xpm.gz

title=Linux 2.6.x-(new)    <==== assume new kernel is the "first title"
root (hd0,5)
kernel /boot/vmlinuz root=/dev/hda6

title=Linux 2.6.original
root (hd0,5)
kernel /boot/vmlinuz root=/dev/hda6
---------------
Save and reboot it. Then it should boot up with new kernel.

Wesly

Wesly
0
 

Author Comment

by:epaschal
ID: 12543193
Thanks again Wesly!
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month18 days, 6 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question