Online is Debian Upgrade Nuclein - "from 2.2-20 to 2.4.20
Yesterday, I upgraded the kernel for Debian online, although it is a small dish for the old bird, but for new hands, it may be a bit used. Mainly the APT-GET INSTALL is upgraded. One. Add below /etc/apt/sources.list. #debian woodydeb ftp://ftp.jp.debian.org/debian unsteable main contrib. Run a series of commands. # APT-GET Update # apt-get install kernel-Image will come out a series of tips, let us choose which version to upgrade. Let's take a look at the following command, what is the version of the system? Note to see the places in my color. This proves that this machine is 686 CPU # uname -alinux linuxsir03 2.2.20-idEPCI # 1 Mon Jan 13 22:22:30 Est 2003 i686 Unknown Unknown GNU / Linux Run # Apt-Get Install kernel- After Image, how should we choose a kernel? ? # Apt-get install kernel-imageReading Package Lists ... DoneBuilding Dependency Tree ... DonePackage kernel-image is a virtual package provided by: kernel-image-2.4.20-k7-smp 2.4.20-5kernel-image-2.4 .20-k7 2.4.20-5 kernel-image-2.4.20-k6 2.4.20-5kernel-image-2.4.20-686-SMP 2.4.20-5kernel-image-2.4.20-686 2.4.20-5kernel -Image-2.4.20-586TSC 2.4.20-5kernel-image-2.4.20-386 2.4.20-5kernel-image-2.4.18-bf2.4 2.2.22-iDepci 2.2 .22-1kernel-image-2.2.22-compact 2.2.22-1kernel-image-2.2.22 2.2.20-7kernel-image-2.2.20- kernel-image-2.2.20- Reiserfs 2.2.20-4you surplend explicitly select one to install.e: package kernel-Image Has no installation Candidate We want to upgrade to version 2.4.20, I use Intel's C-333 CPU machine, so I choose 686. The situation is determined by the CPU you use. That is to see uname -a. So use the following command: # apt-get install kernel-image-2.4.20-686 This will automatically update the kernel. This is just the first step and is the simplest. what. . In fact, the following steps are the same simple. . In the process of upgrading, there are some tips, we have to look carefully. In addition to LILO, others are Yes. To LILO, it may be systematically asked: Is it guided using the old LILO formulation? If [Yes] is selected, it may come. This should be careful. If you boot to Lilo, there may be no problem, just change /etc/lilo.conf. This process is omitted because I don't have to use LILO. I mainly talk about GRUB. If you use GRUB to boot, you may be able to drive GRUB from MBR when you update the kernel. For GRUB. It may be done the next step, we have to install the GRUB. The method is here. .