Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a question about kernel updates.
I have some new hardware that I want to install on my server.
It's a MSI Mainboard and a AMD Athlon 600 CPU.
A friend told me that it would be wise to to a kernel update after a clean install of Debian.
Can someone tell me what kernel I have to use or where I can find the correct kernel for my CPU and Mainboard?
Well, the only kernel is at www.kernel.org There are variations of it, different releases and such, it's probably best to use the latest STABLE version, which is currently 2.4.21 the download is about 28MB.
Distribution: Lots of distros in the past, now Linux Mint
Posts: 748
Rep:
with debian, use dselect and update your package list. Then, search through dselect until you find a newer kernel, and install it. (Use 'uname -a' at the command line to find your current kernel version.) You should be root to do this, of course.
On the other hand, if you're new to Linux, or new to debian, and your system seems to run okay, updating your kernel right away may not be something you HAVE to do right away. Get used to the system, get comfortable with using dselect, apt-get, or another package manager (I like aptitude, but it's all a preference thing) first, then tackle the kernel update.
That's one of the nice things about debian, you don't have to hunt for programs, apt does it for you. For more information on apt, type 'man apt-get', or 'man dselect' at the command line. (dselect and aptitude are menu driven versions of apt)
Basically there is one kernel like MasterC said. Your friend probably means to recompile the kernel specific for your cpu. You can compile it special for a athlon. Should make it slightly quicker also. There are also various patches available to add features to the kernel.
As you are on a Debian machine, you should be doing things the one true Debian way!
# apt-get install kernel-source-2.4.21
# cd /usr/src
# tar xjvf kernel-source-2.4.21.tar.bz2
# cd kernel-source-2.4.21
# make menuconfig
# make clean
# make dep
# make-kpkg clean
# make-kpkg --revision=${HOST}.1.0 build
# make -f debian/rules kernel-image-deb
# make-kpkg modules_image
# cd /usr/src
# dpkg -i kernel-image-2.4.21_*.deb
When you do make menuconfig you have to choose athlon. Say 20 people all have different computers, but they all want to run the latest vanilla kernel (stock). They all would get the same file as MasterC showed. Now, when they all do make menuconfig everyone would choose different options. You will see as soon as you go into the kernel options.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.