Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Knoppix Help Forum > changing kernel help

Forgot Password?
 Knoppix Help Forum   For all discussions about Knoppix, the Linux "Live CD" that lets you run Linux without needing to install on your hard drive.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 02-05-2005   #1 (permalink)
Just Joined!
 
Join Date: Sep 2004
Location: Birmingham
Posts: 70
changing kernel help

Hi all.

I have kernel 2.4.22-xfs and i want to update it kernel 2.6.version.

Which 2.6 kernel will work best/most securest for knopix and where can i download it. Also when i download it what will i need to do to compile it? Thanks a bunch
blue_wolf is offline  


Reply With Quote
Old 02-05-2005   #2 (permalink)
Linux Newbie
 
zdawg's Avatar
 
Join Date: Jan 2004
Location: Canada
Posts: 218
http://kernel.org will get you the source as well as info on the Linux kernel. Alternatively if you are running Knoppix =/>3.6 you should already have a 2.6 kernel. (knoppix26/linux26)
__________________
Me & Myself just ganged up on I....... Now We all have problems..and none of Us are speaking!
bash-3.00$ uname -a
SunOS sparky 5.11 OpenSolaris-swa sun4u sparc SUNW,Ultra-Enterprise
zdawg is offline   Reply With Quote
Old 02-06-2005   #3 (permalink)
Just Joined!
 
Join Date: Sep 2004
Location: Birmingham
Posts: 70
Ok i have downloaded then new 2.6.10 kernel from kernel.org, i've done a bit of background reading into this but id appreciate it if you'd just confirm im doing things correctly.

First of all i will extract the new kernel in the /usr/src directory

i will then cd into the new linux-2.6.10 directory
i will then do the following

make xconfig (or maybe make oldconfig depending if i can find my old .config file)
make dep
make bzImage
make modules
make modules_install

then i'll copy the new image file from /arch/i386/boot/bzImage to /boot
and also copy the System.map file to /boot

Once i've done that i'll then edit my grub.conf file to boot the new kernel image instead of the old image.

1. Does this look correct up to here?
2. How do i remove my old kernel?
3. will grub require a new /boot/initrd.gz file to boot or can i use my old one?

Thanks for any help
blue_wolf is offline   Reply With Quote
Old 02-24-2005   #4 (permalink)
Just Joined!
 
Join Date: Dec 2004
Location: Worcester EN UK
Posts: 31
Send a message via MSN to utisoft
Dated!

The new 2.6 kernel series doesn't use make dep, and there are easier ways of doing it. Briefly
Code:
# cd /usr/src
# tar xvfj linux-2.6.10.tar.bz2
# cd linux-2.6.10
# make mrproper
# make menuconfig
# make
# make modules modules_install install
Check out the README file in the tarball.
utisoft is offline   Reply With Quote
Old 02-24-2005   #5 (permalink)
Linux Engineer
 
Join Date: Nov 2004
Location: Ft. Polk, LA
Posts: 794
Actually utisoft most of your last step is unneeded. You can use just 'make modules_install'. The modules are built in the 'make' step. The 'make install' is only used with Lilo, and if you do that you should edit the makefile to ensure it suits your lilo install, but it's better to just install by it hand. Also, updating from 2.4 to 2.6 you will need the new module tools, which you can find from here.
valan is offline   Reply With Quote
Old 02-25-2005   #6 (permalink)
Just Joined!
 
Join Date: Feb 2005
Posts: 40
I would just run 3.6 or 3.7. I rather like cluster 3.6 but there is not an openmossix kernel for 2.6 yet so well at boot of 3.6 type linux26 and there you go. As for security well... if you are running off of a cd or even better str8 out of ram. What is going to happen? Knoppix is built in security in that the worst thing that you would have to do is hit the reset button.
--Jeff--
jtkleeme is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 03:57 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2