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
SYSTEMD-VOLATILE-ROOT.SERVICE(8)			   systemd-volatile-root.service			  SYSTEMD-VOLATILE-ROOT.SERVICE(8)

NAME
systemd-volatile-root.service, systemd-volatile-root - Make the root file system volatile SYNOPSIS
systemd-volatile-root.service /lib/systemd/systemd-volatile-root DESCRIPTION
systemd-volatile-root.service is a service that replaces the root directory with a volatile memory file system ("tmpfs"), mounting the original (non-volatile) /usr inside it read-only. This way, vendor data from /usr is available as usual, but all configuration data in /etc, all state data in /var and all other resources stored directly under the root directory are reset on boot and lost at shutdown, enabling fully stateless systems. This service is only enabled if full volatile mode is selected, for example by specifying "systemd.volatile=yes" on the kernel command line. This service runs only in the initial RAM disk ("initrd"), before the system transitions to the host's root directory. Note that this service is not used if "systemd.volatile=state" is used, as in that mode the root directory is non-volatile. SEE ALSO
systemd(1), systemd-fstab-generator(8), kernel-command-line(7) systemd 237 SYSTEMD-VOLATILE-ROOT.SERVICE(8)
All times are GMT -4. The time now is 01:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy