Over the past few days, several readers have told us that they have stumbled upon the Linux 2.4 kernel.
Minor Disclaimer: These are instructions for updating.Your inability to Red Hat 8.0 to pay for an installed kernel prior to the standard v2.4.20 kernel via the kernel source downloaded from www.kernel.org.OfMost of the steps apply to other withdrawals as well, so your miles maydiffer. You can find more information on Linux at http://www.kernel.org/Basic.
Pros: Significantly improved performance when using VMware and Wine (X).
Let’s get started: first make sure you need the correct kernel.Development packages are installed by clicking on the systemSettings> Packages in your menu. You must have developmentThe Kernel and Development Tools checkbox is checked (if not, check them).Then open a terminal, compile and install the 2.4.20 kernel via:
Enter root password
# cd / usr / src
# wget http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.20.tar.bz2
# tar -xvjf linux-2.4.20.tar.bz2
# rm -f linux-2.4 linux
# ln -s linux-2.4.20 linux-2.4
# ln -s linux-2.4 linux
# clubpinguin /boot/config-2.4.18-14 .config
# do xconfig NOTE. This goal may or may not be dependent on your processor. I was not always able to compile 2.4.19 or 2.4.20 kernels on my AMD Athlon 1600+ experience with 53c710 SCSI support enabled. However onMy AMD 450 k6-2 compiles better with this option. If you want to make sure you’re trying to compile without disabling this selection, just click Save and Exit. But ifIf you have an Athlon, you can do the following:
Click SCSI Support, then SCSI Low Level Driver and set Simple SCSI 53c710 Support to n. Click OK, Main Menu, click Save & Exit, then click OK.
Now build and install:
# render dep
# Make it clean
# Creating modules
# make modules_install
# make install
When everything is actually built, the “make install” command will be installed.Your kernel is in / boot and automatically adds an entry at compile time to boot GRUB (or LILO)(You now have two kernel entries in your GRUB menu, the new projectedoh so that it is NOTbe the norm. Select it from that GRUB boot menu, and if it’s your shoes and yoursThe system is working fine, can you install it with a standard kernel in your GRUB?config later (default = x depending on which kernel you are getting the new kernel from)is an)).
Alternative installation method: Instead of running make install, your company can run make rpm, which builds a kernel RPM. If your family has installed the “rpm-build” package and you may need to modify the kernel makefile if you plan to do so for Red Hat 8.0, as they directly changed the command name to build the RPM. Edit / usr / src / linux / Makefile and notice the line in the rpm: section that starts with rpm -ta. Replace the specific “rpm -ta” with “rpmbuild -ta”. If you are currently running “make rpm”, you will need to start the entire build process over and rebuild the kernel RPM in “/ usr / src / redhat / RPMS /
The RPM installation method is good when you want to build a kernel on a machine and install it on it. Make sure that when you build a Thought, make sure you build it for buildings where You are planning to install it. If you are also installing, I suggest that your organization use “rpm -ivh kernel *” instead of comparing the number with “rpm -Uvh kernel *” so that your old kernel is not removed. You will need to edit your /boot/grub/menu.lst and develop an entry for the new kernel. For advice on writing to grub, you and your family can copy the partition from your new 2.4.18 kernel and duplicate 2.4.18, which will be 2.4.20 in the new partition. Do
Do not add the “initrd” line because this method does not create a new initrd. Consider this when you need to preload a driver. You also want to use the computer name of your root partition, or “root = LABEL = /”, for example, “root = / dev / hda1”. Color = “red”> NOTE.
NOTE 2. ThePreacher advised that these instructions also work for Mandrake 9.0. The only difference is replacing /boot/config-2.4.18-14 with /boot/config-2.4.19-16mdk in some ofthe instructions above. Thanks for the sermon! Have fun! Forum
NOTE 2. ThePreacher advised that these instructions also work for Mandrake 9.0. The only difference is replacing /boot/config-2.4.18-14 with /boot/config-2.4.19-16mdk in some ofthe instructions above. Thanks for the sermon!
DISCLAIMER: USE AT YOUR OWN RISK. EACH COMPUTER IS A DIFFERENT SYSTEM ANDWHAT WORKS FOR ME DOESN’T NEEDLY WORK FOR YOU. RELEVANT REQUIREMENTSREQUIRED (BASIC UNIX FEATURES). THE SOFTWARE MAY CHANGE SIGNIFICANTLY BETWEENEXECUTION. ALWAYS CAREFULLY READ AND READ ALL ACCESSORIESDOCUMENTATION.
Back to all instructions
Configure, Build, Install
Be extremely careful when playing with the shared core. Save allYour files and yours, provide a working bootable recovery disc and / or possibly a CD.Learn how to install an absolute kernel on a system that doesn’t matter.You were recently warned. Obviously, this is a very short guide; just use with itmore detailed guides like the Linux Kernel HOWTO
1. Download the latest kernel from kernel.org.
The kernel comes in 20 pieces, so you can get a 30MB tar.gz or tar.bz2 file. itwillunzip to about 200 and you will need MB when you compile laterextra space.
2. Adjust the settings.
In this core, you have to select all the functions that you will use when compiling inKernel (e.g. SCSI support, sound support, networking, etc.)
* There are several systems for customizing what you want to compile through the kernel;If you already have settings from an older kernel, copy the deprecated .configThe file is at the top level of the source and use
make oldconfig instead.using menuconfig. This oldconfig process will revert back to your much older settings and ask youYou if there are new features not covered by your previous .config file. This is the bestA way to “upgrade” your kernel, especially with relatively narrow version numbers.Another option is Xconfig
make if you are considering a graphical version of menuconfig when using X.
3. Create dependencies
After saving the above configuration (it is saved in this ".config"File), you need to create all dependencies for the selected you and configurations. this istakes about 5 different minutes on a 500 MHz system.
4. Make a core
You can now compile the original kernel. It may take about 15 minutes to completecompletely on a 500 MHz system.
5. Create modules.
Modules are parts of this kernel that are loaded on the fly because theynecessary. They are saved in separate files (eg ext3.o). ModulesThe more you have, the longer it will take you to compile:
6. Install modules
This copy will copy all modules to a new directory "/lib/modules/a.b.c".where a.b.c is the kernel version
* If we want to recompile ...
If you need time to reconfigure your kernel and recompile this method,also has to run some "make" commands that clean up intermediate files. Commentthis "mrproper" will delete your .config file. Complete tactics:
* Installing a bootable and developing kernel
For the rest of this discussion, I'll probably assume you have LILOinstalled in your personal boot sector. You are still shopping during this process.Functionality a bootable bootable recovery disc and backing up any files you havechange or change. A good tip is to name all new files with -a.b.c.(kernel version suffix) Ability to overwrite files with the same address, howeverthis will not appear in the following example. Most
On Linux systems, the main kernels are stored in the / boot directory.Copy the entire kernel to this location and give it a unique name.
There is also a special "System.map" file that needs to be cloned at the same location.Startup directory.
You can now tell LILO about your latest kernel. Edit"/etc/lilo.conf" according to your specific needs. Usually your new entry inthe .conf file looks like this:
Make sure the aspect ratio matches your new kernel. you keep itYour previous kernel is in a file; our own if new kernel won't startYou can always select the previous kernel from the lilo command line.
Tell lilo to read the changes and change the sector:
Read the output carefully so thatmake sure the kernel files are found.and these changes have been made. You can restart immediately.
Summary of key files created during kernel build: Haben Sie Probleme Beim Kompilieren Des Linux 2.4-Kernels?
Vous Rencontrez Des Difficultés Pour Compiler Le Noyau Linux 2.4 ?
Hai Problemi A Compilare Il Kernel Linux 2.4?
Heeft U Problemen Met Het Compileren Van De Linux 2.4-kernel?
Está Tendo Problemas Para Compilar O Kernel Do Linux 2.4?
Linux 2.4 커널을 컴파일하는 데 문제가 있습니까?
Har Du Problem Med Att Kompilera Linux 2.4 -kärnan?
Masz Problem Z Kompilacją Jądra Linux 2.4?
¿Tiene Problemas Para Compilar El Kernel De Linux 2.4?
Возникли проблемы с компиляцией ядра Linux 2.4?
Haben Sie Probleme Beim Kompilieren Des Linux 2.4-Kernels?