Sponsored Content
Full Discussion: Choosing Linux Kernel
Operating Systems Linux Choosing Linux Kernel Post 51887 by saabir on Friday 4th of June 2004 12:45:35 PM
Old 06-04-2004
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!
 

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

new linux on old kernel

is it possible to run REDHAT 7 (asplinux 7.2) on kernel 1.XXXX ? wil be FIRST_NEED programs work ? (0 Replies)
Discussion started by: MR.Z
0 Replies

2. UNIX for Dummies Questions & Answers

I need help choosing a linux.

There are soo many flavors of linux and i just cant choose/find the right linux for me... I am hopeing for a linux that is a Workhorse Can fit of a seires (or 1) disk(s) Lots of features (admin/mod features) A learning mode or a detailed tutorial Can work side by side with windows... (12 Replies)
Discussion started by: lithuaniaakid
12 Replies

3. UNIX for Dummies Questions & Answers

Help Choosing Unix/Linux for Project management

I'm in the process of really comitting to learning a Unix or Linux OS/distro really well for career opportunities and to use as my main desktop OS. I've been mulling through the choices and I'm having a hard time. Maybe someone can help me. I'm not a noob and I have some FreeBSD and Slackware /... (1 Reply)
Discussion started by: lobill
1 Replies
ADDPART(8)                                                     System Administration                                                    ADDPART(8)

NAME
addpart - tell the kernel about the existence of a partition SYNOPSIS
addpart device partition start length DESCRIPTION
addpart tells the Linux kernel about the existence of the specified partition. The command is a simple wrapper around the "add partition" ioctl. This command doesn't manipulate partitions on a block device. PARAMETERS
device The disk device. partition The partition number. start The beginning of the partition (in 512-byte sectors). length The length of the partition (in 512-byte sectors). SEE ALSO
delpart(8), fdisk(8), parted(8), partprobe(8), partx(8) AVAILABILITY
The addpart command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/. util-linux January 2015 ADDPART(8)
All times are GMT -4. The time now is 09:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy