Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Kernel Update Problem/question
Robert83
post Feb 18 2004, 11:05 AM
Post #1


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



I've downloaded the kernel source with apt-get , and after that it installed it[?]. But I'm not sure
Since I've downloaded kernel 2.4.20-9 , but when I enter uname -r it reports 2.4.20-8.

After I download kernel source with apt-get , is there something to do after that? [it seem's to me that it's not installed automaticly, or something]


Sincerely
Robert B


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post
hughesjr
post Feb 18 2004, 12:46 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



I normally don't use apt-get to do the kernel ... although you can. I do use apt-get to get the kernel source...

(the kernel rpm is the actual compiled kernel ... the kernel-source is the source code so you can compile your own kernel ... (required as well if you need to compile any stand alone kernel drivers, like NVIDIA/ATI video or sound card or wireless device drivers).

To install the latest kernel-source with apt on RedHat 9.0, first issue the command:

apt-get install kernel-source

the output will look something like this:

CODE
[root@localhost root]# apt-get install kernel-source
Reading Package Lists... Done
Building Dependency Tree... Done
Package kernel-source is a virtual package provided by:
 kernel-source#2.4.20-30.9 2.4.20-30.9
 kernel-source#2.4.20-30.9 2.4.20-30.9
 kernel-source#2.4.20-28.9 2.4.20-28.9
 kernel-source#2.4.20-28.9 2.4.20-28.9
 kernel-source#2.4.20-8 2.4.20-8
 kernel-source#2.4.20-8 2.4.20-8
You should explicitly select one to install.
E: Package kernel-source has no installation candidate


Now, to get the latest kernel-source toye this command:

apt-get install kernel-source#2.4.20-30.9

and it will install

you can do the same for the kernel ... but instead, I download it myself manually and install it (just to make sure I get the right arch (i686, i386, althon, etc.) go here (this is redhat 9 updates) and go into your arch type (for me i686 ... that is all Pentiums and AMD durons > pentium pro/II ... althon would be for AMD althon .. i586 is for pentium, Cyrix ... i386 is for 80386/80486 processors) ... and download the kernel ... then install via:

rpm -Uvh kernel-2.4.20-30.9.i686.rpm
------------------------------
You could do the kernel via apt-get like this:
CODE
[root@localhost root]# apt-get install kernel
Reading Package Lists... Done
Building Dependency Tree... Done
Package kernel is a virtual package provided by:
 kernel-smp#2.4.20-30.9 2.4.20-30.9
 kernel-smp#2.4.20-28.9 2.4.20-28.9
 kernel-bigmem#2.4.20-30.9 2.4.20-30.9
 kernel-bigmem#2.4.20-28.9 2.4.20-28.9
 kernel-BOOT#2.4.20-30.9 2.4.20-30.9
 kernel-BOOT#2.4.20-28.9 2.4.20-28.9
 kernel#2.4.20-30.9 2.4.20-30.9
 kernel#2.4.20-30.9 2.4.20-30.9
 kernel#2.4.20-30.9 2.4.20-30.9
 kernel#2.4.20-28.9 2.4.20-28.9
 kernel#2.4.20-28.9 2.4.20-28.9
 kernel#2.4.20-28.9 2.4.20-28.9
 kernel-smp#2.4.20-8 2.4.20-8
 kernel-bigmem#2.4.20-8 2.4.20-8
 kernel-BOOT#2.4.20-8 2.4.20-8
 kernel#2.4.20-8 2.4.20-8
 kernel#2.4.20-8 2.4.20-8
 kernel#2.4.20-8 2.4.20-8
You should explicitly select one to install.
E: Package kernel has no installation candidate

The one you want for a single processor that doesn't have hyperthreading is kernel#2.4.20-30.9

So you could issue the command:

apt-get install kernel#2.4.20-30.9

I've never had a problem that way, but with the kernel, I still like to download it and do it by hand...

Check your /etc/boot/grub/menu.lst to make sure your new kernel is listed and reboot with the new kernel.

After a couple days when you are satisfied with the new kernel ... you can do the command:

rpm -qa | grep kernel

to see all the kernel and kernel-soucres installed and use the command:

rpm -e kernel-2.4.20-28.9 kernel-source2.4.20-28.9

(you substitute the kernel versions you want to remove ... I removed the above kernel and source from my install after doing the 2.4.20-30.9 install)


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 13th December 2017 - 02:13 AM