PDA

View Full Version : Two kernel.



RajuTiwari
21st May 2007, 07:38 AM
Hi guys,i've update my system through yum .Then i reboot my system i saw two kernel.Iwant to remove one kernel line from grub.cong.Can i remove old kernel line.My grub.conf details:-

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,4)
# kernel /boot/vmlinuz-version ro root=/dev/sda5
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=0
splashimage=(hd0,4)/boot/grub/image.xpm.gz
hiddenmenu
title Fedora Core (2.6.20-1.2948.fc6)
root (hd0,4)
kernel /boot/vmlinuz-2.6.20-1.2948.fc6 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.20-1.2948.fc6.img
title Fedora Core (2.6.18-1.2798.fc6)
root (hd0,4)
kernel /boot/vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/1 rhgb quiet
initrd /boot/initrd-2.6.18-1.2798.fc6.img
title Other
rootnoverify (hd0,1)
chainloader +1

can i do,its not a dangerous?
ThanX in Advance

glennzo
21st May 2007, 10:05 AM
You can remove the second stanza. It won't effect your system at all. I would wait until I was sure that there are no problems with the new kernel before I deleted the old one.

RajuTiwari
21st May 2007, 11:00 AM
yes i did.no problem .ThanX 4 help bro

bob
21st May 2007, 01:06 PM
Raju, by default Fedora 6 will keep the newest kernel and the next-newest kernel and delete the rest automatically. As Glennzo mentioned, that's to give you access to Fedora in case a kernel gives you problems. Since kernels don't take up very much space, I would leave things alone unless it really bothers you. I've had a couple of times when that extra kernel was very important.

RajuTiwari
21st May 2007, 02:06 PM
originally posted by wrote
Raju, by default Fedora 6 will keep the newest kernel and the next-newest kernel and delete the rest automatically. As Glennzo mentioned, that's to give you access to Fedora in case a kernel gives you problems. Since kernels don't take up very much space, I would leave things alone unless it really bothers you. I've had a couple of times when that extra kernel was very important.
yes u r right my bro.i'll do it as u r saying.ThanX bob 4 guide to me. :D