update kerneland boot!

Hello,
I update kernel of linux when i reboot is default stand for old kernel to boot how can i set as linux default after startup high light the new kernel and allways boot onnew one
LVL 1
Aida2Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

pjedmondCommented:
Not sure I quite understand the question, but this link is one of the best relating to rebuilding kernels!:

http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html

paullamhkgCommented:
if you using lilo as your boot loader modify the /etc/lilo.conf, eg.

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=linux

image=/boot/vmlinuz-old version
        label=linux-oldversion
        read-only
        root=/dev/hda1

image=/boot/vmlinuz-newversion
        label=linux
        read-only
        root=/dev/hda1

if grub, modify the /boot/grub/grub.conf eg

default=1
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
password --md5 $1$O7qJzCct$350zL7QJWbbXcmlscs8nZ0
title Linux oldverison
        root (hd0,2)
        kernel /vmlinuz-2.6.xxx ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.xxx.img
title Linux newversion
        root (hd0,2)
        kernel /vmlinuz-2.6.newxxx ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.newxxx.img

hope this is what you looking for ;)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
paullamhkgCommented:
forgot to remind you back up the lilo.conf or the grub.conf before modify
evangineerXCommented:
I did the same thing today on a Debian box.  I rebooted with the new kernel and then used the package manager (aptitude in this case) to remove the old kernel.  Grub was automatically updated.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.