06-04-2004
65,
1
Join Date: Sep 2002
Last Activity: 5 July 2006, 10:23 AM EDT
Location: UK
Posts: 65
Thanks Given: 0
Thanked 1 Time in 1 Post
Choosing Linux Kernel
Hi All
I recently upgraded my Mandrake 9.1 box to Mandrake 10.0 and the 2.6 kernel. However when I execute uname -a I still get a 2.4 kernel:
Linux hostname 2.4.21-0.13mdk #1 Fri Mar 14 15:08:06 EST 2003 i686 unknown unknown GNU/Linux
I assume this means I am still booting into a 2.4 kernel? In my /boot directory I have the following:
total 5492
-rw-r--r-- 1 root root 512 Oct 24 2003 boot.0300
lrwxrwxrwx 1 root root 21 May 17 06:33 config -> config-2.4.21-0.13mdk
-rw-r--r-- 1 root root 47295 Mar 14 2003 config-2.4.21-0.13mdk
-rw-r--r-- 1 root root 54068 Mar 2 06:27 config-2.6.3-4mdk
-rw-r--r-- 1 root root 5032 Feb 19 17:03 diag1.img
-rw-r--r-- 1 root root 16796 Feb 19 17:03 diag2.img
drwxr-xr-x 2 root root 4096 Apr 21 16:41 grub/
-rw-r--r-- 1 root root 110657 Oct 24 2003 initrd-2.4.21-0.13mdk.img
-rw-r--r-- 1 root root 137415 Apr 21 17:32 initrd-2.6.3-4mdk.img
lrwxrwxrwx 1 root root 21 Apr 21 17:32 initrd-2.6.img -> initrd-2.6.3-4mdk.img
lrwxrwxrwx 1 root root 25 Apr 21 17:32 initrd.img -> initrd-2.4.21-0.13mdk.img
lrwxrwxrwx 1 root root 29 May 17 06:34 kernel.h -> /boot/kernel.h-2.4.21-0.13mdk
-rw-r--r-- 1 root root 537 Apr 21 17:35 kernel.h-2.4.21-0.13mdk
-rw------- 1 root root 556032 Apr 21 17:32 map
lrwxrwxrwx 1 root root 15 Apr 21 17:32 message -> message-graphic
-rw-r--r-- 1 root root 442273 Apr 21 17:32 message-graphic
-rw-r--r-- 1 root root 116 Apr 21 17:32 message-text
lrwxrwxrwx 1 root root 25 Oct 24 2003 System.map -> System.map-2.4.21-0.13mdk
-rw-r--r-- 1 root root 582935 Mar 14 2003 System.map-2.4.21-0.13mdk
-rw-r--r-- 1 root root 898362 Mar 2 06:27 System.map-2.6.3-4mdk
-rw-r--r-- 1 root root 256 Oct 24 2003 us-latin1.klt
lrwxrwxrwx 1 root root 22 Apr 21 17:32 vmlinuz -> vmlinuz-2.4.21-0.13mdk
-rw-r--r-- 1 root root 1252778 Mar 14 2003 vmlinuz-2.4.21-0.13mdk
lrwxrwxrwx 1 root root 18 Apr 21 17:31 vmlinuz-2.6 -> vmlinuz-2.6.3-4mdk
-rw-r--r-- 1 root root 1437568 Mar 2 06:27 vmlinuz-2.6.3-4mdk
./grub:
total 240
-rw-r--r-- 1 root root 11008 Jan 7 11:19 e2fs_stage1_5
-rw-r--r-- 1 root root 10000 Jan 7 11:19 fat_stage1_5
-rw-r--r-- 1 root root 9024 Jan 7 11:19 ffs_stage1_5
-rw-r--r-- 1 root root 11200 Jan 7 11:19 jfs_stage1_5
-rw-r--r-- 1 root root 9440 Jan 7 11:19 minix_stage1_5
-rw-r--r-- 1 root root 12832 Jan 7 11:19 reiserfs_stage1_5
-rw-r--r-- 1 root root 512 Jan 7 11:19 stage1
-rw-r--r-- 1 root root 130029 Jan 7 11:19 stage2
-rw-r--r-- 1 root root 8672 Jan 7 11:19 vstafs_stage1_5
-rw-r--r-- 1 root root 12744 Jan 7 11:19 xfs_stage1_5
There appears to be a 2.6 kernel in this directory - so how do I tell Linux to boot from it, and is that a wise thing to do?
Do I change the symbolic link 'config' to point at the 2.6 config file?
Thanks for any help!