LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-25-2000, 07:47 PM   #1
tony
LQ Newbie
 
Registered: Nov 2000
Posts: 9

Rep: Reputation: 0
Talking


How do I install the latest test10 kernel, I don't mind if it's the source code or the binary. I just want to update it. Any info will help.
 
Old 11-26-2000, 12:06 PM   #2
Larry James
Member
 
Registered: Jun 2000
Location: Buffalo, New York
Distribution: Fedora, Ubuntu
Posts: 361

Rep: Reputation: 39
From the root of the directory where you opened the source do the following:

First configure the options with either:

make menuconfig (for text base)
or
make xconfig (for work with X)

Then run, make dep (as the system will prompt you to do). Make your kernel by running either "make install) (the default), or make bzImage (wich will most likely have to be done to make the kernel small enough to load on the drive.

Run "make modules" to compile the modules you might have configured, and make "modules_install" to install the modules in the right place.

I'm going a little further than your question by telling you that you have to run /sbin/lilo to install the new compiled kernel. Lilo will look for the position of your preferences and the location of your kernel in the /etc/lilo.conf file.

Be sure to keep a copy of your old kernel. There are often things that might have to be fine tuned to get the new kernel up to par. For convenience of knowing where things are, I'd put the package in /usr/src/[version number] (ie. 2.4.0.test11). Then do a symbolic link to that
for /usr/src/linux. This way it's easy to resort back to a former version just change the link back to the other version and my libraries and includes for the operating version will always be in the same place. Hope I gave you enough without bombarding you with things you didn't need.

-- L. James
 
Old 12-13-2000, 02:08 PM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Heres what I would do:
extract the kernel source into /usr/src/linux-2.4.0test10
to a make menuconfig in that directory, once you have configure it do a make dep, make bzImage, make modules, make modules_install. Copy bzImage from /usr/src/linux-2.4.-test10/arch/i386/boot/ to /boot/ and rename it vmlinuz-2.4.0test10

Open lilo.conf in /etc and add:
image=vmlinuz-2.4.0test10
append=what ever paramters are appended on other kernels
root=same as other kernel
label=linuxTest
read-only

save the file and run lilo. reboot, type linuxTest at the prompt and it will load the new kernel. Beware..the lilo stuff shouldn't be done if you aren't using lilo as a boot loader.
 
  


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
Installing Kernel 2.6.8.1 - Kernel Panic error shaun85 Linux - Newbie 10 07-16-2007 05:20 PM
Ndiswrapper - Cant find kernel sources while installing (Kernel 2.6.11) krayhze Linux - Wireless Networking 6 05-23-2006 07:30 AM
Kernel panic problem with all of my kernels after installing new kernel nosebleed Linux - Software 2 04-14-2006 10:48 PM
Kernel panic when installing a new Kernel NeeD_ResT Debian 2 10-16-2004 09:10 PM
installing 2.2.10 kernel on Redhat 8.0 (kernel 2.4.18-20) sumit_nus Linux - Software 5 07-31-2003 04:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:38 AM.

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