Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
You download the new kernel and untar it. Put it in you /usr and the run "make xconfig"(the easy way, you could also "make config" or "make menuconfig", but it isnt as easy for gui liking people.)
The you "make && make modules_install". That will create most of what you need. Then you copy your new bzImage over to /boot and remap you lilo or grub.
As for sites with long details, there are plenty around, and plenty of walkthroughs around here too. If you want details you just have to look for kernel installation and you should find plenty of guides.
Maybe that's easy for someone who has done it several times before, but taking the time to search and find out what kernel modules you do and do not need is not easy for a newbie.
marcusshirley, it may also work for you to just apt-get install linux-image-2.6.whatever.architecture.youre.on
You may want to do some apt-cache searching if apt can't find it, and if you can't find it between the search results, you may want to add some extra sources to your sources.list.
If you don't know what the heck I'm talking about, try google: "apt-cache search" and "sources.list +kernel" or something. Good luck.
When I installed Debian Sarge, just a couple of months ago, it put a 2.4 kernel and a 2.6 kernel on the system. It also set up GRUB so that I could choose between them. I've been using the 2.6 kernel since I installed Debian. Look on your system. You probably already have it. I don't remember if I had to make any particular selections in the Debian installation to include the 2.6 kernel. Maybe it is available as an apt package, or maybe if you reinstall Debian over the net it will offer you the chance to install both the 2.4 and 2.6 kernels.
Anyway, all I remember is that I had both kernels available when the installation was finished.
Last edited by stress_junkie; 02-07-2006 at 12:44 PM.
I disagree about ease of module finding. All you need is basic hardware information about your computer, and from there it is not a difficult process. So long as you are knowledgable about your own compter, you are fine. If all you know is "its a dell", sure kernel compiling could suck. But using apt or another method to get kernel installe for you can work pretty well. But it will certianly not optimize your kernel for you. In SuSE, you have the option of using YAST fora generic kernel, but honestly a fresh kernel from kernel.org always out performs the precompiled ones noticably. Though it is certainly not as easy to install.
Thanks for all the advice. I have found that I do not have 2.6.xx available on my system so I will have to download it. I built the machine I am using so I have a good idea of the specs and versions for configuration.
I will download the kernel at work tomorrow. Is there an HTTP link I can download the latest version from? If not, what is the easiest way of downloading?
All advice is very much appreciated - I'm on a steep learning curve!
After you are done, you probably should remove the unstable line from /etc/apt/sources.list and re-run apt-get update. Otherwise, the next time you upgrade, it will try to upgrade all packages you have to the latest unstable versions.
Thanks for the link. I will download it tomorrow. I am having problems installing the drivers for my Intel dialup modem - apparently due to not having 2.6.xx so my linux machine is currently an 'offline' machine.
Is 2.6.xx an 'unstable' kernel? I have 3 pieces of driver software that don't seem to run under 2.4 (Intel 536EP modem, BTTV [BT 878] video capture device, zoneminder webcam software for trust 120 spacecam).
It seems odd that these fairly basic drivers require resorces from an unstable kernel. Am I doing something wrong? Should I download older versions of the drivers?
I have just been on the link for the 2.6 kernel. There seem to be two versions for the 686. There's the normal one and the 'SMP' one. What does SMP mean? I have a P4 with HyperThreading. Do I need the SMP version?
Ta, Marcus
Last edited by marcusshirley; 02-07-2006 at 03:24 PM.
The 2.6.15 kernel is stable, it is "unstable" according to Debian, because it hasn't made its way to the "stable" release. If you go to www.kernel.org, you will see that the 2.6.15 kernel is a stable release.
The "SMP" version is for systems with multiple processors. You don't want that. The 686 version is for Pentium 4. If you download the *.deb file of the kernel, you can transfer it to the offline linux pc and install it using dpkg (dpkg -i <kernel name>.deb)
SMP= Symmetric Multi Processing. You use it for hyperthreading, X2 processors, and dual processing systems. You can also get a vanilla kernel(vanilla as in untainted, no distro tampering) from www.kernel.org.
I agree, vanilla is better. Get the stock kernel for www.kernel.org and find a little basic install guide. But as I said if you know how to untar, and know your computer parts, it is a simple process.
untar
move untarred folder(or move tar and untar there)
make xconfig
select settings, modules, etc.
make && make modules_install
cp the bzImage over to /boot
change grub or lilo config file to read new kernel.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.