B12Org

Well-Known Member
Jul 15, 2003
692
1
168
Seattle Washington
cPanel Access Level
Root Administrator
Hey guys, I downloaded and installed the latest kernel for my 9.0 box. I then rebooted - rpm -qa | grep kernel Shows:

kernel-2.4.20-20.9
kernel-2.4.20-31.9

uname -r shows:
2.4.20-20.9

uname -a shows:
Linux server.hostname 2.4.20-20.9 #1 Mon Aug 18 11:45:58 EDT 2003 i686 i686 i386 GNU/Linux

Question is how do I get it to boot to the new kernal? I am not sure what boot loader I am using - I tried looking at /etc/grub.conf and it is empty. I tried looking at /etc/lilo.conf and it too was empty.

I tried searching these forums but didnt find too much to help since both the above files are empty - so I dont know which one the server uses.

Any help would be appreciated.
 

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,980
156
368
SLC
cPanel Access Level
DataCenter Provider
If you wish to find out which bootloader is used, as root do:
dd if=/dev/hda bs=512 count=1 2>&1 | grep GRUB
or
dd if=/dev/hda bs=512 count=1 2>&1 | grep LILO

If it comes up with "Binary file (standard input) matches" then you have that bootloader installed
 

B12Org

Well-Known Member
Jul 15, 2003
692
1
168
Seattle Washington
cPanel Access Level
Root Administrator
hmm, the /etc/fstab file shows I have hda2 - If I sub hda2 in neither of the two commands you mentioned return anything. If I leave it the way you had it - grub returns a match - but all the config files are completely empty. How could that be with 2 kernels installed?
 

B12Org

Well-Known Member
Jul 15, 2003
692
1
168
Seattle Washington
cPanel Access Level
Root Administrator
Thanks for the help so far - I check the files, but both of those files are empty - is there somewhere else it could be listed?