LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-14-2004, 01:54 PM   #1
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Rep: Reputation: 30
installing kernel-source-2.4.26mdk


ok, i read the tutorial and i first dled the kernel-source-2.4.26mdk and put it on my desktop
then i went into root and on to the desktop, and typed:
rpm -ivh name-of-the-file
and so it starts installating the new kernel kernel-source-2.4.26mdk

after installation, the intruction told me to reboot and i should be able to see kernel-source-2.4.26mdk and select it, but i don't. what's wrong?
iam using mandrake 9.2 and lilo
 
Old 02-14-2004, 02:00 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
thats kinda silly that it says reboot to see it, but anyways, was it an *.rpm or an *.src.rpm and to check if it actually installed type :
rpm -qa |grep -i kernel-source
and where are you looking to see if its on your system ?
 
Old 02-14-2004, 03:13 PM   #3
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
Re: installing kernel-source-2.4.26mdk

Quote:
Originally posted by santasballz
ok, i read the tutorial and i first dled the kernel-source-2.4.26mdk and put it on my desktop
then i went into root and on to the desktop, and typed:
rpm -ivh name-of-the-file
and so it starts installating the new kernel kernel-source-2.4.26mdk

after installation, the intruction told me to reboot and i should be able to see kernel-source-2.4.26mdk and select it, but i don't. what's wrong?
iam using mandrake 9.2 and lilo
the file is kernel-source-2.4.22-26mdk.i586.rpm
so i guess its just .rpm

iam looking for see if i have it installed from the bootloader. like when my computer boots shouldn't i be able to select whether to use this new kernel or my old one? i am not sure
 
Old 02-14-2004, 07:33 PM   #4
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
i checked, it is installed
 
Old 02-15-2004, 12:13 PM   #5
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
any ideas?
 
Old 02-15-2004, 03:22 PM   #6
_KDF
Member
 
Registered: Oct 2003
Distribution: FC4/5 & RHEL4
Posts: 133

Rep: Reputation: 15
You may need to edit you lilo.conf file manually (if you were using a lilo boot loader for example) and enter the information to add the updated kernel as a boot option.
 
Old 02-15-2004, 03:38 PM   #7
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
I don't think the kernel-source rpm installs the kernel. It just installs the sources with headers and so on under /usr/src/linux... You have to compile and install the actual kernel if you want to use it.

You can use the kernel rpm but you should backup your /boot directory before doing so in case something goes wrong. Manually compiling and installing it is generally safer.
 
Old 02-15-2004, 05:03 PM   #8
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
is there a place where i can dl the file for the kernel? the source and the kernel are 2 different files?
 
Old 02-15-2004, 05:20 PM   #9
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
Yup. There are three types
kernel-*.rpm
kernel-source-*.rpm
kernel-*.src.rpm
where * is the version number. The first one installs the kernel. The second one installs the sources and other things in the appropriate place so that you can compile things on your own- not just the kernel ; a lot of programs need the kernel sources to compile. The last one just gives you the source code.

the kernel rpm is available from mandrakeclub (if you are a member). I'm sure you can get hold of it at other places as well. Maybe mandrakeusers.org.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 05:42 PM
MDK RPM update: risks upgrading kernel-source from 2.4.22-10mdk to 2.4.22-26mdk? Currux Mandriva 9 03-15-2004 07:45 AM
installing kernel-source-2.4.20-20.9 wraith106 Linux - Software 11 10-11-2003 09:35 AM
Installing Kernel Source GeoffC Mandriva 3 08-27-2003 07:01 PM
iptables & 2.4.8-26mdk Kernel rgedye Linux - Security 1 04-25-2002 03:00 AM


All times are GMT -5. The time now is 12:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration