In this blog post, we will learn about some of the possible causes that could lead to compilation of the Linux 2.4 kernel, and then I will show you various ways to fix this problem.
#include sans-serif “stddisclaimer.h>
Minor Disclaimer: Instructions specifically designed to updateYour standard Red Hat 8.0 kernel contains the standard v2.4.20 kernel, which was originally derived from the kernel source downloaded from www.kernel.org.Most of the steps also apply to other distributions, so your mileage is possible.differ. You can find more information on Linux at http://www.kernel.org/Basic.
Pros: Better performance with VMware and Wine (X).
Let’s get started: first make sure you have the required kernels.Development packages are installed with a simple clickby systemSettings> Packages in your menu. You must have developmentKernel and Development Tools is checked (if not, make sure they are checked).Then open a terminal and download, install and install kernel 2.4.20 like this:
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
# cp /boot/config-2.4.18-14 .config
# do xconfig NOTE. Your processor may or may not need this. Not only have I been able to compile the exact 2.4.19 or 2.4.20 kernels on AMD that have Athlon XP 1600+ with 53c710 SCSI support enabled. However onmy amd k6-2 it 450 compiles fine as well as this option enabled. If you want to try compiling without disabling this approach, just click Save and Exit. ifBut if you have an Athlon, you can do the following:
Click SCSI Support, click SCSI Low Level Driver, then set Simple 53c710 SCSI Support to n. Click OK, click Main Menu, click the menu, moreClick Save, then click Finish, then click OK.
Compile and install now:
# do dep
# clear# Reason bzImage
# Creating modules
# make modules_install
If everything is created correctly, the command “make install” is usually installed.Your kernel is just in / boot and automatically adds an entry to the GRUB (or LILO) boot plan(You now have multiple kernel entries in your GRUB menu, the new one will NOTbe the remainder. Select it from the GRUB start menu, and if this is yourThe system is up and running fine, you can shrink it down to the standard kernel of your GRUBconfig later (default = x depending on your new kernel entryis an)).
Another installation method: instead of “make install”, you must run “make rpm”, which should be able to build kernel RPMs. You may need to install the rpm-build package, and you will need to modify this particular kernel makefile for it to work, which Red Hat 8.0 includes, as they expanded the command name to build your RPM. Edit / usr / src / linux / Makefile and find that particular line in the rpm: section if it starts with rpm -ta. Replace “rpm -ta” with “rpmbuild -ta”. Now, if you do a big “make it rpm”, you should start the whole build process over and get the kernel RPM in “/ usr / src / redhat / RPMS /
The RPM installation method is useful when you want to build a kernel on one machine and install it on another. Just make sure that when you create it, you conceptualize the correct architecture on which you plan to install it. I also suggest that you use “rpm -ivh as a replacement for kernel *” instead of “rpm -Uvh kernel *” when installing, as this will not remove the old kernel. You need to update your /boot/grub/menu.lst and create an article for the new kernel. A few tips for writing grub, someone might copy the section for the 2.4.18 kernel and change all 2.4.18 to 2.4.20 in the creative section.
do not copy
any type from the “initrd” line, because this method no longer creates a new initrd. Load the driver first. If you also choose “root = LABEL = /”, you will want to use the device name of your current partition, for example, “root = / dev / hda1”.
NOTE. If your company uses VMware or core or otheriver NVidia, all other 3rd Celebration kernel modules on the market will be rebuilt andinstalled after starting the whole new kernel.
NOTE 2: ThePreacher reported that these plans are suitable for Mandrake 9.0. The only difference would be filling in /boot/config-2.4.18-14 /boot/config-2.4.19-16mdk in the instructions. Thanks for the sermon!
DISCLAIMER: USE AT YOUR OWN RISK. EVERY COMPUTER SYSTEM IS DIFFERENT, WORKS ANDWHO MAY NOT 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 And Install
Be careful when playing with the kernel. Support everyoneYour trusted files and have a recovery disc or bootable CDabout. How to install the available kernel on the system does not matter.You have been warned. Obviously, this is a very short guide; only by relregarding a. usemore detailed instructions than the Linux Kernel HOWTO
1. Download the latest kernel from kernel.org.
The kernel is moved as a 20MB tar.gz or tar.bz2 file. This willunzip about 200 MB and you will also need this for subsequent compilationextra space.
2. Configure the settings.
In this core, you will probably select all kinds of functions you want to compile toKernel (e.g. SCSI support, audio service, networking, etc.)
* There are several strategies that you can customize how you want them to be created in the kernel;If you have very good config from old model kernel, copy old .configcheck the top level source code and use
make oldconfig insteadusing menuconfig. This oldconfig process takes its own previous options and requestsYou, if at this point the new features are not covered by your previous .config file. This is often the bestThe ability to “upgrade” your own kernel, especially with relatively similar numbers.Another option is to make
xconfig the version of menuconfig for rrafiki when using X.
3. Create dependencies
After saving the above configuration (it can be found in “.config”File) that you have regarding creating dependencies for your purchased configuration. this istakes about 5 minutes on a 500 MHz system.
4. Make this kernel
You are now ready to compile the real kernel. It may take about 15 minutes to completecompletely on a 500 MHz system.
5. Make modules
Modules are kernel factors that are installed on the fly, as they can benecessary. They are stored in individual credentials (eg ext3.o). ModulesThe more you have, the longer it will take to compile:
6. Install modules
All modules will be saved in the very last directory “/lib/modules/a.b.c”.where a.b.c – you see the kernel version
* If you want to recompile …
If you want to customize and recompile your kernel from scratch,should also issue female and male “make” commands that clean up intermediate files. Commentthis “mrproper” will remove your .config trace. Full percentess:
* Installation in addition to loading the kernel
For most of this discussion, I think you have LILOinstalled in the actual boot sector. During this process, you must considerBootable CD or DVD to restore and back up all the information you havechange or replace. A good way to avoid this is to start all new files with -a.b.c. to call(kernel version suffix) instead of overwriting the files associated with the name, howeverthis is not shown in the following example.
In most Linux development, kernels are stored in this / boot directory.Copy the new kernel to this location and give it a nice unique name.
There is also an image called “System.map” which needs to be duplicated on the sameStartup directory.
You are now ready to talk to LILO about your new Ultimate Core. Edit”/etc/lilo.conf” depending on your specific needs. Usually your new connection is atthe .conf file reads as follows:
Make sure the image points to match your new kernel. It is important thatyou stayedYour previous kernel is in a file; How to do it if one core fails to startYou can go ahead and select the old kernel from this Lilo prompt.
Tell Lilo to see change and change your shoe industry:
Read the output carefully so that the kernel files are found naturally.and changes have been made. You can now restart.
A summary of the key file types generated by building the kernel: Linux Kernel 2 4 Kompilieren
Compila Il Kernel Linux 2 4
Compiler Le Noyau Linux 2 4
Compileer Linux Kernel 2 4
리눅스 커널 2 4 컴파일
Compilar Kernel Linux 2 4
Skompiluj Jadro Linux 2 4
Compilar Linux Kernel 2 4
Kompilera Linux Karnan 2 4
Skompilirovat Yadro Linux 2 4
Linux Kernel 2 4 Kompilieren